I'm working on a board that uses Zephyr board revisions to handle minor differences between the hardware revs.
The "Rev A" of the board was built with NRF9160-SIBA-R7 (NB-IoT only), but future revisions of the board were built with NRF9160-SICA-B1A-R7 (LTE-M/NB-IoT/GNSS).
To make sure the firmware uses NB-IoT for the Rev A board, I have added boards/arm/<<board name redacted>>/<<board name redacted>>_ns_A.conf
with the following config:
# Select NB-IoT system mode when using the LTE Link Control driver: CONFIG_LTE_NETWORK_MODE_NBIOT=y CONFIG_LTE_NETWORK_USE_FALLBACK=n
However, when I build the firmware (west build -p -b <<board name redacted>>_ns@A
), I get the following warning when building the mcuboot child image (building Zephyr app image builds fine):
warning: The choice symbol LTE_NETWORK_MODE_NBIOT (defined at <<redacted>>/deps/nrf/lib/lte_link_control/Kconfig:166) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LTE_NETWORK_MODE_NBIOT and/or look up LTE_NETWORK_MODE_NBIOT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.
Is there a recommended way to force the NB-IoT mode only for board Rev A (<<board name redacted>>_ns@A
) that will not result in this warning?