Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
Find a file
homunkulus e78ca98c42 Auto merge of #50 - japaric:singletons, r=japaric
Peripherals as scoped singletons

See this RFC for details: japaric/svd2rust#157

- The first commit adapts this crate to the changes in japaric/cortex-m#65 and japaric/svd2rust#158
- ~~The second commit is an alternative implementation of RFC #47 (there's another implementation in #49. This second commit is not required for RFC157 but let us experiment with safe DMA abstractions.~~ postponed

### TODO

- [x] un-bless peripherals as resources. Peripherals as resources were special cased: if resource listed in e.g. `app.tasks.FOO.resources` didn't appear in `app.resources` then it was assumed to be a peripheral and special code was generated for it. This is no longer required under RFC157.

~~This depends on PR japaric/rtfm-syntax#2~~ postponed
2017-12-09 12:09:35 +00:00
.cargo Use true as the armv6 linker 2017-09-22 22:44:31 +02:00
ci fix ci 2017-11-22 09:40:36 +01:00
examples peripherals as scoped singletons 2017-12-09 12:45:57 +01:00
macros remove special case around peripherals from codegen 2017-12-09 13:08:08 +01:00
src peripherals as scoped singletons 2017-12-09 12:45:57 +01:00
tests fix cfail tests 2017-12-08 13:28:27 +01:00
.gdbinit update examples 2017-07-29 00:46:38 -05:00
.gitignore update examples 2017-07-29 00:46:38 -05:00
.travis.yml ci: switch back to a recent nightly 2017-12-08 13:37:46 +01:00
build.rs rtfm! macro take 2 2017-07-04 11:26:11 -05:00
Cargo.toml peripherals as scoped singletons 2017-12-09 12:45:57 +01:00
CHANGELOG.md v0.2.2 2017-11-22 09:29:01 +01:00
gen-examples.sh v0.2.2 2017-11-22 09:29:01 +01:00
LICENSE-APACHE initial commit 2017-03-05 00:29:08 -05:00
LICENSE-MIT initial commit 2017-03-05 00:29:08 -05:00
memory.x Resource trait, docs, examples and rtfm-syntax related changes 2017-07-20 22:53:44 -05:00
README.md update examples 2017-07-29 00:46:38 -05:00
Xargo.toml Resource trait, docs, examples and rtfm-syntax related changes 2017-07-20 22:53:44 -05:00

crates.io crates.io

cortex-m-rtfm

Real Time For the Masses (RTFM) framework for ARM Cortex-M microcontrollers

Documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.