Files
charge-controller-firmware/boards
Martin Jäger e63a2db9e5 Update west.yml and platformi.ini to track Zephyr v2.5
The v2.5-branch is based on upstream master until Zephyr v2.5 is released.

hal_stm32 needs to be overwritten with forked version to support new pinctrl
introduced in Zephyr 2.5.

Also fixing some CAN issues because of API changes to make it compile.
2021-01-14 19:11:59 +01:00
..
2020-11-10 16:50:52 +01:00
2020-06-17 11:15:50 +02:00

Configuration of supported boards

Zephyr board definition

The definitions found in boards/arm/my-board/ folders are used directly by Zephyr.

More detiails can be found in Zephyr porting guide and Kconfig description.

  • board.cmake, CMakeLists.txt: CMake definitions for board, normally don't need to be touched.
  • Kconfig.board: Defines the name of the board as used in DTS config.
  • Kconfig.defconfig: Configuration of invisible Kconfig symbols, i.e. symbols that should not be adjustable by the user via menuconfig.
  • <BOARD>_defconfig: Default configuration of the board (can be overwritten by prj.conf)
  • <BOARD>.dts: Main board device tree specification.
  • <BOARD>.yaml:
  • pinmux.c: Defines which pins should be used for peripherals like SPI1, SPI2, SPI3 if selected by the user.

PlatformIO configuration

PlatformIO needs an additional definition file for each board. It is stored as boards/my-board.json