From ccae474cf85dff7c3cca1b03ec7e1368fad78774 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 18 Oct 2021 12:33:48 +0200 Subject: [PATCH] doc/porting-boards.md: update documentation of board_init() --- doc/doxygen/src/porting-boards.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/doc/doxygen/src/porting-boards.md b/doc/doxygen/src/porting-boards.md index 7237a7d066..f729cb0ec1 100644 --- a/doc/doxygen/src/porting-boards.md +++ b/doc/doxygen/src/porting-boards.md @@ -62,17 +62,13 @@ somewhere else then they must be added to the include path. In `Makefile.include`: `INCLUDES += -I//` Board initialization functions are defined in `board.c`. This file must at -least define a `board_init()` function that is called at startup. This -function initializes the `CPU` by calling`cpu_init()` among others. It is run -before the scheduler is started, so it must not block (e.g. by performing I2C -operations). +least 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). ```c void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize GPIO or others... */ ... }