Commit graph

39 commits

Author SHA1 Message Date
Jorge Aparicio
dbb4ca6c33 make idle optional 2018-05-17 23:16:13 +02:00
Jorge Aparicio
b1abd52be2 WIP 2018-05-17 21:52:03 +02:00
Jorge Aparicio
d665ea95b3 WIP 2018-05-15 19:20:30 +02:00
Jorge Aparicio
71b68164fa update measurements 2018-05-07 18:34:20 +02:00
Jorge Aparicio
0c7a0116a7 more fixes 2018-05-07 17:46:26 +02:00
Jorge Aparicio
cfcf25ef53 simplify timer queue dispatch 2018-05-05 10:08:17 +02:00
Jorge Aparicio
0cc456ba80 reduce memory overhead
by storing indices (u8) in the queues instead of pointers (*mut u8)

in the binary heap we store the baseline inline along with the index and the task name. Before we
stored a pointer to the message and had to lookup the baseline when comparing two nodes in the heap.
2018-05-04 10:59:23 +02:00
Jorge Aparicio
6de27b9a64 unbreak the build 2018-05-04 05:44:04 +02:00
Jorge Aparicio
20c5e277f7 add example of using async from an interrupt triggered task 2018-05-01 15:55:11 +02:00
Jorge Aparicio
205aa44ed5 make compatible with #[deny(unsafe_code, warnings)] 2018-05-01 12:05:53 +02:00
Jorge Aparicio
8723c6d45b WIP 2018-04-29 08:45:31 +02:00
Jorge Aparicio
754f041ae0 add two more async calls 2018-04-20 16:30:42 +02:00
Jorge Aparicio
1f5f94bc31 take 3 2018-04-20 06:48:59 +02:00
Jorge Aparicio
cc4be26480 take 2 2018-04-20 03:49:32 +02:00
Jorge Aparicio
eb8282a571 timer queue 2018-04-19 18:38:12 +02:00
Jorge Aparicio
efca108103 cargo fmt 2018-04-16 21:32:52 +02:00
Jorge Aparicio
def4fc8079 v0.3.0 2018-01-15 23:33:09 +01:00
Jorge Aparicio
1be43fc489 adapt to changes in the cortex-m crate 2018-01-11 20:56:45 +01:00
Jorge Aparicio
d30bdcb096 safe &'static mut references via init.resources 2017-12-09 17:17:56 +01:00
Jorge Aparicio
a6dd004113 implement the Resource trait for owned resources
this unbreaks the "generics" example
2017-12-09 17:17:56 +01:00
Jorge Aparicio
219e172680 drop the Static wrapper 2017-12-09 17:15:15 +01:00
Jorge Aparicio
8f23fdc934 deny warnings and unsafe code in tests and examples 2017-12-09 15:12:42 +01:00
Jorge Aparicio
512091e8a3 fix the "generics" example 2017-12-09 14:45:59 +01:00
Jorge Aparicio
79e2b7dc2e rename LateResourceValues to LateResources 2017-12-09 13:20:41 +01:00
Jorge Aparicio
e97afa71ce peripherals as scoped singletons 2017-12-09 12:45:57 +01:00
Jorge Aparicio
948e1fd0fb v0.2.2 2017-11-22 09:29:01 +01:00
Jorge Aparicio
c184f91e3c fix the example 2017-10-02 15:11:37 +02:00
Jorge Aparicio
2415a640af fix idle::Resources::new
it assumed that all resources were "early" resources
2017-10-02 14:49:40 +02:00
Jonas Schievink
1556948458 Fix shared resource handling and extend example.
The extended example tests that this actually works this time.
2017-09-22 18:19:18 +02:00
Jonas Schievink
c8bdb7329f Add late resources example 2017-09-04 23:31:14 +02:00
Jorge Aparicio
2d80f3631b update examples 2017-07-29 00:46:38 -05:00
Jorge Aparicio
e85d6e53c8 update examples 2017-07-27 22:40:47 -05:00
Jorge Aparicio
d396da5950 make task.$T.enabled optional
and move the logic that differentiates interrupts from exceptions from the crate
to the procedural macro logic
2017-07-27 17:08:42 -05:00
Jorge Aparicio
aa22494549 update tests and examples
with task! gone 3 types of errors / gotchas have been eliminated 🎉
2017-07-27 11:40:15 -05:00
Jorge Aparicio
f5a4d8e904 don't wrap static references in a Static 2017-07-23 20:59:35 -05:00
Jorge Aparicio
05feb7b018 update examples 2017-07-23 20:51:52 -05:00
Jorge Aparicio
e56ab1334e add example about placing init, idle and tasks in modules 2017-07-23 12:29:33 -05:00
Jorge Aparicio
0788a15a39 update CI 2017-07-20 23:03:45 -05:00
Jorge Aparicio
c7b9507a57 Resource trait, docs, examples and rtfm-syntax related changes 2017-07-20 22:53:44 -05:00