Henrik Tjäder
d4439fe73b
Print module name and priority
2020-10-15 15:56:20 +00:00
Per
6eafcf10e9
task_local and lock_free analysis (take 1)
2020-10-15 15:56:20 +00:00
Emil Fresk
8ab7be9871
Added back accidentally removed block
2020-10-05 20:19:52 +02:00
Emil Fresk
eec0908024
Merge branch 'master' into always_late_resources
2020-10-05 18:25:15 +02:00
Henrik Tjäder
1e46ffdfbc
Merge branch 'master' into mod_const
2020-10-02 11:36:28 +02:00
Emil Fresk
fb61a78cdd
Added bare_metal::CriticalSection
to init::Context
2020-10-01 20:01:25 +02:00
Emil Fresk
e7f0d9c3e3
Now late resources are always used
2020-10-01 19:38:49 +02:00
Henrik Tjäder
96e6350c0d
Rename const_app to mod_app
2020-10-01 16:22:37 +00:00
Henrik Tjäder
3ab2c049c5
Remove stale comment
2020-09-29 11:56:56 +00:00
Henrik Tjäder
487fea45ce
Keep user code as-is within the module, add example
2020-09-29 11:56:56 +00:00
Henrik Tjäder
5b17f8b599
Due to new module boundaries the schedule fn needs to be pub
2020-09-25 14:33:08 +00:00
Henrik Tjäder
a151974245
cfg_core is gone, cargo fmt
2020-09-25 14:33:02 +00:00
Henrik Tjäder
86578b76fb
Add format_ident imports
2020-09-25 14:29:34 +00:00
Henrik Tjäder
2881cc8f43
Modify macro tests, use mod instead of const
2020-09-25 14:29:34 +00:00
Henrik Tjäder
0c7a619432
Compose the use-statements, reduce debug-printouts
2020-09-25 14:29:34 +00:00
Henrik Tjäder
9fd052b876
Collect and generate required use-statements
2020-09-25 14:29:34 +00:00
Henrik Tjäder
46bf583cc2
Handle user hardware and software tasks and some resources
2020-09-25 14:29:34 +00:00
Henrik Tjäder
c718413cb5
Generate mod instead of const, handle import of idle and init
2020-09-25 14:29:34 +00:00
Henrik Tjäder
148ad4045e
Update documentation where const is replaced by mod
2020-09-25 14:29:34 +00:00
Henrik Tjäder
d06cf91acc
Remove stale code, fix comment styling
2020-09-01 17:48:53 +00:00
Henrik Tjäder
d8c9476372
Since there only will be one init/idle use .first().unwrap(), matching rtic-syntax
2020-09-01 17:48:53 +00:00
Henrik Tjäder
f151d5871c
Cargo fmt
2020-09-01 14:50:06 +00:00
Henrik Tjäder
76cf14c520
Brutally yank out multicore
2020-09-01 14:50:06 +00:00
Henrik Tjäder
a4eb8c576c
Reuse cortex-m
2020-08-27 12:33:51 +00:00
Per Lindgren
e297ceb1ad
rtic::export::Peripherals created by into instead of transmute
2020-07-09 19:37:04 +02:00
Emil Fresk
d9e8b68662
Fixes an issue where one could double take the cortex_m Peripheral
...
Added qemu test
Added comment
Typo
Add cfg for homogeneous
More cfg
Now multicore working
Add .run file
2020-06-30 22:06:57 +02:00
Henrik Tjäder
602a5b4374
Rename RTFM to RTIC
2020-06-11 17:18:29 +00:00
Emil Fresk
eb6406da7e
Fmt
2020-06-11 19:00:52 +02:00
bors[bot]
8898224950
Merge #314
...
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-11 16:33:39 +00:00
bors[bot]
4795c1dba3
Merge #315
...
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-11 16:22:33 +00:00
Henrik Tjäder
137283959c
Run cargo fmt
2020-06-03 10:34:01 +00:00
Jorge Aparicio
0ad311074e
allow handlers to be named 'main'
...
`#[init]`, `#[idle]` and `#[task]` handlers can now be named `main`
fixes #311
2020-05-29 14:50:28 +02:00
Jorge Aparicio
3ed4fe3771
TODO(remove) codegen no-op
2020-05-26 22:21:32 +02:00
Henrik Tjäder
f58f37b2b9
Retain cfg-attributes on resources
2020-04-22 09:26:13 +00:00
Jorge Aparicio
9f092efe24
do not zero late resource memory on boot
2019-10-21 16:38:04 -05:00
Jorge Aparicio
c8197f524e
fix gh-pages build
2019-09-15 20:19:48 +02:00
Jorge Aparicio
7aa270cb92
don't use deprecated API
2019-09-15 18:36:00 +02:00
Jorge Aparicio
996bdf8f0c
doc tweaks
2019-08-21 12:33:04 +02:00
Jorge Aparicio
45f9faae9c
document #[app]
2019-08-21 12:19:38 +02:00
Jorge Aparicio
0e146f8d11
adapt to changes in rtfm-syntax
2019-08-20 15:17:37 +02:00
Jorge Aparicio
fb84029bee
implement the #[shared] attribute as specified in RFC #211
2019-07-11 12:53:58 +02:00
Jorge Aparicio
9195038c87
implement RFC #212
2019-07-10 22:42:44 +02:00
Jorge Aparicio
14d63f4961
fix (cross-core) initialization barriers
2019-07-03 20:36:52 +02:00
Jorge Aparicio
be92041a59
WIP
2019-06-29 09:11:57 +02:00
Jorge Aparicio
df4a7fd3e5
check that the app is not compiled for more cores than were specified
2019-06-24 14:15:00 +02:00
Jorge Aparicio
596cf585ea
Monotonic trait is safe; add MultiCore trait
2019-06-24 14:09:12 +02:00
Jorge Aparicio
4e51bb68b9
RFC #207
2019-06-20 06:19:59 +02:00
Jorge Aparicio
9897728709
add homogeneous multi-core support
2019-06-18 10:31:31 +02:00
Jorge Aparicio
81275bfa4f
rtfm-syntax refactor + heterogeneous multi-core support
2019-06-13 23:56:59 +02:00
bors[bot]
fafeeb2727
Merge #194
...
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-21 19:15:18 +00:00