aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-01Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic)Gravatar Emil Fresk 1-75/+0
2023-03-01All codegen is now explicitGravatar Emil Fresk 1-42/+14
2023-03-01Cleanup weird locals in codegenGravatar Emil Fresk 1-28/+11
2023-03-01Main in main codegenGravatar Emil Fresk 1-37/+6
2023-03-01Removed Priority, simplified lifetime handlingGravatar Emil Fresk 1-0/+4
2023-03-01Even more cleanupGravatar Emil Fresk 1-3/+0
2023-03-01Added software task codegen backGravatar Emil Fresk 1-1/+10
2023-03-01Min codegenGravatar Emil Fresk 1-24/+5
2023-03-01RTIC v2: Initial commitGravatar Emil Fresk 1-75/+22
rtic-syntax is now part of RTIC repository
2023-01-22Enable at least masking out a MonotonicGravatar Henrik Tjäder 1-1/+6
Simplest case working, but leaves a lot to ask as shown by examples/cfg-monotonic.rs Current `rtic-syntax` is unable to validate and handle the `cfgs[]` which limits the usefulness of this.
2023-01-22Improve RTIC doc handlingGravatar Henrik Tjäder 1-1/+1
Enable use of ``` #![deny(missing_docs)] ```
2022-03-02Added support for SRP based scheduling for armv6mGravatar Per Lindgren 1-1/+1
2022-02-22Clippy with pedantic suggestionsGravatar Henrik Tjäder 1-3/+4
2021-12-25Clippy lintsGravatar Henrik Tjäder 1-1/+1
2021-11-09New monotonic trait workingGravatar Emil Fresk 1-12/+3
2021-11-02Fixed aliasing issue due to RacyCell implementationGravatar Emil Fresk 1-1/+1
2021-08-20Use `mark_internal_name` by default for methods in `util` to make usage of ↵Gravatar datdenkikniet 1-1/+0
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-07-07Fixing testsGravatar Emil Fresk 1-1/+0
2021-07-07Full local resource syntax workingGravatar Emil Fresk 1-5/+7
2021-07-06Minimal app now compilesGravatar Emil Fresk 1-3/+8
2021-07-05Started workGravatar Emil Fresk 1-3/+4
2021-05-06Flattened the _ out of itGravatar Emil Fresk 1-15/+2
2021-04-22Merge #469Gravatar bors[bot] 1-1/+1
469: Goodbye static mut r=AfoHT a=korken89 Squashed and updated version of @perlindgren branch. In release there are 0 bytes difference for all examples :tada: For debug we see a bloat of ~1-2% worst case, commonly less. Complete diff of sizes for all examples (first is goodbye static mut, second is master): ``` < 27220 0 28 27248 6a70 spawn --- > 27092 0 28 27120 69f0 spawn < 16916 0 44 16960 4240 late --- > 16836 0 44 16880 41f0 late < 15952 0 12 15964 3e5c type-usage --- > 15872 0 12 15884 3e0c type-usage < 22068 0 44 22112 5660 cfg --- > 21812 0 44 21856 5560 cfg < 34784 0 40 34824 8808 periodic --- > 34496 0 40 34536 86e8 periodic < 22308 0 32 22340 5744 task --- > 21972 0 32 22004 55f4 task < 15076 8 24 15108 3b04 task-local --- > 14980 8 24 15012 3aa4 task-local < 12884 0 24 12908 326c destructure --- > 12820 0 24 12844 322c destructure < 10128 0 16 10144 27a0 init --- > 10112 0 16 10128 2790 init < 19044 0 20 19064 4a78 task_named_main --- > 18916 0 20 18936 49f8 task_named_main < 27252 0 28 27280 6a90 extern_spawn --- > 27124 0 28 27152 6a10 extern_spawn < 10176 0 16 10192 27d0 idle --- > 10160 0 16 10176 27c0 idle < 13972 0 16 13988 36a4 resource --- > 13940 0 16 13956 3684 resource < 16228 0 24 16252 3f7c multilock --- > 16116 0 24 16140 3f0c multilock < 14660 0 16 14676 3954 lock --- > 14628 0 16 14644 3934 lock < 10416 0 16 10432 28c0 task-local-minimal --- > 10400 0 16 10416 28b0 task-local-minimal < 14164 0 24 14188 376c generics --- > 14148 0 24 14172 375c generics < 30644 0 48 30692 77e4 message --- > 30308 0 48 30356 7694 message < 28964 0 36 29000 7148 spawn2 --- > 28724 0 36 28760 7058 spawn2 < 15952 0 8 15960 3e58 t-schedule-core-stable --- > 15872 0 8 15880 3e08 t-schedule-core-stable < 17408 0 20 17428 4414 t-cfg --- > 17248 0 20 17268 4374 t-cfg < 12948 0 16 12964 32a4 hardware --- > 12932 0 16 12948 3294 hardware < 54640 0 104 54744 d5d8 t-schedule --- > 53696 0 104 53800 d228 t-schedule < 26132 0 548 26680 6838 pool --- > 25876 0 548 26424 6738 pool < 22372 0 56 22428 579c cfg-whole-task --- > 22100 0 56 22156 568c cfg-whole-task < 38292 0 76 38368 95e0 schedule --- > 37828 0 76 37904 9410 schedule < 21216 0 32 21248 5300 t-spawn --- > 20880 0 32 20912 51b0 t-spawn < 22820 0 56 22876 595c capacity --- > 22580 0 56 22636 586c capacity < 17060 0 48 17108 42d4 static --- > 16980 0 48 17028 4284 static < 20288 0 24 20312 4f58 ramfunc --- > 20096 0 24 20120 4e98 ramfunc < 11760 0 20 11780 2e04 t-resource --- > 11664 0 20 11684 2da4 t-resource < 13028 0 16 13044 32f4 only-shared-access --- > 13012 0 16 13028 32e4 only-shared-access < 16576 0 16 16592 40d0 not-sync --- > 16432 0 16 16448 4040 not-sync < 13892 0 16 13908 3654 resource-user-struct --- > 13860 0 16 13876 3634 resource-user-struct < 37472 0 64 37536 92a0 double_schedule --- > 36960 0 64 37024 90a0 double_schedule < 17648 0 8 17656 44f8 t-stask-main --- > 17520 0 8 17528 4478 t-stask-main < 8816 0 4 8820 2274 t-late-not-send --- > 8800 0 4 8804 2264 t-late-not-send < 23280 0 32 23312 5b10 types --- > 23120 0 32 23152 5a70 types ``` Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-04-22use super::xx now works with monotonicsGravatar Emil Fresk 1-0/+5
2021-04-20Merge #477Gravatar bors[bot] 1-0/+8
477: Fix for default monotonic, `monotonics::now()` now properly works r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-04-20Fix for default monotonic, `monotonics::now()` now properly worksGravatar Emil Fresk 1-0/+8
2021-04-18reclaim stack space used in initGravatar Conor Patrick 1-2/+10
2021-04-08Goodbye static mutGravatar Emil Fresk 1-1/+1
2021-04-08Type aliases now work in the app moduleGravatar Emil Fresk 1-3/+13
2021-02-25Documentation generation fixesGravatar Emil Fresk 1-27/+15
Test fixes
2021-02-25Review fixesGravatar Emil Fresk 1-1/+2
2021-02-23GHA updateGravatar Emil Fresk 1-1/+4
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-21Fixed UB in generated `Monotonic::now()`Gravatar Emil Fresk 1-5/+14
2021-02-20Fixing warningsGravatar Emil Fresk 1-2/+5
2021-02-18Now with new monotonic trait and crateGravatar Emil Fresk 1-1/+23
2020-12-13Now handling SysTick as wellGravatar Emil Fresk 1-1/+3
2020-12-12CleanupGravatar Emil Fresk 1-5/+9
2020-12-10More workGravatar Emil Fresk 1-3/+11
2020-12-03Save, init generation fixedGravatar Emil Fresk 1-2/+0
2020-11-15The module should not be pubGravatar Henrik Tjäder 1-1/+1
2020-11-15Move entry-point main into a separate moduleGravatar Henrik Tjäder 1-8/+11
Prevents conflict with user provided tasks named main
2020-10-23move dispatchers to app argumentGravatar Per Lindgren 1-1/+1
2020-10-21Namespace cleanupGravatar Emil Fresk 1-28/+7
2020-10-21Updated examplesGravatar Emil Fresk 1-49/+36
More work
2020-10-15Merge branch 'master' into spawn_experimentGravatar Emil Fresk 1-0/+16
2020-10-15Merge #371Gravatar bors[bot] 1-0/+17
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 tasksGravatar Henrik Tjäder 1-0/+17
2020-10-15Merge branch 'master' into spawn_experimentGravatar Emil Fresk 1-1/+1
2020-10-15Detect if the rt flag is defined in the PAC/HALGravatar Emil Fresk 1-1/+1
Better error message Improved error string Update UI tests
2020-10-11Fixing examples and tests, modules now import user imports correctlyGravatar Emil Fresk 1-16/+3
Fmt Correct syntax crate UI test fix Fix build script Cleanup More cleanup