Hi,
Most of the board supported by zephyr can use extension boards via the Arduino or ST Morpho connectors for example,
but there is no simple way to explicit support for these in the Zephyr codebase.
Would it be possible to add a boards/ext tree with Kconfig, docs and config parameters for each supported boards ?
For example for the X-NUCLEO-IKS01A1 board, it will concern all board with Arduino Uno R3 connector,
but a cfg for each supported board should be supplied :
boards/
ext/
x-nucleo-iks01a1/
Kconfig.ext
Kconfig.defconfig
ext.h
Makefile
x_nucleo_iks01a1.nucleo_f103rb_defconfig
x_nucleo_iks01a1.nucleo_f334r8_defconfig
x_nucleo_iks01a1.nucleo_f401re_defconfig
x_nucleo_iks01a1.nucleo_l476rg_defconfig
doc/
x_nucleo_iks01a1.rst
And for build options, a new options along BOARD= could be supplied, like SHIELD= or EXTBOARD=.
Waiting for some advices !
Neil
--
Neil Armstrong
Embedded Linux Software Engineer
BayLibre - At the Heart of Embedded Linux
www.baylibre.com