Closed cdwilson closed 5 months ago
From the discussion in https://github.com/zephyrproject-rtos/zephyr/issues/71113, this is intended behavior (not a bug). The boards/shields/arduino_uno_click/boards
directory should be removed from this module and the workaround above used for any app that needs these modifications in the nrf9160dk_nrf9160_ns.overlay
file.
There is an upstream Zephyr bug (https://github.com/zephyrproject-rtos/zephyr/issues/71113) that prevents board-specific overlays from being found if they are defined in a Zephyr module's
boards/shields/<shield>/boards/
directory. This is currently preventing overlay files for the nRF9160 DK board in https://github.com/golioth/golioth-zephyr-boards/tree/main/boards/shields/arduino_uno_click/boards from being picked up by the build system.The current workaround for apps targeting the nRF9160 DK board + Arduino Uno Click shield is to add the following
pinctrl
definitions to theapp/boards/nrf9160dk_nrf9160_ns.overlay
file:Once https://github.com/zephyrproject-rtos/zephyr/issues/71113 is fixed, this can be removed from the
app/boards/nrf9160dk_nrf9160_ns.overlay
file in the app because it will be automatically pulled from overlays in this module instead.