aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf
Commit message (Collapse)AuthorAgeFilesLines
...
* examples: Consistently use unwrap! in favor of .unwrap()Ben Gamari2021-08-059-32/+34
| | | | | Unfortunately errors from `embedded_graphics` and `core` doesn't provide the necessary instances currently.
* time: replace dyn clock/alarm with a global Driver traitDario Nieuwenhuis2021-08-0510-42/+9
|
* Update nightly, remove removed features.Dario Nieuwenhuis2021-08-0418-36/+0
|
* rustfmt everythingDario Nieuwenhuis2021-08-041-1/+0
|
* hal-common: remove Pin in PeripheralMutexDario Nieuwenhuis2021-08-021-0/+3
|
* examples: Drop build-std = ["core"]Ben Gamari2021-07-311-3/+0
| | | | | | | | Previously the cargo configurations of all of the example projects had `build-std = ["core"]`, which forces compilation of `core` as a code-size optimisation. However, this is strictly unnecessary and will currently break for users who do not use `rustup` directly (e.g. nix users).
* Provides a cleaner construction of the channel with the common "new" naminghuntc2021-07-151-1/+2
|
* Use of a NoopMutexhuntc2021-07-151-4/+4
|
* Remove the cell and traithuntc2021-07-151-4/+4
| | | | At the expense of exposing the channel types again. We do this as we want to avoid using dyn traits given their overhead for embedded environments.
* Replace UnsafeCellhuntc2021-07-151-5/+3
| | | | Using a new ChannelCell so that there's no leaking of the abstraction
* Reduces the types on sender and receiverhuntc2021-07-151-3/+5
| | | | In exchange for an UnsafeCell being passed into split
* Multi Producer Single Consumer channelhuntc2021-07-151-0/+64
| | | | An MPSC inspired by Tokio and Crossbeam. The MPSC is designed to support both single and multi core processors, with only single core implemented at this time. The allocation of the channel’s buffer is inspired by the const generic parameters that Heapless provides.
* Update RNG exampleLiam Murphy2021-06-301-4/+17
|
* Add an nRF RNG driverLiam Murphy2021-06-292-0/+31
| | | | | | Resolves #187 Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
* Move examples to a subdirectoryDario Nieuwenhuis2021-06-0222-0/+1243