I currently try to build some firmware for the upcoming feather with nRF9161.
Therefore I used
https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers/tree/v2.6.x
and
https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers/tree/v2.7.x
The sample “nfed/samples/at_client” builds, but only if the BOOTLOADER_MCUBOOT is disabled.
I used (2.6.1):
west build -b circuitdojo_feather_nrf9161_ns – -DCONFIG_BOOTLOADER_MCUBOOT=y
and (2.7.0)
west build -b circuitdojo_feather_nrf9161/nrf9161/ns –sysbuild
(don’t forget the delete the build-folder when changing. The – may be copied not as two -, then edit that into two ‘-’.)
The first warning/error I get with ncs 2.6.1 is
"CMake Warning at /home/achim/repos/zephyr/feather/zephyr/CMakeLists.txt:862 (message):
No SOURCES given to Zephyr library:
..__nfed__boards__arm__circuitdojo_feather_nrf9161
Excluding target from build.
CMake Warning at /home/achim/repos/zephyr/feather/zephyr/CMakeLists.txt:862 (message):
No SOURCES given to Zephyr library: drivers__spi
Excluding target from build.
"
and on
" Linking C executable zephyr/zephyr_pre0.elf"
a couple of undefined references.
"/home/achim/repos/zephyr/feather/zephyr/drivers/mfd/mfd_npm1300.c:89: undefined reference to `k_work_submit'
/home/achim/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/mfd/libdrivers__mfd.a(mfd_npm1300.c.obj):(.rodata.config0+0x0): undefined reference to `__device_dts_ord_92'
collect2: error: ld returned 1 exit status"
The same works on Jared’s “machine”, but I’m struggling to see the issue on my “machine”.
Therefore, it would be really great, if someone could spend an hour (or so) to update to the latest nfed (2.6.1 or 2.7.0) and try to build the “at_client” with mcuboot to see, if that works on your machine (as on Jared’s) or fails as well (as on my machine).