Need some help with:
nrf5340 - custom board
NO external Flash
DFU over BLE with simultaneous update of both images allowed ( using this devzone concept with static partition layout)
builds perfectly with SDK v2.5.2 (which was migrated from v2.3.2)
* Executing task: nRF Connect: Build [pristine]: sensor_firmware/build (active) Building sensor_firmware west build --build-dir /Users/gerardbucas/GitHub/sensor_firmware/build /Users/gerardbucas/GitHub/sensor_firmware --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -Dhci_ipc_OVERLAY_CONFIG=/opt/nordic/ncs/v2.6.0/nrf/samples/common/mcumgr_bt_ota_dfu/rpmsg_child_image_overlay.conf;/opt/nordic/ncs/v2.6.0/nrf/subsys/bootloader/image/secure_boot.conf;/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/partition_manager_enabled.conf -Dmcuboot_CONF_FILE=/Users/gerardbucas/GitHub/sensor_firmware/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf -Dmcuboot_DTC_OVERLAY_FILE=/opt/nordic/ncs/v2.6.0/nrf/modules/mcuboot/flash_sim.overlay -Dmcuboot_OVERLAY_CONFIG=/opt/nordic/ncs/v2.6.0/nrf/subsys/pcd/pcd.conf;/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf;/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/partition_manager_enabled.conf -DCACHED_CONF_FILE=/Users/gerardbucas/GitHub/sensor_firmware/prj.conf -DDTC_OVERLAY_FILE=/Users/gerardbucas/GitHub/sensor_firmware/nrf5340dk_nrf5340_cpuapp.overlay -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: /Users/gerardbucas/GitHub/sensor_firmware -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/gerardbucas/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk_nrf5340_cpuapp -- Found host-tools: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/580e4ef81c/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: /Users/gerardbucas/GitHub/sensor_firmware/nrf5340dk_nrf5340_cpuapp.overlay -- Generated zephyr.dts: /Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/gerardbucas/GitHub/sensor_firmware/build/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: SERIAL (=n), SERIAL_HAS_DRIVER (=n), CONSOLE (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_CONSOLE 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. warning: LOG_DEFAULT_LEVEL (defined at subsys/logging/Kconfig.filtering:13) was assigned the value '3' but got the value ''. Check these unsatisfied dependencies: LOG (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_DEFAULT_LEVEL and/or look up LOG_DEFAULT_LEVEL 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/v2.6.0/zephyr/Kconfig Loaded configuration '/opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration '/Users/gerardbucas/GitHub/sensor_firmware/prj.conf' Configuration saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/.config' Kconfig header saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc === child image hci_ipc - CPUNET begin === loading initial cache file /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/child_image_preload.cmake -- Application: /opt/nordic/ncs/v2.6.0/zephyr/samples/bluetooth/hci_ipc -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/gerardbucas/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk_nrf5340_cpunet -- Found host-tools: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/580e4ef81c/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/dts.cmake Parsing /opt/nordic/ncs/v2.6.0/zephyr/Kconfig Loaded configuration '/opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig' Merged configuration '/opt/nordic/ncs/v2.6.0/zephyr/samples/bluetooth/hci_ipc/prj.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/samples/common/mcumgr_bt_ota_dfu/rpmsg_child_image_overlay.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/bootloader/image/secure_boot.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration '/Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/.config' Kconfig header saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/zephyr/include/generated/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc === child image b0n - CPUNET (inherited) begin === loading initial cache file /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: /opt/nordic/ncs/v2.6.0/nrf/samples/nrf5340/netboot -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/gerardbucas/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk_nrf5340_cpunet -- Found host-tools: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/580e4ef81c/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/zephyr/dts.cmake Parsing /opt/nordic/ncs/v2.6.0/nrf/samples/nrf5340/netboot/Kconfig Loaded configuration '/opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/samples/nrf5340/netboot/prj.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Configuration saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/zephyr/.config' Kconfig header saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n/zephyr/include/generated/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -- Using ccache: /opt/nordic/ncs/toolchains/580e4ef81c/bin/ccache CMake Warning at /opt/nordic/ncs/v2.6.0/zephyr/CMakeLists.txt:1957 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc/b0n === child image b0n - CPUNET (inherited) end === CMake Warning at /opt/nordic/ncs/v2.6.0/nrf/subsys/bootloader/cmake/debug_keys.cmake:36 (message): -------------------------------------------------------------- --- WARNING: Using generated NSIB public/private key-pair. --- --- It should not be used for production. --- --- See CONFIG_SB_SIGNING_KEY_FILE --- -------------------------------------------------------------- Call Stack (most recent call first): /opt/nordic/ncs/v2.6.0/nrf/subsys/bootloader/cmake/provision_hex.cmake:47 (include) /opt/nordic/ncs/v2.6.0/nrf/subsys/CMakeLists.txt:20 (include) -- libmetal version: 1.4.0 (/opt/nordic/ncs/v2.6.0/zephyr/samples/bluetooth/hci_ipc) -- Build type: -- Host: Darwin/x86_64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.4.0 (/opt/nordic/ncs/v2.6.0/modules/lib/open-amp/open-amp) -- Host: Darwin/x86_64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Using ccache: /opt/nordic/ncs/toolchains/580e4ef81c/bin/ccache CMake Warning at /opt/nordic/ncs/v2.6.0/nrf/cmake/partition_manager.cmake:79 (message): --------------------------------------------------------------------- --- WARNING: Using a bootloader without pm_static.yml. --- --- There are cases where a deployed product can consist of --- --- multiple images, and only a subset of these images can be --- --- upgraded through a firmware update mechanism. In such cases, --- --- the upgradable images must have partitions that are static --- --- and are matching the partition map used by the bootloader --- --- programmed onto the device. --- --------------------------------------------------------------------- Call Stack (most recent call first): /opt/nordic/ncs/v2.6.0/zephyr/cmake/modules/kernel.cmake:248 (include) /opt/nordic/ncs/v2.6.0/zephyr/cmake/modules/zephyr_default.cmake:138 (include) /opt/nordic/ncs/v2.6.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /opt/nordic/ncs/v2.6.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:5 (find_package) -- Configuring done -- Generating done -- Build files have been written to: /Users/gerardbucas/GitHub/sensor_firmware/build/hci_ipc === child image hci_ipc - CPUNET end === -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/opt/[email protected]/bin/python3.9 (found version "3.9.6") found components: Interpreter === child image mcuboot - begin === loading initial cache file /Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: /opt/nordic/ncs/v2.6.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/gerardbucas/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk_nrf5340_cpuapp -- Found host-tools: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/580e4ef81c/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: /opt/nordic/ncs/v2.6.0/nrf/modules/mcuboot/flash_sim.overlay -- Generated zephyr.dts: /Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/dts.cmake Parsing /opt/nordic/ncs/v2.6.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration '/opt/nordic/ncs/v2.6.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration '/Users/gerardbucas/GitHub/sensor_firmware/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/pcd/pcd.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf' Merged configuration '/opt/nordic/ncs/v2.6.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration '/Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/.config' Kconfig header saved to '/Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot/zephyr/include/generated/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -- Using ccache: /opt/nordic/ncs/toolchains/580e4ef81c/bin/ccache MCUBoot bootloader key file: /opt/nordic/ncs/v2.6.0/bootloader/mcuboot/root-rsa-2048.pem -- Configuring done -- Generating done -- Build files have been written to: /Users/gerardbucas/GitHub/sensor_firmware/build/mcuboot === child image mcuboot - end === CMake Warning at /opt/nordic/ncs/v2.6.0/nrf/modules/mcuboot/CMakeLists.txt:382 (message): --------------------------------------------------------- --- WARNING: Using default MCUBoot key, it should not --- --- be used for production. --- --------------------------------------------------------- -- libmetal version: 1.4.0 (/Users/gerardbucas/GitHub/sensor_firmware) -- Build type: -- Host: Darwin/x86_64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.4.0 (/opt/nordic/ncs/v2.6.0/modules/lib/open-amp/open-amp) -- Host: Darwin/x86_64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Using ccache: /opt/nordic/ncs/toolchains/580e4ef81c/bin/ccache -- Found partition manager static configuration: /Users/gerardbucas/GitHub/sensor_firmware/pm_static.yml Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary_1' is not included in the dynamic resolving since it is statically defined. Partition 'pcd_sram' is not included in the dynamic resolving since it is statically defined. Partition 'rpmsg_nrf53_sram' is not included in the dynamic resolving since it is statically defined. Partition 'settings_storage' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_1' is not included in the dynamic resolving since it is statically defined. -- Configuring done -- Generating done -- Build files have been written to: /Users/gerardbucas/GitHub/sensor_firmware/build -- west build: building application [1/314] Preparing syscall dependency handling [8/314] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr), build: v3.5.99-ncs1 [1/224] Preparing syscall dependency handling [3/224] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr), build: v3.5.99-ncs1 [1/139] Preparing syscall dependency handling [3/139] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/opt/nordic/ncs/v2.6.0/zephyr), build: v3.5.99-ncs1 [139/139] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 23710 B 34176 B 69.38% RAM: 3528 B 64 KB 5.38% SRAM1: 0 GB 64 KB 0.00% IDT_LIST: 0 GB 32 KB 0.00% [220/224] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 175900 B 222 KB 77.38% RAM: 58252 B 64 KB 88.89% SRAM1: 0 GB 64 KB 0.00% IDT_LIST: 0 GB 32 KB 0.00% [285/314] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj FAILED: zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/opt/nordic/ncs/v2.6.0/zephyr/include -I/Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated -I/opt/nordic/ncs/v2.6.0/zephyr/soc/arm/nordic_nrf/nrf53 -I/opt/nordic/ncs/v2.6.0/zephyr/lib/libc/newlib/include -I/opt/nordic/ncs/v2.6.0/zephyr/soc/common/nordic_nrf/. -I/opt/nordic/ncs/v2.6.0/zephyr/soc/arm/nordic_nrf/common/. -I/opt/nordic/ncs/v2.6.0/zephyr/subsys/mgmt/mcumgr/util/include -I/opt/nordic/ncs/v2.6.0/bootloader/mcuboot/boot/bootutil/include -I/opt/nordic/ncs/v2.6.0/zephyr/subsys/mgmt/mcumgr/transport/include -I/opt/nordic/ncs/v2.6.0/bootloader/mcuboot/boot/zephyr/include -I/opt/nordic/ncs/v2.6.0/zephyr/subsys/bluetooth -I/opt/nordic/ncs/v2.6.0/zephyr/subsys/settings/include -I/opt/nordic/ncs/v2.6.0/nrf/include -I/opt/nordic/ncs/v2.6.0/nrf/tests/include -I/opt/nordic/ncs/v2.6.0/modules/hal/cmsis/CMSIS/Core/Include -I/opt/nordic/ncs/v2.6.0/zephyr/modules/cmsis/. -I/opt/nordic/ncs/v2.6.0/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v2.6.0/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v2.6.0/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v2.6.0/zephyr/modules/hal_nordic/nrfx/. -I/Users/gerardbucas/GitHub/sensor_firmware/build/modules/libmetal/libmetal/lib/include -I/opt/nordic/ncs/v2.6.0/modules/lib/open-amp/open-amp/lib/include -I/opt/nordic/ncs/v2.6.0/modules/crypto/tinycrypt/lib/include -I/opt/nordic/ncs/v2.6.0/modules/lib/zcbor/include -I/opt/nordic/ncs/v2.6.0/nrfxlib/softdevice_controller/include -isystem /opt/nordic/ncs/v2.6.0/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/v2.6.0/nrfxlib/crypto/nrf_cc312_platform/include -Wshadow -fno-strict-aliasing -Os -imacros /Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/gerardbucas/GitHub/sensor_firmware=CMAKE_SOURCE_DIR -fmacro-prefix-map=/opt/nordic/ncs/v2.6.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/nordic/ncs/v2.6.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj -MF zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj.d -o zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj -c /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c In file included from /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_macro.h:34, from /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/irq_multilevel.h:15, from /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/devicetree.h:20, from /opt/nordic/ncs/v2.6.0/zephyr/modules/hal_nordic/nrfx/./nrfx_config.h:10, from /opt/nordic/ncs/v2.6.0/modules/hal/nordic/nrfx/nrfx.h:37, from /opt/nordic/ncs/v2.6.0/modules/hal/nordic/nrfx/drivers/include/nrfx_gpiote.h:37, from /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:9: /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: "Please enable GPIOTE instance for used GPIO port!" 87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG) | ^~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET' 72 | #define __DEBRACKET(...) __VA_ARGS__ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1' 180 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/devicetree.h:4151:9: note: in expansion of macro 'COND_CODE_1' 4151 | COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT), \ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET' 69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1' 180 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:448:9: note: in expansion of macro 'COND_CODE_1' 448 | COND_CODE_1(DT_INST_NODE_HAS_PROP(id, gpiote_instance), \ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:449:18: note: in expansion of macro 'BUILD_ASSERT' 449 | (BUILD_ASSERT(DT_NODE_HAS_STATUS(GPIOTE_PHANDLE(id), okay), \ | ^~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:454:9: note: in expansion of macro 'GPIOTE_CHECK' 454 | GPIOTE_CHECK(id); \ | ^~~~~~~~~~~~ /Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated/devicetree_generated.h:15289:50: note: in expansion of macro 'GPIO_NRF_DEVICE' 15289 | #define DT_FOREACH_OKAY_INST_nordic_nrf_gpio(fn) fn(0) fn(1) | ^~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:105:36: note: in expansion of macro 'DT_FOREACH_OKAY_INST_nordic_nrf_gpio' 105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__ | ^ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:476:1: note: in expansion of macro 'DT_INST_FOREACH_STATUS_OKAY' 476 | DT_INST_FOREACH_STATUS_OKAY(GPIO_NRF_DEVICE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: "Please enable GPIOTE instance for used GPIO port!" 87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG) | ^~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET' 72 | #define __DEBRACKET(...) __VA_ARGS__ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1' 180 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/devicetree.h:4151:9: note: in expansion of macro 'COND_CODE_1' 4151 | COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT), \ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET' 69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1' 180 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:448:9: note: in expansion of macro 'COND_CODE_1' 448 | COND_CODE_1(DT_INST_NODE_HAS_PROP(id, gpiote_instance), \ | ^~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:449:18: note: in expansion of macro 'BUILD_ASSERT' 449 | (BUILD_ASSERT(DT_NODE_HAS_STATUS(GPIOTE_PHANDLE(id), okay), \ | ^~~~~~~~~~~~ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:454:9: note: in expansion of macro 'GPIOTE_CHECK' 454 | GPIOTE_CHECK(id); \ | ^~~~~~~~~~~~ /Users/gerardbucas/GitHub/sensor_firmware/build/zephyr/include/generated/devicetree_generated.h:15289:56: note: in expansion of macro 'GPIO_NRF_DEVICE' 15289 | #define DT_FOREACH_OKAY_INST_nordic_nrf_gpio(fn) fn(0) fn(1) | ^~ /opt/nordic/ncs/v2.6.0/zephyr/include/zephyr/sys/util_internal.h:105:36: note: in expansion of macro 'DT_FOREACH_OKAY_INST_nordic_nrf_gpio' 105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__ | ^ /opt/nordic/ncs/v2.6.0/zephyr/drivers/gpio/gpio_nrfx.c:476:1: note: in expansion of macro 'DT_INST_FOREACH_STATUS_OKAY' 476 | DT_INST_FOREACH_STATUS_OKAY(GPIO_NRF_DEVICE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [286/314] Building C object CMakeFiles/app.dir/src/main.c.obj ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/580e4ef81c/bin/cmake --build /Users/gerardbucas/GitHub/sensor_firmware/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.