Emil Fresk
524273c96a
Now with spawn/schedule from anywhere
2020-10-11 18:38:38 +02:00
Emil Fresk
c83b15b643
Merge branch 'master' into spawn_experiment
2020-10-08 17:33:42 +02:00
Emil Fresk
e8b4fa7b32
Added critical sections
2020-10-08 17:33:16 +02:00
Per Lindgren
aac97a2109
spawn POC works, likely unsound, cleanup
2020-10-05 22:02:04 +02:00
Per Lindgren
6bd168d711
spawn POC works, likely unsound
2020-10-05 21:57:44 +02: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
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
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
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]
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
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
7aa270cb92
don't use deprecated API
2019-09-15 18:36:00 +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
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