Mikrokontroller
The cortex_m_rt
crate provides (among other things) a reset handler for Cortex M microcontrollers.
Next we'll look at how to access peripherals, with increasing levels of abstraction.
Speaker Notes
- The
cortex_m_rt::entry
macro requires that the function have typefn() -> !
, because returning to the reset handler doesn't make sense. - Run the example with
cargo embed --bin minimal