aboutsummaryrefslogtreecommitdiff
path: root/macros (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-09-25Generate mod instead of const, handle import of idle and initGravatar Henrik Tjäder 1-3/+16
2020-09-25Update documentation where const is replaced by modGravatar Henrik Tjäder 1-3/+2
2020-09-04Use rtic-rs masterGravatar Henrik Tjäder 1-1/+1
2020-09-01Remove stale code, fix comment stylingGravatar Henrik Tjäder 20-600/+40
2020-09-01Since there only will be one init/idle use .first().unwrap(), matching ↵Gravatar Henrik Tjäder 5-18/+9
rtic-syntax
2020-09-01Cargo fmtGravatar Henrik Tjäder 11-100/+54
2020-09-01Brutally yank out multicoreGravatar Henrik Tjäder 27-725/+706
2020-08-27Preparing v0.5.5 releaseGravatar Emil Fresk 1-1/+1
2020-08-27Reuse cortex-mGravatar Henrik Tjäder 1-2/+1
2020-08-26Preparing for 0.5.4 releaseGravatar Emil Fresk 1-1/+1
2020-07-09rtic::export::Peripherals created by into instead of transmuteGravatar Per Lindgren 1-6/+8
2020-06-30Fixes an issue where one could double take the cortex_m PeripheralGravatar Emil Fresk 1-0/+7
Added qemu test Added comment Typo Add cfg for homogeneous More cfg Now multicore working Add .run file
2020-06-11Rename RTFM to RTICGravatar Henrik Tjäder 26-137/+137
2020-06-11FmtGravatar Emil Fresk 1-2/+3
2020-06-11Merge #314Gravatar bors[bot] 1-0/+2
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 #315Gravatar bors[bot] 3-3/+3
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 fmtGravatar Henrik Tjäder 3-8/+8
2020-05-29allow handlers to be named 'main'Gravatar Jorge Aparicio 3-3/+3
`#[init]`, `#[idle]` and `#[task]` handlers can now be named `main` fixes #311
2020-05-26TODO(remove) codegen no-opGravatar Jorge Aparicio 1-0/+2
2020-04-22Retain cfg-attributes on resourcesGravatar Henrik Tjäder 4-5/+23
2019-11-14v0.5.0 final releaseGravatar Jorge Aparicio 1-2/+2
2019-10-21do not zero late resource memory on bootGravatar Jorge Aparicio 1-2/+10
2019-10-15v0.5.0 beta releaseGravatar Jorge Aparicio 1-3/+6
2019-09-15turn git deps into crates.io depsGravatar Jorge Aparicio 1-3/+1
2019-09-15fix gh-pages buildGravatar Jorge Aparicio 2-5/+5
2019-09-15don't use deprecated APIGravatar Jorge Aparicio 1-1/+1
2019-08-21doc tweaksGravatar Jorge Aparicio 1-2/+2
2019-08-21document #[app]Gravatar Jorge Aparicio 1-0/+188
2019-08-20adapt to changes in rtfm-syntaxGravatar Jorge Aparicio 9-11/+17
2019-07-11implement the #[shared] attribute as specified in RFC #211Gravatar Jorge Aparicio 1-1/+5
2019-07-10implement RFC #212Gravatar Jorge Aparicio 2-42/+45
2019-07-03fix (cross-core) initialization barriersGravatar Jorge Aparicio 1-9/+11
2019-06-29WIPGravatar Jorge Aparicio 12-22/+111
2019-06-24check that the app is not compiled for more cores than were specifiedGravatar Jorge Aparicio 1-0/+14
2019-06-24Monotonic trait is safe; add MultiCore traitGravatar Jorge Aparicio 2-3/+10
2019-06-20RFC #207Gravatar Jorge Aparicio 7-45/+44
2019-06-18add homogeneous multi-core supportGravatar Jorge Aparicio 13-19/+112
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportGravatar Jorge Aparicio 27-4411/+2916
2019-05-21Merge #194Gravatar bors[bot] 2-99/+31
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" featureGravatar Jorge Aparicio 2-99/+31
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 checkGravatar Jorge Aparicio 1-260/+17
that was added in #140 but it's no longer required
2019-05-21removes the maybe_uninit feature gateGravatar Jorge Aparicio 1-20/+21
and stop newtyping `core::mem::MaybeUninit`
2019-05-09Merge #189Gravatar bors[bot] 1-1/+10
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 neededGravatar Jorge Aparicio 1-29/+32
only `static mut` resources need proxies
2019-05-08write generated code to disk for easier inspectionGravatar Jorge Aparicio 1-1/+10
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 messageGravatar Jorge Aparicio 1-1/+1
2019-05-01implement RFCs 147 and 155, etc.Gravatar Jorge Aparicio 6-2097/+2304
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.3Gravatar Jorge Aparicio 2-5/+15
2019-04-16Merge #170Gravatar bors[bot] 2-6/+4
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 fixGravatar Jorge Aparicio 1-2/+2