aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/module.rs
AgeCommit message (Collapse)Author
2021-08-19Fixed some lints from Rust Analyzer with experimental proc-macrosEmil Fresk
2021-08-16Remove linked list impl - use heapless, linked list init now const fnEmil Fresk
2021-07-22Propogate the task attributes to the spawn handlesAlex Crawford
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-08Cleanup from review (needs releases to compile)Emil Fresk
2021-07-07Full local resource syntax workingEmil Fresk
2021-07-06Minimal app now compilesEmil Fresk
2021-05-27Prepare release alpha.4Emil Fresk
2021-05-06Flattened the _ out of itEmil Fresk
2021-04-22Keep commentsEmil Fresk
2021-04-08Goodbye static mutEmil Fresk
2021-04-08Fixed UB in `spawn_at`Emil Fresk
2021-04-08Type aliases now work in the app moduleEmil Fresk
2021-03-22Updated schedule example with all combinationsEmil Fresk
2021-03-20Cancel and reschedule workingEmil Fresk
Support cfgs in the imports Account for extern tasks
2021-03-13Added interface for cancel/rescheduleEmil Fresk
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` docsEmil Fresk
2021-02-25Documentation generation fixesEmil Fresk
Test fixes
2021-02-25Review fixesEmil Fresk
2021-02-23GHA updateEmil Fresk
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 panicEmil Fresk
2021-02-22Added enable/disable timer callsEmil Fresk
2021-02-18Now with new monotonic trait and crateEmil Fresk
2021-02-04Minor fixesEmil Fresk
2020-12-13CleanupEmil Fresk
2020-12-13Now handling SysTick as wellEmil Fresk
2020-12-13Reexport embedded-time as rtic::timeEmil Fresk
2020-12-12Monotonic codegen now passing compile stageEmil Fresk
2020-12-10More workEmil Fresk
2020-12-08TQ handlers being generatedEmil Fresk
2020-12-03Save, init generation fixedEmil Fresk
2020-11-14Multilock supportEmil Fresk
2020-10-23move dispatchers to app argumentPer Lindgren
2020-10-22Add the cfgs on a task to the module for that taskHenrik Tjäder
2020-10-11Fixing examples and tests, modules now import user imports correctlyEmil Fresk
Fmt Correct syntax crate UI test fix Fix build script Cleanup More cleanup
2020-10-11Now with spawn/schedule from anywhereEmil Fresk
2020-10-08Merge branch 'master' into spawn_experimentEmil Fresk
2020-10-08Added critical sectionsEmil Fresk
2020-10-05spawn POC works, likely unsound, cleanupPer Lindgren
2020-10-05spawn POC works, likely unsoundPer Lindgren
2020-10-05Merge branch 'master' into always_late_resourcesEmil Fresk
2020-10-01Added `bare_metal::CriticalSection` to `init::Context`Emil Fresk
2020-10-01Now late resources are always usedEmil Fresk
2020-09-01Remove stale code, fix comment stylingHenrik Tjäder
2020-09-01Since there only will be one init/idle use .first().unwrap(), matching ↵Henrik Tjäder
rtic-syntax
2020-09-01Brutally yank out multicoreHenrik Tjäder
2020-06-11Rename RTFM to RTICHenrik Tjäder
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportJorge Aparicio