aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen.rs
AgeCommit message (Collapse)Author
2021-02-20Fixing warningsEmil Fresk
2021-02-18Now with new monotonic trait and crateEmil Fresk
2020-12-13Now handling SysTick as wellEmil Fresk
2020-12-12CleanupEmil Fresk
2020-12-10More workEmil Fresk
2020-12-03Save, init generation fixedEmil Fresk
2020-11-15The module should not be pubHenrik Tjäder
2020-11-15Move entry-point main into a separate moduleHenrik Tjäder
Prevents conflict with user provided tasks named main
2020-10-23move dispatchers to app argumentPer Lindgren
2020-10-21Namespace cleanupEmil Fresk
2020-10-21Updated examplesEmil Fresk
More work
2020-10-15Merge branch 'master' into spawn_experimentEmil Fresk
2020-10-15Merge #371bors[bot]
371: task_local and lock_free r=korken89 a=AfoHT Getting this going to test with GHA For further discussion see https://github.com/rtic-rs/rfcs/issues/30 Co-authored-by: Per <Per Lindgren> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-15Create Enum containing all tasksHenrik Tjäder
2020-10-15Merge branch 'master' into spawn_experimentEmil Fresk
2020-10-15Detect if the rt flag is defined in the PAC/HALEmil Fresk
Better error message Improved error string Update UI tests
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-05spawn POC works, likely unsound, cleanupPer Lindgren
2020-10-05spawn POC works, likely unsoundPer Lindgren
2020-10-01Rename const_app to mod_appHenrik Tjäder
2020-09-29Remove stale commentHenrik Tjäder
2020-09-29Keep user code as-is within the module, add exampleHenrik Tjäder
2020-09-25cfg_core is gone, cargo fmtHenrik Tjäder
2020-09-25Compose the use-statements, reduce debug-printoutsHenrik Tjäder
2020-09-25Handle user hardware and software tasks and some resourcesHenrik Tjäder
2020-09-25Generate mod instead of const, handle import of idle and initHenrik Tjäder
2020-09-01Remove stale code, fix comment stylingHenrik Tjäder
2020-09-01Cargo fmtHenrik Tjäder
2020-09-01Brutally yank out multicoreHenrik Tjäder
2020-06-11Rename RTFM to RTICHenrik Tjäder
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-03Run cargo fmtHenrik Tjäder
2020-05-26TODO(remove) codegen no-opJorge Aparicio
2020-04-22Retain cfg-attributes on resourcesHenrik Tjäder
2019-08-20adapt to changes in rtfm-syntaxJorge 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-18add homogeneous multi-core supportJorge Aparicio
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportJorge Aparicio
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-21removes the maybe_uninit feature gateJorge Aparicio
and stop newtyping `core::mem::MaybeUninit`
2019-05-09generate resource proxies only when neededJorge Aparicio
only `static mut` resources need proxies
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