1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

cpu: add documentation for DISABLE_BOARD_INIT/DISABLE_CPU_INIT

This commit is contained in:
Benjamin Valentin 2025-01-16 18:12:21 +01:00
parent 5e2ec9d51d
commit 581bd8afad

View File

@ -20,3 +20,27 @@
* @ingroup config
* @brief Compile time configurations for different kinds of CPU.
*/
/**
* @brief Skip calling `board_init()`
*
* Don't call `board_init()`, leave all pins in their default state.
*
* This is intended to be used with basic riotboot_slot which does not interact
* with any external hardware.
*
* @experimental Only use this if you know what you are doing
*/
#define DISABLE_BOARD_INIT 0
/**
* @brief Skip calling `cpu_init()`
*
* Don't call `cpu_init()`, leave all CPU configuration in boot-up state.
*
* This is intended to be used with basic riotboot_slot which does not interact
* with any CPU peripherals.
*
* @experimental Only use this if you know what you are doing
*/
#define DISABLE_CPU_INIT 0