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
Jorge Aparicio
a238fd5dc7
switch to a compiletest version that works with the latest nightly
2017-12-23 11:35:56 +01:00
Jorge Aparicio
88f505369c
switch to master branches
2017-12-23 11:17:03 +01:00
Jorge Aparicio
b00f4fec14
add missing comma
2017-12-17 10:00:56 +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
homunkulus
0f5784c240
Auto merge of #57 - japaric:not-sync, r=japaric
...
make resource proxies not Sync
None
2017-12-09 15:13:42 +00:00
Jorge Aparicio
62c5c1ae43
make resource proxies not Sync
2017-12-09 16:13:22 +01:00
homunkulus
40ebb93cc6
Auto merge of #56 - japaric:not-send, r=japaric
...
make resource proxies !Send
None
2017-12-09 14:26:38 +00:00
Jorge Aparicio
d6c240f974
also cache the Xargo directory
2017-12-09 15:25:46 +01:00
Jorge Aparicio
8f23fdc934
deny warnings and unsafe code in tests and examples
2017-12-09 15:12:42 +01:00
Jorge Aparicio
9865a7246d
make resource proxies !Send
2017-12-09 15:10:29 +01:00
homunkulus
0a0e0e2b38
Auto merge of #55 - japaric:late-resources, r=japaric
...
[RFC] rename LateResourceValues to LateResources
After writing `LateResourceValues` several times I now think it's too long to type. I'd like that
struct to be renamed to `LateResources`. I don't think there would be a loss in readability with the
rename because you can think of "late resources" as resources that "don't exist" until `init` ends
instead of as resources that are not initialized after `init` ends -- the second meaning maps better
to `LateResourceValues`.
This would be a breaking-change but we are moving to v0.3.0 due to #50 in any case.
cc jonas-schievink
2017-12-09 13:47:10 +00: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