Commit graph

1058 commits

Author SHA1 Message Date
Jorge Aparicio
7de9687dfa note that entering / leaving a critical section is always constant time 2018-12-17 01:43:12 +01:00
Jorge Aparicio
313a2074d7 make docs.rs build docs with +timer-queue 2018-12-17 01:42:53 +01:00
bors[bot]
3511e915b5 Merge #116
116: v0.4.0 r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-16 21:05:56 +00:00
Jorge Aparicio
22140fbc49 don't pin to an older nightly 2018-12-16 22:05:32 +01:00
Jorge Aparicio
1643dd0a57 actually, don't check the output of the cfg example 2018-12-16 22:02:06 +01:00
Jorge Aparicio
5b032243e6 book: add some notes about the timer queue 2018-12-16 21:24:10 +01:00
Jorge Aparicio
d98f6c9a61 v0.4.0 2018-12-16 21:19:19 +01:00
Jorge Aparicio
34e74f4bb3 book: add an example of conditional compilation of resources and tasks 2018-12-16 20:57:04 +01:00
Jorge Aparicio
06c1e2f9b4 note that the timer queue is not supported on ARMv6-M 2018-12-16 19:38:22 +01:00
bors[bot]
c2fbb28488 Merge #114
114: properly handle conditional compilation r=japaric a=japaric

of resources and tasks

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-16 18:18:17 +00:00
Jorge Aparicio
d35f5bc0b0 use edition idioms in the top crate 2018-12-16 19:16:19 +01:00
Jorge Aparicio
56d09a12dd move macros crate to the 2018 edition 2018-12-16 19:14:58 +01:00
Jorge Aparicio
8e9a91d0b0 properly handle #[cfg] (conditional compilation) on tasks 2018-12-16 19:10:36 +01:00
Jorge Aparicio
4345c10596 properly handle #[cfg] (conditional compilation) on resources 2018-12-16 18:37:36 +01:00
bors[bot]
5c458fc115 Merge #113
113: use the single core variant of spsc::Queue r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-16 00:12:43 +00:00
Jorge Aparicio
9757c33b00 use the single core variant of spsc::Queue 2018-12-16 01:11:54 +01:00
Jorge Aparicio
8ac60ce369 bump cortex-m-rt dep 2018-12-15 22:40:45 +01:00
bors[bot]
c4b7fbeb02 Merge #112
112: codegen/statics: forward #[cfg] attributes r=japaric a=japaric

fixes #110

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-15 21:05:34 +00:00
Jorge Aparicio
4f00d8bd78 codegen/statics: forward #[cfg] attributes
fixes #110
2018-12-15 22:04:30 +01:00
bors[bot]
eba691a5f2 Merge #111
111: some refactors r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-15 20:18:11 +00:00
Jorge Aparicio
e03c09874f ci: switch to an older nightly
to work around rust-lang/rust#56814
2018-12-15 21:17:14 +01:00
Jorge Aparicio
d14e25d72d move some interrupt configuration to pre_init 2018-12-15 20:35:00 +01:00
Jorge Aparicio
f7ac71ab22 codegen: merge dictionaries related to task dispatchers 2018-12-15 19:17:08 +01:00
Jorge Aparicio
77de15f468 run ci on stable 2018-12-15 19:08:51 +01:00
Jorge Aparicio
3413d8d7e8 remove no longer necessary feature gates 2018-12-15 19:08:32 +01:00
Jorge Aparicio
0b3f0b2eb5 codegen: merge dictionaries related to tasks 2018-12-15 19:07:09 +01:00
bors[bot]
31df3e2ca9 Merge #107
107: codegen: stop using `export_name` r=japaric a=japaric

`export_name` creates external symbols that won't be removed when using `-Z
emit-stack-sizes`

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-02 16:44:49 +00:00
Jorge Aparicio
35bb76ef5f codegen: stop using export_name
`export_name` creates external symbols that won't be removed when using `-Z
emit-stack-sizes`
2018-12-02 17:43:36 +01:00
Jorge Aparicio
9d0227bfeb 0.4.0-beta.2 2018-11-04 20:12:31 +01:00
bors[bot]
8a27efeaeb Merge #99
99: impl Mutex on all shared resources r=japaric a=japaric

document how to write generic code that operates on resources

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-11-04 18:58:45 +00:00
Jorge Aparicio
a279218295 use new cortex_m_semihosting::hprintln macro 2018-11-04 19:57:39 +01:00
Jorge Aparicio
22d758ddac fix codegen 2018-11-04 19:46:49 +01:00
Jorge Aparicio
37a0692a0f impl Mutex on all shared resources
document how to write generic code that operates on resources
2018-11-04 18:50:42 +01:00
Jorge Aparicio
16d473a9b6 update CHANGELOG 2018-11-03 20:14:01 +01:00
bors[bot]
fc2c5e77cc Merge #98
98: ci: run linkchecker r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-11-03 18:48:16 +00:00
Jorge Aparicio
9ddf3bf8e7 run linkchecker 2018-11-03 19:47:28 +01:00
Jorge Aparicio
c27efea6b7 fix some links 2018-11-03 19:29:44 +01:00
Jorge Aparicio
a7d8084aee ci: install mdbook 2018-11-03 18:58:25 +01:00
bors[bot]
777765e522 Merge #97
97: v0.4.0 r=japaric a=japaric

closes #32
closes #33

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-11-03 16:31:11 +00:00
Jorge Aparicio
3a867e70c3 update macros/Cargo.toml 2018-11-03 17:24:45 +01:00
Jorge Aparicio
d6c26fd21f fix TRAVIS_PULL_REQUEST logic 2018-11-03 17:23:04 +01:00
Jorge Aparicio
c631049efc v0.4.0
closes #32
closes #33
2018-11-03 17:16:55 +01:00
Jorge Aparicio
653338e799 v0.3.4 2018-08-27 14:55:09 +02:00
Jorge Aparicio
c9c5ade132 enable builds on master 2018-08-27 14:45:43 +02:00
Jorge Aparicio
2b6b513b89 publish docs on gh pages 2018-08-27 14:44:47 +02:00
Jorge Aparicio
2ec5d59ee9 v0.3.3 2018-08-24 16:49:03 +02:00
bors[bot]
62a232f5c6 Merge #85
85: fix master r=japaric a=japaric

closes #80

Co-authored-by: Ferdia McKeogh <chocol4te@users.noreply.github.com>
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-24 14:36:59 +00:00
Jorge Aparicio
90c9f64c5a install newer gcc 2018-08-24 16:36:33 +02:00
Jorge Aparicio
abca829926 more fixes 2018-08-24 16:31:04 +02:00
Ferdia McKeogh
5a3605050e Fix mistakes in dependencies 2018-06-07 11:50:14 +01:00