Closed beriberikix closed 3 months ago
The modules/lib/golioth-firmware-sdk/examples/zephyr/hello/boards
directory looks like it only contains Kconfig .conf and devicetree .overlay files, and not any actual custom board definitions.
I think you have to first select the board from the zephyr/boards/...
directory, and then the these overlays in the modules/lib/golioth-firmware-sdk/examples/zephyr/hello/boards
directory should get included automatically when generating the Kconfig and DTC files.
For instance, if I build the hello
project for the nrf9160dk_nrf9160_ns
, I would select the board like this:
and then when I build, I can see the overlay file being merged in the Kconfig output:
Parsing C:/git/golioth/modules/lib/golioth-firmware-sdk/examples/zephyr/hello/Kconfig
Loaded configuration 'C:/git/golioth/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
Merged configuration 'C:/git/golioth/modules/lib/golioth-firmware-sdk/examples/zephyr/hello/prj.conf'
Merged configuration 'C:/git/golioth/modules/lib/golioth-firmware-sdk/examples/zephyr/hello/boards/nrf9160dk_nrf9160_ns.conf'
@beriberikix did @rpiper suggestion solve your issue?
Closing this as stale. Please let me know if the issue persists.
This may be specific to our SDK but it seems like the extension is having issues finding
boards
when deeply nested in a module.Steps to reproduce:
https://github.com/golioth/golioth-firmware-sdk
,--mr v0.12.2 --mf west-zephyr.yml
)hello
project atmodules/lib/golioth-firmware-sdk/examples/zephyr/hello
add build
and navigate tomodules/lib/golioth-firmware-sdk/examples/zephyr/hello/boards
The build will fail to add and you should see the following output from the extension: