mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 16:25:37 +00:00
17ebad4a3c
at some point cortex-m-rtic fixed a memory safety bug: RTIC was not marking the cortex_m::Peripherals singleton as "taken" in its pre-init code. This made it possible to create two instances of the singleton, e.g. by calling `cortex_m::Peripherals::take` in an RTIC app. the fix included a breaking change: it makes `Peripherals::take` return `None` from within an RTIC app. This breaks the use of `dk::init`, which `take`s those `Peripherals`, within an RTIC app and thus breaks most of the exercises / examples in the advanced workshop this PR fixes the issue by making `dk::init` not `take` the `Peripherals`. For more details read in-line comments in the diff |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
memory.x | ||
README.md |
dk
Board Support Crate for the nRF52840 Development Kit (DK)
Getting familiar with the hardware
TODO