Function riot_sys::cortexm_init

source ·
pub unsafe extern "C" fn cortexm_init()
Expand description

@brief Initialize Cortex-M specific core parts of the CPU

@ref cortexm_init calls, in a default order, @ref cortexm_init_fpu, @ref cortexm_init_isr_priorities, and @ref cortexm_init_misc. Also performs other default initialisations, including ones which you may or may not want.

Unless you have special requirements (like nRF52 with SD has), it is sufficient to call just @ref cortexm_init and the cortexm_init_* functions do not need to (and should not) be called separately. If you have conflicting requirements, you may want to have a look cpu/nrft/cpu.c for an example of a non-default approach.