aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-09drop the Static wrapperJorge Aparicio
2017-12-09Auto merge of #57 - japaric:not-sync, r=japarichomunkulus
make resource proxies not Sync None
2017-12-09make resource proxies not SyncJorge Aparicio
2017-12-09Auto merge of #56 - japaric:not-send, r=japarichomunkulus
make resource proxies !Send None
2017-12-09also cache the Xargo directoryJorge Aparicio
2017-12-09deny warnings and unsafe code in tests and examplesJorge Aparicio
2017-12-09make resource proxies !SendJorge Aparicio
2017-12-09Auto merge of #55 - japaric:late-resources, r=japarichomunkulus
[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-09fix the "generics" exampleJorge Aparicio
2017-12-09rename LateResourceValues to LateResourcesJorge Aparicio
2017-12-09Auto merge of #50 - japaric:singletons, r=japarichomunkulus
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-09remove special case around peripherals from codegenJorge Aparicio
2017-12-09peripherals as scoped singletonsJorge Aparicio
2017-12-08Auto merge of #54 - japaric:fix-tests, r=japarichomunkulus
fix cfail tests None
2017-12-08ci: switch back to a recent nightlyJorge Aparicio
2017-12-08fix cfail testsJorge Aparicio
2017-11-22Auto merge of #51 - japaric:ci, r=japarichomunkulus
fix ci None
2017-11-22use older nightly for the x86_64 linux targetJorge Aparicio
2017-11-22fix ciJorge Aparicio
2017-11-22v0.2.2Jorge Aparicio
2017-10-02fix the exampleJorge Aparicio
2017-10-02fix `idle::Resources::new`Jorge Aparicio
it assumed that all resources were "early" resources
2017-09-22Use `true` as the armv6 linkerJonas Schievink
Horrible hack until we switch to a Cortex-M0 device crate that works with armv6.
2017-09-22Pin Travis to Xargo 0.3.8Jonas Schievink
2017-09-22Use rtfm-syntax 0.2.0Jonas Schievink
2017-09-22Add cfail test for late resourcesJonas Schievink
2017-09-22Fix shared resource handling and extend example.Jonas Schievink
The extended example tests that this actually works this time.
2017-09-22Simplify iterator usageJonas Schievink
2017-09-22Fix warning in wrong-threshold cfail testJonas Schievink
2017-09-22Don't use deprecated method to create compiletest configJonas Schievink
2017-09-22Hide `UntaggedOption` reexportJonas Schievink
2017-09-22Bump stm32f103xx versionJonas Schievink
Fixes compilation on x86-64
2017-09-06Use `untagged_option` crateJonas Schievink
2017-09-04Add late resources exampleJonas Schievink
2017-09-03Allow initialization of resources in `init`.Jonas Schievink
2017-07-29extend v0.2.0 CHANGELOGJorge Aparicio
2017-07-29v0.2.1Jorge Aparicio
2017-07-29v0.2.0Jorge Aparicio
2017-07-29update examplesJorge Aparicio
2017-07-27update examplesJorge Aparicio
2017-07-27`Send`-ness check is now in rtfm-coreJorge Aparicio
2017-07-27make task.$T.path mandatoryJorge Aparicio
2017-07-27make task.$T.enabled optionalJorge Aparicio
and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic
2017-07-27fix yet another warning on ARMv6-MJorge Aparicio
2017-07-27travis: install linkerJorge Aparicio
2017-07-27fix warning on ARMv6-MJorge Aparicio
2017-07-27don't generate empty modulesJorge Aparicio
2017-07-27make task.$T.priority optionalJorge Aparicio
default the value to 1 if omitted
2017-07-27update tests and examplesJorge Aparicio
with task! gone 3 types of errors / gotchas have been eliminated :tada:
2017-07-27refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomicJorge Aparicio
task! can be re-added in a backward compatible fashion and I'd like to not have two ways to assign a task handler to an interrupt / exception in the first release. rtfm::atomic now uses the `Threshold` token instead of the `CriticalSection` token. This reduces overhead by dropping the "are interrupts enabled?" check.