aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-11-02Fixed aliasing issue due to RacyCell implementationGravatar Emil Fresk 8-42/+40
2021-09-28Fix export of SYSTGravatar Emil Fresk 3-4/+3
2021-09-27Updated codegen for the updated syntax (default monotonic priority)Gravatar Emil Fresk 1-1/+5
2021-09-23The great docs updateGravatar Emil Fresk 1-0/+7
2021-09-14Merge #525Gravatar bors[bot] 2-1/+2
525: Cleanup export and actually use rtic::export, made fn init inline r=perlindgren a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-14Cleanup export and actually use rtic::export, made fn init inlineGravatar Emil Fresk 2-1/+2
2021-08-31style fixGravatar Jorge Aparicio 1-1/+1
2021-08-31validate unused dispatchersGravatar Jorge Aparicio 1-4/+7
closes #521
2021-08-20Merge #516Gravatar bors[bot] 1-0/+2
516: More rustanalyzer lint fixes r=korken89 a=korken89 Found some more Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-08-20More rustanalyzer lint fixesGravatar Emil Fresk 1-0/+2
2021-08-20Use `mark_internal_name` by default for methods in `util` to make usage of ↵Gravatar datdenkikniet 11-88/+40
these functions more straightforward. fq_ident is always internal rq_ident is always internal monotonic_ident is always internal inputs_ident is always internal local_resources_ident is always internal shared_resources_ident is always internal monotonic_instants_ident is always internal tq_ident is always internal timer_queue_marker_ident is always internal static_shared_resource_ident is always internal static_local_resource_ident is always internal declared_static_local_resource_ident is always internal Only names, not idents, are now marked as internal Use same rtic internal everywhere
2021-08-19Silence rust-analyzer warnings on internal typesGravatar Henrik Tjäder 2-0/+2
2021-08-19Fixed some lints from Rust Analyzer with experimental proc-macrosGravatar Emil Fresk 6-0/+22
2021-08-16Remove linked list impl - use heapless, linked list init now const fnGravatar Emil Fresk 3-19/+10
2021-07-22Propogate the task attributes to the spawn handlesGravatar Alex Crawford 1-0/+2
This allows tasks to be gated by `cfg` attributes when also using monotonics. For example: ```rust #[cfg(feature = "logging")] #[task(shared = [logger])] fn logger_init(mut cx: logger_init::Context) { /* ... */ } ``` Without this change, the reschedule_at() implementation is unconditionally included even though it references the SpawnHandle from its task module, which is _conditionally_ included. This resulted in compiler errors like the following: ``` error[E0433]: failed to resolve: use of undeclared crate or module `logger_init` --> src/main.rs:243:8 | 243 | fn logger_init(mut cx: logger_init::Context) { | ^^^^^^^^^^^ use of undeclared crate or module `logger_init` ```
2021-07-09const genericsGravatar Andrey Zgarbul 4-26/+9
2021-07-08Cleanup from review (needs releases to compile)Gravatar Emil Fresk 5-13/+5
2021-07-07Fixing testsGravatar Emil Fresk 7-40/+41
2021-07-07Full local resource syntax workingGravatar Emil Fresk 8-69/+105
2021-07-06Minimal app now compilesGravatar Emil Fresk 13-345/+276
2021-07-05Started workGravatar Emil Fresk 8-142/+277
2021-05-27Prepare release alpha.4Gravatar Emil Fresk 2-6/+3
2021-05-06Flattened the _ out of itGravatar Emil Fresk 8-127/+142
2021-04-22Keep commentsGravatar Emil Fresk 6-1/+12
2021-04-08Goodbye static mutGravatar Emil Fresk 9-57/+115
2021-04-08Fixed UB in `spawn_at`Gravatar Emil Fresk 1-11/+5
2021-04-08Type aliases now work in the app moduleGravatar Emil Fresk 2-9/+16
2021-03-22Updated schedule example with all combinationsGravatar Emil Fresk 1-12/+0
2021-03-20Cancel and reschedule workingGravatar Emil Fresk 3-20/+70
Support cfgs in the imports Account for extern tasks
2021-03-13Added interface for cancel/rescheduleGravatar Emil Fresk 3-11/+79
Use wrapping add for marker No need to store handle to queue Remove unnecessary `SpawnHandle::new` Fix test Updated interface to follow proposal
2021-03-02Updated `spawn_after` docsGravatar Emil Fresk 1-0/+3
2021-02-25Documentation generation fixesGravatar Emil Fresk 10-54/+84
Test fixes
2021-02-25Review fixesGravatar Emil Fresk 1-6/+2
2021-02-23GHA updateGravatar Emil Fresk 1-2/+2
Fmt fixes Spawn_after did not work with parameters Examples working again Revert "GHA update" This reverts commit e0a71d4859966a6c5cf2629d3cb27e88acada9c0. Readd flags Only add DWT based dep with __v7 flag
2021-02-22Use zero time in init for `spawn_after` to not cause panicGravatar Emil Fresk 1-1/+6
2021-02-22Added enable/disable timer callsGravatar Emil Fresk 1-6/+15
2021-02-21Properly call `on_interrupt`Gravatar Emil Fresk 1-0/+4
2021-02-21Fixed UB in generated `Monotonic::now()`Gravatar Emil Fresk 2-7/+12
2021-02-18Now with new monotonic trait and crateGravatar Emil Fresk 7-23/+66
2021-02-04Minor fixesGravatar Emil Fresk 3-4/+12
2020-12-13CleanupGravatar Emil Fresk 2-11/+0
2020-12-13Now handling SysTick as wellGravatar Emil Fresk 4-15/+57
2020-12-13Reexport embedded-time as rtic::timeGravatar Emil Fresk 2-3/+3
2020-12-12CleanupGravatar Emil Fresk 2-14/+5
2020-12-12Monotonic codegen now passing compile stageGravatar Emil Fresk 5-60/+37
2020-12-10More workGravatar Emil Fresk 6-178/+138
2020-12-08TQ handlers being generatedGravatar Emil Fresk 7-150/+163
2020-12-03Save, init generation fixedGravatar Emil Fresk 4-2/+43
2020-11-14Multilock supportGravatar Emil Fresk 4-0/+5
2020-10-29extern taskGravatar Per Lindgren 2-28/+32