|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
Board-level initialisation and identification. More...
Functions | |
| int | ove_board_init (void) |
| Initialise the board hardware. | |
| const char * | ove_board_name (void) |
| Return a human-readable name for the current board. | |
| const struct ove_board_desc * | ove_board_desc (void) |
| Return a pointer to the current board's descriptor structure. | |
Board-level initialisation and identification.
Exposes the board name, the full board descriptor, and a single initialisation entry-point that sets up clocks, memory, and peripheral infrastructure required before any other oveRTOS API is used.
CONFIG_OVE_BOARD. When the option is disabled every function is replaced by a harmless stub. | int ove_board_init | ( | void | ) |
Initialise the board hardware.
Configures system clocks, enables necessary peripherals, and performs any board-specific low-level setup. Must be called once before any other oveRTOS API.
| const char * ove_board_name | ( | void | ) |
Return a human-readable name for the current board.
The returned pointer is valid for the lifetime of the program.
"STM32F4-Discovery"). | const struct ove_board_desc * ove_board_desc | ( | void | ) |
Return a pointer to the current board's descriptor structure.
The descriptor contains GPIO port counts, LED definitions, and MCU identification fields.
ove_board_desc, or NULL if no descriptor is registered.