aboutsummaryrefslogtreecommitdiff
path: root/macros/src
AgeCommit message (Collapse)Author
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-01Cargo fmtHenrik Tjäder
2020-09-01Brutally yank out multicoreHenrik Tjäder
2020-08-27Reuse cortex-mHenrik Tjäder
2020-07-09rtic::export::Peripherals created by into instead of transmutePer Lindgren
2020-06-30Fixes an issue where one could double take the cortex_m PeripheralEmil Fresk
Added qemu test Added comment Typo Add cfg for homogeneous More cfg Now multicore working Add .run file
2020-06-11Rename RTFM to RTICHenrik Tjäder
2020-06-11FmtEmil Fresk
2020-06-11Merge #314bors[bot]
314: do not optimize build deps r=korken89 a=japaric this may make CI faster Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2020-06-11Merge #315bors[bot]
315: allow handlers to be named 'main' r=korken89 a=japaric `#[init]`, `#[idle]` and `#[task]` handlers can now be named `main` fixes #311 Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
2020-06-03Run cargo fmtHenrik Tjäder
2020-05-29allow handlers to be named 'main'Jorge Aparicio
`#[init]`, `#[idle]` and `#[task]` handlers can now be named `main` fixes #311
2020-05-26TODO(remove) codegen no-opJorge Aparicio
2020-04-22Retain cfg-attributes on resourcesHenrik Tjäder
2019-10-21do not zero late resource memory on bootJorge Aparicio
2019-09-15fix gh-pages buildJorge Aparicio
2019-09-15don't use deprecated APIJorge Aparicio
2019-08-21doc tweaksJorge Aparicio
2019-08-21document #[app]Jorge Aparicio
2019-08-20adapt to changes in rtfm-syntaxJorge Aparicio
2019-07-11implement the #[shared] attribute as specified in RFC #211Jorge Aparicio
2019-07-10implement RFC #212Jorge Aparicio
2019-07-03fix (cross-core) initialization barriersJorge Aparicio
2019-06-29WIPJorge Aparicio
2019-06-24check that the app is not compiled for more cores than were specifiedJorge Aparicio
2019-06-24Monotonic trait is safe; add MultiCore traitJorge Aparicio
2019-06-20RFC #207Jorge Aparicio
2019-06-18add homogeneous multi-core supportJorge Aparicio
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportJorge Aparicio
2019-05-21Merge #194bors[bot]
194: bump heapless dependency to v0.5.0; remove "nightly" feature r=japaric a=japaric with the upcoming version of heapless we are able to initialize all internal queues in const context removing the need for late initialization this commit also removes the "nightly" feature because all the optimization provided by it are now enabled by default Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-21bump heapless dependency to v0.5.0; remove "nightly" featureJorge Aparicio
with the upcoming version of heapless we are able to initialize all internal queues in const context removing the need for late initialization this commit also removes the "nightly" feature because all the optimization provided by it are now enabled by default
2019-05-21remove unused checkJorge Aparicio
that was added in #140 but it's no longer required
2019-05-21removes the maybe_uninit feature gateJorge Aparicio
and stop newtyping `core::mem::MaybeUninit`
2019-05-09Merge #189bors[bot]
189: write generated code to disk for easier inspection r=japaric a=japaric now that the generated code is actually readable let's make it easier to access this commit also documents how to inspect the generated code via `rtfm-expansion.rs` and `cargo-expand` Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-09generate resource proxies only when neededJorge Aparicio
only `static mut` resources need proxies
2019-05-08write generated code to disk for easier inspectionJorge Aparicio
now that the generated code is actually readable let's make it easier to access this commit also documents how to inspect the generated code via `rtfm-expansion.rs` and `cargo-expand`
2019-05-01rtfm::app: update error messageJorge Aparicio
2019-05-01implement RFCs 147 and 155, etc.Jorge Aparicio
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
2019-04-21v0.4.3Jorge Aparicio
2019-04-16Merge #170bors[bot]
170: check task priority at compile time r=TeXitoi a=japaric before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though. Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-04-17now fix the fixJorge Aparicio
2019-04-16more nightly fixesJorge Aparicio
2019-04-16[NFC] fix nightly ciJorge Aparicio
2019-04-16check task priority at compile timeJorge Aparicio
before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though.
2019-02-26refactor: make `binds` harder to misuseJorge Aparicio
2019-02-26`binds` can only appear once in the argument listJorge Aparicio
2019-02-26add `binds` example and make it workJorge Aparicio
2019-02-26make cfail test actually failJorge Aparicio
2019-02-26add `binds` argument to the `interrupt` and `exception` attributesJorge Aparicio