It’s not clear to me how to attach files (I tried dragging it but it just put the path). Here’s the transcript:

$ west build -b circuitdojo_feather_nrf9160_ns
-- west build: generating a build system
Including boilerplate (Zephyr base): /opt/nordic/ncs/current/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/current/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/current/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/current/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160_ns
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/current/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
-- Generated zephyr.dts: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/dts.cmake

warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.

Parsing /opt/nordic/ncs/current/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns_defconfig'
Merged configuration '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/prj.conf'
Configuration saved to '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)

=== child image spm -  begin ===
loading initial cache file /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/spm/child_image_preload.cmake
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/current/nrf/samples/spm
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/v1.9.1/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.9.1/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Generated zephyr.dts: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/dts.cmake
Parsing /opt/nordic/ncs/v1.9.1/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/opt/nordic/ncs/current/nrf/samples/spm/prj.conf'
Merged configuration '/opt/nordic/ncs/current/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
CMake Warning at /opt/nordic/ncs/v1.9.1/zephyr/CMakeLists.txt:1687 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm
=== child image spm -  end ===

Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)

=== child image mcuboot -  begin ===
loading initial cache file /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/child_image_preload.cmake
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/v1.9.1/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.9.1/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Found devicetree overlay: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/dts.cmake

warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: CONSOLE (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_UART_CONSOLE.html and/or look up
UART_CONSOLE 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.

Parsing /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf'
Merged configuration '/opt/nordic/ncs/current/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
MCUBoot bootloader key file: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/root-ec-p256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot
=== child image mcuboot -  end ===

CMake Warning at /opt/nordic/ncs/current/nrf/modules/mcuboot/CMakeLists.txt:262 (message):
  

        ---------------------------------------------------------
        --- WARNING: Using default MCUBoot key, it should not ---
        --- be used for production.                           ---
        ---------------------------------------------------------
        



CMake Warning at /opt/nordic/ncs/current/zephyr/CMakeLists.txt:764 (message):
  No SOURCES given to Zephyr library: subsys__net__pkt_filter

  Excluding target from build.


CMake Warning at /opt/nordic/ncs/current/zephyr/CMakeLists.txt:1687 (message):
  __ASSERT() statements are globally ENABLED


Dropping partition 'nrf_modem_lib_trace' since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build
-- west build: building application
[1/217] Preparing syscall dependency handling

[11/217] Performing build step for 'mcuboot_subimage'
[1/199] Preparing syscall dependency handling

[189/199] Linking C executable zephyr/zephyr_pre0.elf

[193/199] Linking C executable zephyr/zephyr_pre1.elf

[199/199] Linking C executable zephyr/zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr.map zephyr/zephyr.hex zephyr/zephyr.bin zephyr/zephyr.meta zephyr/zephyr.lst zephyr/zephyr.stat /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.map /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.hex /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.bin /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.meta /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.lst /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.stat 
: && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc   zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker.cmd  -Wl,-Map=/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr_final.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/boards/boards/arm/circuitdojo_feather_nrf9160/lib..__..__current__zephyr__boards__arm__circuitdojo_feather_nrf9160.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/nordic/ncs/v1.9.1/toolchain/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v8-m.main+fp/hard"  -L/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr  -lgcc  -Wl,--print-memory-usage  zephyr/arch/common/libisr_tables.a  /opt/nordic/ncs/v1.9.1/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_platform_0.9.13.a  -no-pie  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfpu=fpv5-sp-d16  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  /opt/nordic/ncs/v1.9.1/nrfxlib/crypto/nrf_cc310_bl/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_bl_0.9.12.a && cd /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr && /opt/nordic/ncs/v1.9.1/toolchain/Cellar/cmake/3.21.1/bin/cmake -E rename zephyr_final.map zephyr.map && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=ihex --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.hex && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=binary --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.bin && /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 /opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py --zephyr-base /opt/nordic/ncs/v1.9.1/zephyr --meta-out zephyr.meta && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objdump -d -S zephyr.elf > zephyr.lst && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-readelf -e zephyr.elf > zephyr.stat
Memory region         Used Size  Region Size  %age Used
           FLASH:       44288 B        48 KB     90.10%
            SRAM:       23264 B     211736 B     10.99%
        IDT_LIST:          0 GB         2 KB      0.00%
Traceback (most recent call last):
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 542, in <module>
    main()
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 534, in main
    meta = process_meta(args.zephyr_base, west_proj, modules,
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 318, in process_meta
    if project.sha(MANIFEST_REV_BRANCH) != revision:
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 847, in sha
    cp = self.git(f'rev-parse {rev}^{{commit}}', capture_stdout=True,
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 831, in git
    raise subprocess.CalledProcessError(popen.returncode, cmd_list,
subprocess.CalledProcessError: Command '['rev-parse', 'manifest-rev^{commit}']' returned non-zero exit status 128.
ninja: build stopped: subcommand failed.
[16/217] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.hex /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.elf 
cd /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot && /opt/nordic/ncs/v1.9.1/toolchain/Cellar/cmake/3.21.1/bin/cmake --build . --
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/current/toolchain/bin/cmake --build /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build
21827 18:18: at_client/ ((v1.9.1)) $ mv build build3
21828 18:18: at_client/ ((v1.9.1)) $ west build -b circuitdojo_feather_nrf9160ns
-- west build: generating a build system
Including boilerplate (Zephyr base): /opt/nordic/ncs/current/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/current/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/current/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/current/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
CMake Warning at /opt/nordic/ncs/current/zephyr/cmake/app/boilerplate.cmake:233 (message):
  Deprecated BOARD=circuitdojo_feather_nrf9160ns name specified, board
  automatically changed to: circuitdojo_feather_nrf9160_ns.
Call Stack (most recent call first):
  /opt/nordic/ncs/current/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /opt/nordic/ncs/current/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


-- Board: circuitdojo_feather_nrf9160ns
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/current/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
-- Generated zephyr.dts: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/dts.cmake

warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.

Parsing /opt/nordic/ncs/current/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns_defconfig'
Merged configuration '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/prj.conf'
Configuration saved to '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)

=== child image spm -  begin ===
loading initial cache file /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/spm/child_image_preload.cmake
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/current/nrf/samples/spm
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/v1.9.1/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.9.1/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Generated zephyr.dts: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/dts.cmake
Parsing /opt/nordic/ncs/v1.9.1/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/opt/nordic/ncs/current/nrf/samples/spm/prj.conf'
Merged configuration '/opt/nordic/ncs/current/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
CMake Warning at /opt/nordic/ncs/v1.9.1/zephyr/CMakeLists.txt:1687 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/spm
=== child image spm -  end ===

Changed board to secure circuitdojo_feather_nrf9160 (NOT NS)

=== child image mcuboot -  begin ===
loading initial cache file /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/child_image_preload.cmake
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr
-- Using NCS Toolchain 1.9.1 for building. (/opt/nordic/ncs/v1.9.1/toolchain/cmake)
-- Zephyr version: 2.7.99 (/opt/nordic/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 (found suitable exact version "3.9.6") found components: Interpreter 
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160
-- Cache files will be written to: /Users/rmann/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.9.1/toolchain/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/current/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160.dts
-- Found devicetree overlay: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/dts.cmake

warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: CONSOLE (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_UART_CONSOLE.html and/or look up
UART_CONSOLE 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.

Parsing /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration '/opt/nordic/ncs/current/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_defconfig'
Merged configuration '/opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/bootloader/mcuboot/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf'
Merged configuration '/opt/nordic/ncs/current/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/.config'
Kconfig header saved to '/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc
MCUBoot bootloader key file: /opt/nordic/ncs/v1.9.1/bootloader/mcuboot/root-ec-p256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot
=== child image mcuboot -  end ===

CMake Warning at /opt/nordic/ncs/current/nrf/modules/mcuboot/CMakeLists.txt:262 (message):
  

        ---------------------------------------------------------
        --- WARNING: Using default MCUBoot key, it should not ---
        --- be used for production.                           ---
        ---------------------------------------------------------
        



CMake Warning at /opt/nordic/ncs/current/zephyr/CMakeLists.txt:764 (message):
  No SOURCES given to Zephyr library: subsys__net__pkt_filter

  Excluding target from build.


CMake Warning at /opt/nordic/ncs/current/zephyr/CMakeLists.txt:1687 (message):
  __ASSERT() statements are globally ENABLED


Dropping partition 'nrf_modem_lib_trace' since its size is 0.
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build
-- west build: building application
[1/217] Preparing syscall dependency handling

[12/217] Performing build step for 'spm_subimage'
[79/265] Preparing syscall dependency handling

[255/265] Linking C executable zephyr/zephyr_pre0.elf

[259/265] Linking C executable zephyr/zephyr_pre1.elf

[265/265] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       65024 B        64 KB     99.22%
            SRAM:       11984 B        32 KB     36.57%
        IDT_LIST:          0 GB         2 KB      0.00%
[17/217] Performing build step for 'mcuboot_subimage'
[1/199] Preparing syscall dependency handling

[189/199] Linking C executable zephyr/zephyr_pre0.elf

[193/199] Linking C executable zephyr/zephyr_pre1.elf

[199/199] Linking C executable zephyr/zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr.map zephyr/zephyr.hex zephyr/zephyr.bin zephyr/zephyr.meta zephyr/zephyr.lst zephyr/zephyr.stat /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.map /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.hex /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.bin /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.meta /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.lst /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.stat 
: && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc   zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker.cmd  -Wl,-Map=/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr_final.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/boards/boards/arm/circuitdojo_feather_nrf9160/lib..__..__current__zephyr__boards__arm__circuitdojo_feather_nrf9160.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/nordic/ncs/v1.9.1/toolchain/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v8-m.main+fp/hard"  -L/opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr  -lgcc  -Wl,--print-memory-usage  zephyr/arch/common/libisr_tables.a  /opt/nordic/ncs/v1.9.1/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_platform_0.9.13.a  -no-pie  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfpu=fpv5-sp-d16  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  /opt/nordic/ncs/v1.9.1/nrfxlib/crypto/nrf_cc310_bl/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_bl_0.9.12.a && cd /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr && /opt/nordic/ncs/v1.9.1/toolchain/Cellar/cmake/3.21.1/bin/cmake -E rename zephyr_final.map zephyr.map && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=ihex --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.hex && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=binary --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.bin && /opt/nordic/ncs/v1.9.1/toolchain/bin/python3 /opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py --zephyr-base /opt/nordic/ncs/v1.9.1/zephyr --meta-out zephyr.meta && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objdump -d -S zephyr.elf > zephyr.lst && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-readelf -e zephyr.elf > zephyr.stat
Memory region         Used Size  Region Size  %age Used
           FLASH:       44288 B        48 KB     90.10%
            SRAM:       23264 B     211736 B     10.99%
        IDT_LIST:          0 GB         2 KB      0.00%
Traceback (most recent call last):
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 542, in <module>
    main()
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 534, in main
    meta = process_meta(args.zephyr_base, west_proj, modules,
  File "/opt/nordic/ncs/v1.9.1/zephyr/scripts/zephyr_module.py", line 318, in process_meta
    if project.sha(MANIFEST_REV_BRANCH) != revision:
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 847, in sha
    cp = self.git(f'rev-parse {rev}^{{commit}}', capture_stdout=True,
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 831, in git
    raise subprocess.CalledProcessError(popen.returncode, cmd_list,
subprocess.CalledProcessError: Command '['rev-parse', 'manifest-rev^{commit}']' returned non-zero exit status 128.
ninja: build stopped: subcommand failed.
[196/217] Linking C executable zephyr/zephyr_pre0.elf

[200/217] Linking C executable zephyr/zephyr_pre1.elf

[205/217] Linking C executable zephyr/zephyr.elf
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.hex /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot/zephyr/zephyr.elf 
cd /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/mcuboot && /opt/nordic/ncs/v1.9.1/toolchain/Cellar/cmake/3.21.1/bin/cmake --build . --
[207/217] Linking C executable zephyr/zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr.map zephyr/zephyr.hex zephyr/zephyr.bin zephyr/zephyr.meta zephyr/zephyr.lst zephyr/zephyr.stat /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.map /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.hex /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.bin /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.meta /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.lst /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr.stat 
: && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-gcc   zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj -o zephyr/zephyr.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -Wl,-T  zephyr/linker.cmd  -Wl,-Map=/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr/zephyr_final.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/boards/arm/circuitdojo_feather_nrf9160/libboards__arm__circuitdojo_feather_nrf9160.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/random/libsubsys__random.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/nrf_modem_lib/lib..__nrf__lib__nrf_modem_lib.a  modules/nrf/lib/at_monitor/lib..__nrf__lib__at_monitor.a  modules/nrf/lib/at_host/lib..__nrf__lib__at_host.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/subsys/fw_info/lib..__nrf__subsys__fw_info.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  /opt/nordic/ncs/current/nrfxlib/nrf_modem/lib/cortex-m33/soft-float/libmodem.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"/opt/nordic/ncs/v1.9.1/toolchain/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v8-m.main/nofp"  -L/opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr  -lgcc  -Wl,--print-memory-usage  zephyr/arch/common/libisr_tables.a  -no-pie  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  spm/libspmsecureentries.a && cd /opt/nordic/ncs/current/nrf/samples/nrf9160/at_client/build/zephyr && /opt/nordic/ncs/v1.9.1/toolchain/Cellar/cmake/3.21.1/bin/cmake -E rename zephyr_final.map zephyr.map && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=ihex --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.hex && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objcopy --gap-fill 0xff --output-target=binary --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.bin && /opt/nordic/ncs/current/toolchain/bin/python3 /opt/nordic/ncs/current/zephyr/scripts/zephyr_module.py --zephyr-base /opt/nordic/ncs/current/zephyr --meta-out zephyr.meta && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-objdump -d -S zephyr.elf > zephyr.lst && /opt/nordic/ncs/current/toolchain/bin/arm-none-eabi-readelf -e zephyr.elf > zephyr.stat
Memory region         Used Size  Region Size  %age Used
           FLASH:       62672 B     425472 B     14.73%
            SRAM:       32344 B     211736 B     15.28%
        IDT_LIST:          0 GB         2 KB      0.00%
Traceback (most recent call last):
  File "/opt/nordic/ncs/current/zephyr/scripts/zephyr_module.py", line 542, in <module>
    main()
  File "/opt/nordic/ncs/current/zephyr/scripts/zephyr_module.py", line 534, in main
    meta = process_meta(args.zephyr_base, west_proj, modules,
  File "/opt/nordic/ncs/current/zephyr/scripts/zephyr_module.py", line 318, in process_meta
    if project.sha(MANIFEST_REV_BRANCH) != revision:
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 847, in sha
    cp = self.git(f'rev-parse {rev}^{{commit}}', capture_stdout=True,
  File "/opt/nordic/ncs/v1.9.1/toolchain/lib/python3.9/site-packages/west/manifest.py", line 831, in git
    raise subprocess.CalledProcessError(popen.returncode, cmd_list,
subprocess.CalledProcessError: Command '['rev-parse', 'manifest-rev^{commit}']' returned non-zero exit status 128.
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/current/toolchain/bin/cmake --build /opt/nordic/ncs/v1.9.1/nrf/samples/nrf9160/at_client/build
21828 18:19: at_client/ ((v1.9.1)) $ 

    A few things here:

    1. The version of NCS you’re using is not supported for the boards right now (not tested). The latest I can support is v1.7.x. https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers You can take a look at the at_client sample there on how I set it up.

    2. I’m not sure how you’ve initialized your Zephyr repository but the easiest way, by far, is to use the VSCode extension. You’re getting some interesting Python errors which are typical of a bad install/setup. My docs also should apply for the Thing Plus. The documentation on Sparkfun site is out of date since there have been many changes and improvements since: https://docs.jaredwolff.com/nrf9160-getting-started.html

      jaredwolff I haven’t even tried to use VS Code, because of the M1 issues preventing that. Is there a command-line-only way to do it?

      I’ll try to DL the 1.7 SDK.

        I had installed my tools following the SparkFun instructions (they really should update to point to yours).

        I tried following your steps using my M1 VS Code, and it seems to work. But the init zephyr step is confusing. It prompts me for a directory, but your instructions say to use a URL. Anyway, I created an empty folder and set that, then VS Code prompted me to save my workspace (I have another workspace open for a web project I’m working on, not sure if it was that it was trying to save; it never has before). I canceled that, now I’m not sure where I stand.

          Ah yeah, I get an error “invalid repository URL provided,” but I don’t know where to specify that.

            I tried cloning the git repo you referenced and selecting that for init. It seemed to accept that, but build complains that init hasn’t been run. Something isn’t right.

            Also, your instructions have me install git and python3, but those already exist in macOS if Xcode is installed (which it is), so I’ve skipped that step.

            Also, nRF Connect installed its own copy of git that was super broken, so I removed nRF’s bin from my PATH.

              I tried installing everything (starting with Xcode) on my older Intel Mac, and this time the init command prompted me for a repo URL. So either my M1 install is busted, or something about being M1 breaks init.

                Just to verify, what board name do I use for the SparkFun Thing+? circuitdojo_feather_nrf9160ns?

                  I was able to build and flash the at_client sample (and I found a SparkFun-specific board string), and I used the load & monitor function. I can see the output in the VS Code terminal:

                  Connecting..
                  Connected to /dev/tty.usbserial-1430!
                  *** Booting Zephyr OS build v2.6.99-ncs1-1  ***
                  The AT host sample started

                  But it doesn’t respond to me typing “at” at all. Not sure if I should be able to do that in the VS Code Terminal or not.

                  UPDATE: I connected to the Thing+ using screen in a Terminal.app window and I can send it AT commands. Now to figure out how to actually connect to LTE…

                  Also: I don’t think I have the nRF Connect app and tools installed (like the LTE Link Monitor) after running through your setup instructions, is that right? Or did your VS Code extension install those? I can’t seem to find them via Spotlight.

                    Ah! I set the APN to “hologram” and CFUN to 1, and after a bit my hologram dashboard showed it connected! This is exciting! Now to wait for my GPS antenna to arrive…

                    I’d still like to be able to use the LTE Link Monitor.

                      a year later

                      I am sorry for newbie question. But i am trying to run the “nrf9160/location” example using a Vodafone SIM card, but i did not find where I can set the APN…

                        vinifr you can set the APN in runtime by using the pdn API: https://github.com/nrfconnect/sdk-nrf/tree/main/samples/nrf9160/pdn

                        or

                        You can use CONFIG_PDN_DEFAULT_APN to set it in your .conf file.

                        CONFIG_PDN_DEFAULTS_OVERRIDE=y
                        CONFIG_PDN_DEFAULT_APN="your-apn"

                        If you have any other questions feel free to open a new thread.

                        Terms and Conditions | Privacy Policy