Emil Fresk
3adda3c766
Updated schedule example with all combinations
2021-03-22 08:24:18 +01:00
Emil Fresk
53c407017f
Cancel and reschedule working
...
Support cfgs in the imports
Account for extern tasks
2021-03-20 08:19:56 +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
Emil Fresk
2e4a4ffd87
Preparing release 0.6.0-alpha.1
2021-03-04 20:00:03 +01:00
Emil Fresk
08a37d6d3d
Updated spawn_after
docs
2021-03-02 19:31:47 +01:00
Emil Fresk
d351f55e1c
Documentation generation fixes
...
Test fixes
2021-02-25 19:16:28 +01:00
Emil Fresk
767d46e05b
Review fixes
2021-02-25 17:32:12 +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
Emil Fresk
26870ae12e
Use zero time in init for spawn_after
to not cause panic
2021-02-22 21:47:59 +01:00
Emil Fresk
82d051e8e9
Added enable/disable timer calls
2021-02-22 20:59:03 +01:00
Emil Fresk
1345f30a69
Properly call on_interrupt
2021-02-21 21:57:18 +01:00
Emil Fresk
1a46345a2a
Fixed UB in generated Monotonic::now()
2021-02-21 16:15:34 +01:00
Emil Fresk
d02f9a0241
Fixing warnings
2021-02-20 18:32:05 +01:00
Emil Fresk
ebf2f058a4
Now with new monotonic trait and crate
2021-02-18 19:30:59 +01:00
Emil Fresk
6fb43fa97b
Minor fixes
2021-02-04 20:22:02 +01:00
Emil Fresk
aaa92ea2fa
Cleanup
2020-12-13 17:48:11 +01:00
Emil Fresk
6277183906
Now handling SysTick as well
2020-12-13 14:52:16 +01:00
Emil Fresk
35b4ec0d04
Reexport embedded-time as rtic::time
2020-12-13 00:06:50 +01:00
Emil Fresk
1c8de78f6f
Cleanup
2020-12-12 23:35:47 +01:00
Emil Fresk
8e8ec9b7b8
Monotonic codegen now passing compile stage
2020-12-12 23:24:54 +01:00
Emil Fresk
97a48983d2
More work
2020-12-10 20:33:13 +01:00
Emil Fresk
b23bb1192c
TQ handlers being generated
2020-12-08 20:49:13 +01:00
Emil Fresk
ef50aeb2e8
Save, init generation fixed
2020-12-03 21:04:06 +01:00
Henrik Tjäder
07afbe1ce7
Fix the link
2020-11-19 18:49:39 +00:00
Henrik Tjäder
a423ae1b25
Remove stale documentation, refer to the book
2020-11-19 18:11:43 +00:00
Henrik Tjäder
ad7b5a90c4
The module should not be pub
2020-11-15 17:40:14 +00:00
Henrik Tjäder
f957f05b66
Move entry-point main into a separate module
...
Prevents conflict with user provided tasks named main
2020-11-15 17:28:19 +00:00
Emil Fresk
243668df54
Multilock support
2020-11-14 16:02:36 +01:00
Henrik Tjäder
308f412f7f
Bump version numbers to v0.6.0-alpha.0
2020-11-14 12:39:17 +00:00
Per Lindgren
96cd625223
extern task
2020-10-29 19:29:46 +01:00
bors[bot]
4f4c95be40
Merge #400
...
400: codegen and examples r=AfoHT a=perlindgren
just a test
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2020-10-23 22:03:08 +00:00
Per Lindgren
1c244a995d
move dispatchers to app argument
2020-10-23 23:58:09 +02:00
Emil Fresk
e8eca4be37
Now all locks are symmetric
...
Test fixes
Fix test
Fix comment
2020-10-23 08:38:18 +02:00
Henrik Tjäder
86699039e9
Add the cfgs on a task to the module for that task
2020-10-22 17:04:34 +00:00
bors[bot]
9fb5a223cb
Merge #396
...
396: Fix namespaces r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-22 16:48:56 +00:00
Emil Fresk
d2ac641c3f
Hide lock type better to not collide with user types
2020-10-21 20:25:22 +02:00
Emil Fresk
f076b33bb9
Namespace cleanup
2020-10-21 20:25:13 +02:00
Emil Fresk
f96b25fdf2
Updated examples
...
More work
2020-10-21 20:25:05 +02:00
Henrik Tjäder
21253297e4
Implement all clippy suggestions
2020-10-15 17:09:27 +00:00
Emil Fresk
6808cc7cdf
Merge branch 'master' into spawn_experiment
2020-10-15 18:27:48 +02:00
Emil Fresk
c5b5ea60e8
Use master branch on syntax
2020-10-15 18:12:39 +02:00
bors[bot]
1cda9eaecc
Merge #371
...
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-15 16:01:07 +00:00
Emil Fresk
da76894d75
Updated syntax crate
2020-10-15 17:56:29 +02:00
Henrik Tjäder
37ee3a47af
Create Enum containing all tasks
2020-10-15 15:56:20 +00:00
Henrik Tjäder
6c1f4a7b5d
Changed branch for rtic-syntax
2020-10-15 15:56:20 +00:00
Henrik Tjäder
e2364aae3e
Updated examples and rtic-name
2020-10-15 15:56:20 +00:00
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
5ac16f6aae
Merge branch 'master' into spawn_experiment
2020-10-15 17:55:00 +02:00
Emil Fresk
48abc26e85
Detect if the rt flag is defined in the PAC/HAL
...
Better error message
Improved error string
Update UI tests
2020-10-15 16:06:30 +02:00