Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by srpatcha Apr 25, 2026

To add BSP support for a custom ARM Cortex-M4 board in eos:

  1. Create a new directory under ebuild/boards/your_board_name/
  2. Add the board description file board.yml with CPU architecture, memory map, and peripheral config
  3. Create the linker script linker.ld for your specific memory layout
  4. Add the HAL initialization in hal_init.c (clock, GPIO, UART setup)
  5. Register the board in ebuild/boards/catalog.json

Example structure:

ebuild/boards/custom_m4/
├── board.yml
├── linker.ld
├── hal_init.c
└── README.md

See the existing boards for reference patterns. The build system will auto-detect the new board once registered in the catalog.

Replies: 1 comment

Comment options

srpatcha
Apr 25, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer verified by Admin Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant