aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)Author
2017-07-20bump cortex-m version to v0.3.1Jorge Aparicio
barrier! is no longer needed
2017-07-18make compatible with the unsafe_code lintJorge Aparicio
2017-07-18tasks / idle have exclusive access to Threshold, but do not own the tokenJorge Aparicio
2017-07-14rename rtfm! to app! and adapt to changes in rtfm-syntaxJorge Aparicio
2017-07-14split macro parser into its own crate and improve error handling / reportingJorge Aparicio
2017-07-11compiler plugin -> proc macroJorge Aparicio
2017-07-06syntax tweaks, relax check, add set_pending(), deal with imported typesJorge Aparicio
- allow trailing commas in list of resources - make task.resources optional - add rtfm::set_pending function which can be used to force an interrupt into the pending state. This is a replacement of the old rtfm::request. rtfm::set_pending takes the Interrupt enum provided by the device crate as argument. (The old rtfm::request took a task function as argument) - the user may want to use types they imported into the root of the crate. These types are not available in e.g. `mod idle` so `idle::Resources` *can't* be defined in that module. To workaround this problem `idle::Resources` will be defined in the root, with some other name, and then be re-exported in the `idle` module. - remove the "a resource only used by one task should be local data" check. In some cases you do want a resource owned by a single task instead of local data since `init` can access resources but not a task local data.
2017-07-04rtfm! macro take 2Jorge Aparicio
2017-06-05fix unused macro errorJorge Aparicio
2017-05-25make the register_block field optional in the peripherals! macroJorge Aparicio
with svd2rust 0.8.x peripheral types are written in UPPERCASE and match their names so specifying the type in the register_block field is no longer necessary.
2017-05-15fix links in the references sectionJorge Aparicio
2017-05-09v0.1.0Jorge Aparicio
2017-05-08drop the Ceiling newtypeJorge Aparicio
it's not required as the user never deal with Ceiling tokens
2017-05-08require Resource protected data to be Send, make tokens !SendJorge Aparicio
2017-05-08replace the ceiling token with a preemption threshold tokenJorge Aparicio
2017-04-28update examplesJorge Aparicio
2017-04-27make the ceiling part of the task signatureJorge Aparicio
remove the P.as_ceiling method
2017-04-27make `as_ceiling` a general method of `P<N>`Jorge Aparicio
2017-04-27add categoriesJorge Aparicio
2017-04-26tweak attributionJorge Aparicio
2017-04-25rename `rtfm::critical` to `rtfm::atomic`, touch up the documentationJorge Aparicio
2017-04-25hide the unsafe Peripheral::new constructorJorge Aparicio
`peripherals!` is the safe way to declare `Peripheral`s
2017-04-25ignore no_mangle related warningJorge Aparicio
2017-04-25add a `peripherals!` macroJorge Aparicio
for safe declaration of `Peripheral`s closes #12
2017-04-25fix build for thumbv6mJorge Aparicio
2017-04-25update examples in doc commentsJorge Aparicio
2017-04-25change tasks! syntax to resemble struct initializationJorge Aparicio
2017-04-25update examplesJorge Aparicio
2017-04-21update the examples in the crate documentationJorge Aparicio
2017-04-21add `enable` / `disable` functions, add $enabled parameter to tasks!Jorge Aparicio
2017-04-21rename `borrow` to `access`Jorge Aparicio
2017-04-21add `borrow_mut` to LocalJorge Aparicio
2017-04-21raise_to -> Ceiling.raiseJorge Aparicio
2017-04-21drop `lock` methods, add `raise_to` functionJorge Aparicio
2017-04-21rename "system ceiling" to "current ceiling"Jorge Aparicio
2017-04-21more docs, remove Ceiling / Priority / Level traitsJorge Aparicio
2017-04-20fix warning on thumbv6m-none-eabiJorge Aparicio
2017-04-19remove claim, add Priority.as_ceilingJorge Aparicio
2017-04-19remove the _mut methodsJorge Aparicio
they are too limited
2017-04-19tasks! macro: update the signature of `idle`Jorge Aparicio
2017-04-19critical: don't let the ceiling token escape the critical sectionJorge Aparicio
2017-04-19don't let the ceiling token escape the critical sectionJorge Aparicio
2017-04-17with new formatting (perhaps)pln
2017-04-17pub interface to logical2hw and hw2logicalpln
2017-04-14wrap references to resources in static-ref's Ref/RefMutJorge Aparicio
to assert that they point to `static` data
2017-04-14re-export bkptJorge Aparicio
2017-04-14change signature of `idle` to !Jorge Aparicio
2017-04-14remove unnecessary trait boundsJorge Aparicio
2017-04-14pass P0 to init, derive GreaterThanOrEqual for U0Jorge Aparicio
2017-04-13add `critical`, a global critical sectionJorge Aparicio