Skip to content

Files

Latest commit

b6a30c9 · Jan 23, 2025

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 31, 2024
May 31, 2024
May 31, 2024
May 31, 2024
May 31, 2024
May 31, 2024
May 31, 2024
Dec 5, 2023
Dec 5, 2023
Jul 24, 2023
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Jan 23, 2025

Boards Component

As a common component of examples, this component can provide unified pin macro definitions and hardware-independent initialization operations to applications. Applications developed based on this component are compatible with different development boards at the same time.

  • The Boards component contains the following:

    • board_common.h, contains the function declaration of the common API;
    • board_common.c, contains the function implementation of the common API (weak function);
    • Kconfig.projbuild, contains common configuration items;
  • The subfolders named after the development board name includes the following:

    • iot_board.h provides the gpio definition of the development board, and the board's unique custom API function declaration
    • board.c provides user implementation of common API (Covering default weak function), custom API function implementation
    • kconfig.in provides custom configuration items unique to the development board.

For details about how to add a custom development board, please refer Boards Component