Commit graph

231 commits

Author SHA1 Message Date
Jorge Aparicio
7b598c0749 bump rtfm-syntax 2018-05-29 12:23:09 +02:00
Jorge Aparicio
8e49af1cc0 take Priority by shared reference in schedule_{after,now} 2018-05-29 11:29:02 +02:00
Jorge Aparicio
9f6247b438 fix git URL 2018-05-17 23:30:14 +02:00
Jorge Aparicio
e9b8cd2486 fix tests 2018-05-17 23:28:58 +02:00
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
14fedeb342 WIP 2018-05-16 01:15:44 +02:00
Jorge Aparicio
d665ea95b3 WIP 2018-05-15 19:20:30 +02:00
Jorge Aparicio
09c2e99989 split [Node] into [Payload] and [Baseline] 2018-05-07 22:05:19 +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
1b735d8fdd don't split the slot queue in 2018-05-03 05:47:32 +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
9058a655dc put async_after behind a Cargo feature 2018-05-01 15:29:13 +02:00
Jorge Aparicio
e34abea704 update the cfail tests 2018-05-01 14:46:17 +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
53dbbad891 v0.3.2 2018-04-16 23:33:55 +02:00
bors[bot]
cb2d286a66 Merge #72
72: switch to a crates.io release of rtfm-syntax r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-16 21:27:27 +00:00
Jorge Aparicio
ff089a4d89 drop the cargo cache 2018-04-16 23:26:55 +02:00
Jorge Aparicio
8767f625d8 switch to a crates.io release of rtfm-syntax 2018-04-16 23:22:01 +02:00
bors[bot]
5ff9076e9c Merge #71
71: update parser r=japaric a=japaric

closes #69

this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors
have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the
default `idle` path.

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-16 19:44:27 +00:00
Jorge Aparicio
bfa56e12f7 install rust-std component 2018-04-16 21:44:02 +02:00
Jorge Aparicio
bcce6b988b fix ci/install.sh 2018-04-16 21:39:16 +02:00
Jorge Aparicio
44122bfc3d don't cache the Xargo directory 2018-04-16 21:33:34 +02:00
Jorge Aparicio
efca108103 cargo fmt 2018-04-16 21:32:52 +02:00
Jorge Aparicio
7fdf16eab9 update parser
closes #69

this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors
have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the
default `idle` path.
2018-04-16 21:32:29 +02:00
Jorge Aparicio
b55581dfe3 bors-ng integration 2018-04-16 21:27:02 +02:00
Jorge Aparicio
f76bdc285d v0.3.1 2018-01-16 00:25:25 +01:00
homunkulus
d0970211f7 Auto merge of #66 - japaric:path-and-version, r=japaric
specify both the path and version of the cortex-m-rtfm-macros dependency

this seems to be required for cargo publish to Just Work

cc @jonas-schievink
2018-01-15 23:16:33 +00:00
Jorge Aparicio
bf94be9f7e specify both the path and version of the cortex-m-rtfm-macros dependency 2018-01-16 00:15:07 +01:00
homunkulus
716fb9ba14 Auto merge of #65 - japaric:fix-doc-link, r=japaric
fix documentation link

None
2018-01-15 22:58:31 +00:00
Jorge Aparicio
d8eb3eac75 fix documentation link 2018-01-15 23:58:04 +01:00
homunkulus
b73263e8fa Auto merge of #64 - japaric:v3, r=japaric
v0.3.0

None
2018-01-15 22:34:09 +00:00
Jorge Aparicio
def4fc8079 v0.3.0 2018-01-15 23:33:09 +01:00
homunkulus
34edc41e92 Auto merge of #63 - japaric:cortex-m-up, r=japaric
adapt to changes in the cortex-m crate

None
2018-01-11 19:57:17 +00:00
Jorge Aparicio
1be43fc489 adapt to changes in the cortex-m crate 2018-01-11 20:56:45 +01:00
homunkulus
dd12a6a14d Auto merge of #61 - japaric:cm7-r0p1, r=japaric
add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum

closes #53
alternative solution to #54
depends on japaric/cortex-m#72
2018-01-11 15:03:59 +00:00
Jorge Aparicio
f695bdb7e9 fix the compiletest_rs version 2018-01-11 16:03:41 +01:00
Jorge Aparicio
6e3b9a30fd switch to a stable release of compiletest_rs 2018-01-11 15:46:38 +01:00
Jorge Aparicio
2249985e81 use master branch of cortex-m 2018-01-11 15:46:27 +01:00
Jorge Aparicio
c94bd2d98d add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum 2017-12-23 21:49:15 +01:00
homunkulus
8a396c51f2 Auto merge of #58 - japaric:init-resources, r=japaric
safe `&'static mut` references via init.resources

see RFC #59 for details
2017-12-23 10:36:08 +00:00