aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen
AgeCommit message (Collapse)Author
2022-07-27Fix missing formattingGabriel Górski
2022-07-06Allow custom `link_section` attributes for late resourcesGabriel Górski
This commit makes RTIC aware of user-provided `link_section` attributes, letting user override default section mapping.
2022-05-24Fix clash with defmtEmil Fresk
2022-05-17More ergonomic error from static asserts messagesEmil Fresk
2022-05-10Fixed warning from Rust AnalyzerEmil Fresk
2022-04-20Added check for resource usage and to generate an compile error for thumbv6 ↵Emil Fresk
exceptions
2022-04-20Masks take 3Emil Fresk
2022-03-02Added support for SRP based scheduling for armv6mPer Lindgren
2022-02-22Clippy with pedantic suggestionsHenrik Tjäder
2022-02-18rtic::mutex::prelude::* fixes glob import lintHenrik Tjäder
rtic-core Mutex, Exclusive and multi-lock retained in old location to not be backwards breaking
2022-02-09Fix/mute clippy errorsHenrik Tjäder
2021-12-25Clippy lintsHenrik Tjäder
2021-12-14Idle: Switch to NOP instead of WFIHenrik Tjäder
Add example how to get old WFI behaviour
2021-11-11Better errors on when missing to lock shared resourcesEmil Fresk
2021-11-09Merge #547bors[bot]
547: New monotonic trait r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-09Merge #549bors[bot]
549: fix #543 r=korken89 a=andrewgazelka The remaining PR to fix #543 alongside https://github.com/rtic-rs/rtic-syntax/pull/58 Co-authored-by: Andrew Gazelka <andrew.gazelka@gmail.com>
2021-11-09New monotonic trait workingEmil Fresk
2021-11-07Match new rtic-syntax naming of shared and localHenrik Tjäder
2021-11-03fix #543Andrew Gazelka
2021-11-03Fixed aliasing in lock implEmil Fresk
2021-11-03Cleanup of resource initialization, no need to dereferenceEmil Fresk
2021-11-02Fixed aliasing issue due to RacyCell implementationEmil Fresk
2021-09-28Fix export of SYSTEmil Fresk
2021-09-27Updated codegen for the updated syntax (default monotonic priority)Emil Fresk
2021-09-23The great docs updateEmil Fresk
2021-09-14Merge #525bors[bot]
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 inlineEmil Fresk
2021-08-31style fixJorge Aparicio
2021-08-31validate unused dispatchersJorge Aparicio
closes #521
2021-08-20Merge #516bors[bot]
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 fixesEmil Fresk
2021-08-20Use `mark_internal_name` by default for methods in `util` to make usage of ↵datdenkikniet
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 typesHenrik Tjäder
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-09const genericsAndrey Zgarbul
2021-07-08Cleanup from review (needs releases to compile)Emil Fresk
2021-07-07Fixing testsEmil Fresk
2021-07-07Full local resource syntax workingEmil Fresk
2021-07-06Minimal app now compilesEmil Fresk
2021-07-05Started workEmil 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