1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

doc/porting-boards.md: update documentation of board_init()

This commit is contained in:
Benjamin Valentin 2022-02-22 18:26:39 +01:00
parent 464d941a3e
commit 35ecfadf54

View File

@ -61,8 +61,8 @@ configurations. e.g:
somewhere else then they must be added to the include path. In
`Makefile.include`: `INCLUDES += -I<some>/<directory>/<path>`
Board initialization functions are defined in `board.c`. This file must at
least define a `board_init()` function that is called at startup.
Board initialization functions are defined in `board.c`.
This file can define a `board_init()` function that is called at startup.
It is run before the scheduler is started, so it must not block (e.g. by
performing I2C operations).