Commit graph

10 commits

Author SHA1 Message Date
Albin Hedman
1e8c175c51 Move example and remove success test 2025-10-19 19:12:39 +02:00
Albin Hedman
518dfae01d Fix spawn-local-no-send-sync 2025-10-19 14:02:18 +02:00
Albin Hedman
355b478c43 Add passing test for local task with non Send/Sync arg
Ensure it is possible to pass a non send and non Sync
argument when spawning a local task. This is ok
since it will only be possible to spawn the task
on the same executor and priority level
2025-10-19 13:41:03 +02:00
Albin Hedman
8fbf8a9f0e Add test for spawning a local task from init
This ensures that there is no method in the globaly
available module with the same name as the local task.
2025-10-19 13:35:31 +02:00
Albin Hedman
f10d2b9efd Add test for spawning a local task from a different prio
This ensures that there is no method on the spawning
task's local spawner for spawning the local task
with the other priority.
2025-10-19 13:31:39 +02:00
Oleksandr Babak
0593a7290b chore: update tests 2025-03-27 14:47:11 +00:00
dependabot[bot]
f74f38a4f7
Update syn requirement from 1.0.107 to 2.0.48 (#881)
* Update syn requirement from 1.0.107 to 2.0.48

Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.107...2.0.48)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* rtic-macros: attr.path -> attr.path()

* rtic-macros: tokens -> parse_args()

Fix parsing of InitArgs, IdleArgs, *Args

Including HardwareTaskArgs, SoftwareTaskArgs

* rtic-macros: Rename content to input

As syn2 removes the surrounding parenthesis as
part of parse_args() the distinction between
input and content is redundant

* rtic-macros: Handle removal of Expr::Type

Manually parse local_resources

With type ascription de-RFCd syn2 dropped
Expr::Type

* rtic-macros: Syn upgrade CHANGELOG

* rtic-macro: Retain most old errors as they were

Spans are not equal, but good enough

* rtic-macros: syn2 changed some error messages

Additionally some spans were not retained
with the manual parsing workaround

* rtic-macros: clippy fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-01-16 07:03:49 +00:00
Emil Fresk
67d5ade4fd Fix zero prio tasks when all async tasks have default (no) arguments 2023-05-10 16:26:52 +02:00
Andrew Gazelka
e47914ee50
remove vis restriction for local and shared resources 2023-04-12 15:26:06 -07:00
Henrik Tjäder
9e445b3583 Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00