Hi,
I'm migrating to the updated hardware model & it seems to offer convenient ways to describe boards & configs. However, I'm facing one issue which is not critical but would be great to get it working:
Let's say I have the following board.yml:
board: name: myboard vendor: test socs: - name: nrf52832 variants: - name: a - name: b - name: c - name: d - name: nrf52840 variants: - name: a - name: b - name: c
I would like to use both common and per SoC/variant defconfigs, which, as I understand from the Zephyr docs (docs.zephyrproject.org/.../board_porting.html should be possible:
plank_defconfig
/ plank_<qualifiers>_defconfig
A Kconfig fragment that is merged as-is into the final build directory .config
whenever an application is compiled for your board.
If both the common plank_defconfig
file and one or more board qualifiers specific plank_<qualifiers>_defconfig
files exist, then all matching files will be used. This allows you to place configuration which is common for all board SoCs, CPU clusters, and board variants in the base plank_defconfig
and only place the adjustments specific for a given SoC or board variant in the plank_<qualifiers>_defconfig
.
However, when I build my application for board myboard/nrf52832/a only myboard_nrf52832_a_defconfig gets used, and neither myboard_defconfig nor myboard_nrf52832_defconfig get used. All board files in the same directory - boards/test/myboard. Am I misunderstanding something? Is this a known problem? Maybe my board.yml file is incorrect?
Thanks