zephyr/boards
Torsten Rasmussen 536d34fa7a cmake: scripts: support board extension
Fixes: #69548

Support extending an existing board with new board variants.

This commit introduces the following changes to allow a board to be
extended out-of-tree.

The board yaml schema is extended to support an extend field which
will be used to identify the board to be extended.

A board 'plank' can be extended like this:
> board:
>   extend: plank
>   variants:
>     - name: ext
>       qualifier: soc1

For the rest of the build system this means that there is no longer a
single board directory.
The existing CMake variable BOARD_DIR is kept and reference the
directory which defines the board.
A new CMake variable BOARD_DIRECTORIES provides a list of all
directories which defines board targets for the board.
This means the directory which defines the board as well as all
directories that extends the board.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-10-26 17:14:06 +02:00
..
01space
96boards
aconno
acrn
actinius
adafruit
adi
alientek
altr
ambiq drivers: spi: Add SPI device support for Apollo3 SoCs 2024-10-26 11:31:11 +02:00
amd
andestech
arduino
arm arch: arm: fix null pointer dereference check test 2024-10-26 03:58:05 +01:00
aspeed
atmarktechno
atmel
bbc
bcdevices
beagle
blues
brcm
bytesatwork
cdns
circuitdojo
common
contextualelectronics
croxel
ct
cypress
digilent
dptechnics
dragino
ebyte
efinix
electronut
element14
enclustra/mercury_xu
ene
enjoydigital
espressif
ezurio
fanke
firefly
franzininho
gaisler
gardena
gd
google
hardkernel
heltec
holyiot
infineon
innblue
intel
ite
khadas
kincony
lilygo
lowrisc
luatos
m5stack
madmachine
makerdiary
mediatek/mt8195_adsp
microchip
mikroe
mxchip
native
nordic
nuvoton
nxp boards: nxp: frdm_mcxn947: Enabled IRTC Driver. 2024-10-26 03:58:48 +01:00
olimex
openisa
others
panasonic
particle
phytec
pine64
pjrc
qemu
qorvo
quicklogic
rakwireless
raspberrypi
raytac
renesas
renode
ronoth
ruuvi
sc
seagate
seco
seeed
segger
sensry
shields
sifive
silabs
sipeed
snps
sparkfun
st
starfive
tdk
technexion
telink
ti
toradex
u-blox
udoo
up-bridge-the-gap
vcc-gnd
vngiotlab
waveshare
we
weact
wemos
witte
wiznet
xen
CMakeLists.txt
deprecated.cmake
index.rst
Kconfig cmake: scripts: support board extension 2024-10-26 17:14:06 +02:00
Kconfig.v1 cmake: scripts: support board extension 2024-10-26 17:14:06 +02:00
Kconfig.v2 cmake: scripts: support board extension 2024-10-26 17:14:06 +02:00