Per Lindgren
569a761122
examples/multiloc fixed
2023-03-01 00:31:08 +01:00
Per Lindgren
b054e871d4
examples/lock fixed
2023-03-01 00:31:08 +01:00
Per Lindgren
bd20d0d89e
examples/locals fixed
2023-03-01 00:31:08 +01:00
Per Lindgren
4337e3980c
examples/idle-wfi fixed
2023-03-01 00:31:07 +01:00
Per Lindgren
6dc2d29cd9
export Cell removed, expmples updated
2023-03-01 00:31:07 +01:00
Per Lindgren
9247252cc7
examples/async-task fixup
2023-03-01 00:31:07 +01:00
Emil Fresk
2ad36a6efe
Lifetime cleanup
2023-03-01 00:31:06 +01:00
Emil Fresk
714020a624
Removed Priority, simplified lifetime handling
2023-03-01 00:31:06 +01:00
Emil Fresk
3b97531a5c
First example builds again
2023-03-01 00:31:05 +01:00
Emil Fresk
582c602912
Old xtask test pass
2023-03-01 00:31:01 +01:00
Henrik Tjäder
dbc6964f88
example: pool: Do not print the addr
...
Unstable and prone to fail CI
2023-02-26 17:30:09 +01:00
Henrik Tjäder
800904a105
Handle more cfgs, support cfg on HW/SW tasks
2023-01-22 13:38:43 +01:00
Henrik Tjäder
022330bfcb
Add example cfg-ing a Monotonic, showing limitations imposed by rtic-syntax
2023-01-22 12:00:12 +01:00
Henrik Tjäder
1237f5b33b
Heapless 0.7.16 pool!() generates undocumented struct
2023-01-22 00:22:46 +01:00
Henrik Tjäder
40d5ace111
Deny missing_docs for all examples
2023-01-21 23:10:43 +01:00
Henrik Tjäder
9764121cc1
Upgrade of semihosting changed timing
...
New semihosting 0.5 does not use error handling,
returns directly and as semihosting is generally slow
this led to missing print statements.
Workaround is to add NOP, which seems sufficient
to let it flush the buffers
2023-01-14 11:24:51 +01:00
Henrik Tjäder
050313d62d
Missed hprintln with multiline
2023-01-11 22:16:56 +01:00
Henrik Tjäder
c370c0b21f
Remove ok() from hprintln!()
...
sd 'hprintln(.*).ok\(\)' 'hprintln' (fd -e rs .)
2023-01-11 21:40:33 +01:00
Henrik Tjäder
1fe587c516
Remove unwrap() from hprintln!()
...
sd 'hprintln(.*).unwrap\(\)' 'hprintln' (fd -e rs .)
2023-01-11 21:33:44 +01:00
Emil Fresk
b711c036ab
Fix new lint in the compiler
2022-09-28 20:42:16 +02:00
Per Lindgren
f86dab5ff3
Added support for SRP based scheduling for armv6m
2022-03-02 13:23:47 +01:00
Jakub Młynarczyk
20f1c396d5
Fix the locals.rs comment
...
I believe that is a typo s/shared/local_to_bar
2022-01-08 16:36:59 +11:00
Per Lindgren
305e8295d5
Drift free timing examples
2022-01-04 22:21:57 +01:00
Emil Fresk
7bec234766
Improved docs on where the 12 MHz comes from in SysTick
2021-12-26 11:42:14 +01:00
Henrik Tjäder
8c8f7f12c3
Idle: Switch to NOP instead of WFI
...
Add example how to get old WFI behaviour
2021-12-14 22:18:17 +01:00
Emil Fresk
0dcb0c4e49
New monotonic trait working
2021-11-09 10:20:43 +01:00
Emil Fresk
9e24fcbbd9
Fix CI
2021-11-03 08:54:18 +01:00
Per Lindgren
56a423cdbe
remove outdated comment
2021-10-13 10:37:52 +02:00
Emil Fresk
b71df58f2f
The great docs update
2021-09-23 16:11:04 +02:00
Jorge Aparicio
5805a05fac
book/resources: rm #[task_local] mention; add #[lock_free] example
...
the #[task_local] attribute was removed
2021-07-22 09:17:39 +02:00
Jorge Aparicio
ae1f9008a4
comment out line that doesn't compile
2021-07-22 08:28:11 +02:00
Jorge Aparicio
cd4e8183f6
book/resources: remove mentions of the field attribute #[init(<expr>)]
...
it no longer exists. all resources are now late resources
2021-07-21 15:59:08 +02:00
Jorge Aparicio
6bf1c76d84
book/resources: do not use the lock API in the very first example
...
instead stick to `#[local]` resources
2021-07-21 15:55:14 +02:00
Jorge Aparicio
18880406cb
use tuple struct syntax for Monotonics everywhere
2021-07-21 10:14:00 +02:00
Andrey Zgarbul
bf80035aef
rustfmt
2021-07-20 11:44:03 +03:00
mriise
5e92715d8c
fix pool example
2021-07-20 01:17:11 -07:00
Andrey Zgarbul
e4319de3d5
const generics
2021-07-09 18:44:19 +03:00
Emil Fresk
8f37043782
Cleanup from review (needs releases to compile)
2021-07-08 23:18:44 +02:00
Emil Fresk
98d2af9d73
Fixing tests
2021-07-07 23:07:09 +02:00
Emil Fresk
6155f1366a
Minor cleanup
2021-05-23 14:11:51 +02:00
Emil Fresk
b4509bdbfe
Flattened the _ out of it
2021-05-06 19:40:37 +02:00
Emil Fresk
6fc7b96474
use super::xx now works with monotonics
2021-04-22 17:39:07 +02:00
Emil Fresk
fbcf2aabb0
Fix for default monotonic, monotonics::now()
now properly works
2021-04-20 10:34:26 +02:00
Emil Fresk
51500a1d70
Fixed UB in spawn_at
2021-04-08 10:14:14 +02:00
Emil Fresk
2068eae928
Type aliases now work in the app module
2021-04-08 09:15:38 +02:00
Emil Fresk
ae691952c3
Updated dwt-systick-monotonic
2021-04-07 11:09:21 +02:00
Emil Fresk
3adda3c766
Updated schedule example with all combinations
2021-03-22 08:24:18 +01:00
Emil Fresk
1087f2ee64
Added interface for cancel/reschedule
...
Use wrapping add for marker
No need to store handle to queue
Remove unnecessary `SpawnHandle::new`
Fix test
Updated interface to follow proposal
2021-03-13 10:50:56 +01:00
Henrik Tjäder
612efaf0c4
Use panic_semihosting for all examples
2021-03-03 08:53:03 +01:00
Emil Fresk
cd3484cbab
GHA update
...
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-23 21:03:51 +01:00