west build --build-dir build ./application --pristine --board nrf5340dk_nrf5340_cpuapp_ns -- -DSIGNING_KEY_FILENAME=priv-dev.pem -DCONF_FILE=prj.conf -DEXTRA_CONF_FILE=overlay-development.conf -DEXTRA_CONF_FILE=../external/boards/nrf5340dk_nrf5340_cpuapp_ns.conf -DEXTRA_DTC_OVERLAY_FILE=../external/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay -- west build: making build dir /Users/marcorussi/firmware/elimo/template-app-aws/build pristine -- west build: generating a build system Building image version .. Loading Zephyr default modules (Zephyr base). -- Application: /Users/marcorussi/firmware/elimo/template-app-aws/application -- CMake version: 3.28.1 -- Using NCS Toolchain 2.6.20240304.378197178396 for building. (/opt/nordic/ncs/toolchains/580e4ef81c/cmake) -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/marcorussi/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk_nrf5340_cpuapp_ns -- 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: /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_ns.dts -- Found devicetree overlay: ../external/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay -- Generated zephyr.dts: /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/dts.cmake warning: MBEDTLS_KEY_EXCHANGE_RSA_ENABLED (defined at /Users/marcorussi/firmware/elimo/template-app- aws/external/nrf/subsys/nrf_security/Kconfig.tls:406, modules/mbedtls/Kconfig.tls-generic:101, modules/mbedtls/Kconfig.tls-generic:101) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_HAS_RSA_CIPHERSUITE_REQUIREMENTS && MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (!(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (!(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_ENABLED and/or look up MBEDTLS_KEY_EXCHANGE_RSA_ENABLED 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: MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED (defined at /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/Kconfig.tls:419, modules/mbedtls/Kconfig.tls-generic:108, modules/mbedtls/Kconfig.tls-generic:108) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_HAS_CIPHER_MODE_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_ECDH_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_RSA_CIPHERSUITE_REQUIREMENTS && MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (MBEDTLS_ECDH_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls- generic.h" && MBEDTLS) || (MBEDTLS_ECDH_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED and/or look up MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED 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: MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED (defined at /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/Kconfig.tls:427, modules/mbedtls/Kconfig.tls-generic:112, modules/mbedtls/Kconfig.tls-generic:112) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_HAS_CIPHER_MODE_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_ECDH_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_ECDSA_CIPHERSUITE_REQUIREMENTS && MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (MBEDTLS_ECDH_C && MBEDTLS_ECDSA_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (MBEDTLS_ECDH_C && MBEDTLS_ECDSA_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls- generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED and/or look up MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED 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: MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED (defined at /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/Kconfig.tls:443, modules/mbedtls/Kconfig.tls-generic:123, modules/mbedtls/Kconfig.tls-generic:123) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_HAS_CIPHER_MODE_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_ECDH_CIPHERSUITE_REQUIREMENTS && MBEDTLS_HAS_RSA_CIPHERSUITE_REQUIREMENTS && MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (MBEDTLS_ECDH_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls- generic.h" && MBEDTLS) || (MBEDTLS_ECDH_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED and/or look up MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED 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: MBEDTLS_ECDH_C (defined at /Users/marcorussi/firmware/elimo/template-app- aws/external/nrf/subsys/nrf_security/Kconfig.legacy:534, modules/mbedtls/Kconfig.tls-generic:133, modules/mbedtls/Kconfig.tls-generic:133) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_ECP_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (MBEDTLS_ECP_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (MBEDTLS_ECP_C && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_ECDH_C and/or look up MBEDTLS_ECDH_C 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: MBEDTLS_PKCS1_V15 (defined at /Users/marcorussi/firmware/elimo/template-app- aws/external/nrf/subsys/nrf_security/Kconfig.legacy:685) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: MBEDTLS_RSA_C (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PKCS1_V15 and/or look up MBEDTLS_PKCS1_V15 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: Experimental symbol NET_SOCKETS_SOCKOPT_TLS is enabled. warning: Experimental symbol NET_CONNECTION_MANAGER is enabled. Parsing /Users/marcorussi/firmware/elimo/template-app-aws/application/Kconfig Loaded configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_ns_defconfig' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/application/prj.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/application/../external/boards/nrf5340dk_nrf5340_cpuapp_ns.conf' Configuration saved to '/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/.config' Kconfig header saved to '/Users/marcorussi/firmware/elimo/template-app-aws/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/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/samples/bluetooth/hci_ipc -- CMake version: 3.28.1 -- Using NCS Toolchain 2.6.20240304.378197178396 for building. (/opt/nordic/ncs/toolchains/580e4ef81c/cmake) -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/marcorussi/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/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: /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/zephyr/dts.cmake Parsing /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/Kconfig Loaded configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/samples/bluetooth/hci_ipc/prj.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/bootloader/image/secure_boot.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to '/Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/zephyr/.config' Kconfig header saved to '/Users/marcorussi/firmware/elimo/template-app-aws/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/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/samples/nrf5340/netboot -- CMake version: 3.28.1 -- Using NCS Toolchain 2.6.20240304.378197178396 for building. (/opt/nordic/ncs/toolchains/580e4ef81c/cmake) -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/marcorussi/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/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: /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n/zephyr/dts.cmake Parsing /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/samples/nrf5340/netboot/Kconfig Loaded configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/samples/nrf5340/netboot/prj.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/partition_manager/partition_manager_enabled.conf' Configuration saved to '/Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n/zephyr/.config' Kconfig header saved to '/Users/marcorussi/firmware/elimo/template-app-aws/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 /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/CMakeLists.txt:1957 (message): __ASSERT() statements are globally ENABLED -- Configuring done (2.3s) -- Generating done (0.1s) -- Build files have been written to: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc/b0n === child image b0n - CPUNET (inherited) end === CMake Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/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): /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/bootloader/cmake/provision_hex.cmake:47 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/CMakeLists.txt:20 (include) CMake Deprecation Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- libmetal version: 1.4.0 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/samples/bluetooth/hci_ipc) -- Build type: -- Host: Darwin/arm64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found CMake Deprecation Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- open-amp version: 1.4.0 (/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp) -- Host: Darwin/arm64 -- 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 /Users/marcorussi/firmware/elimo/template-app-aws/external/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): /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/kernel.cmake:248 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/zephyr_default.cmake:138 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:5 (find_package) -- Configuring done (5.0s) -- Generating done (0.1s) -- Build files have been written to: /Users/marcorussi/firmware/elimo/template-app-aws/build/hci_ipc === child image hci_ipc - CPUNET end === CMake Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/CMakeLists.txt:12 (message): Credentials are exposed in non-secure memory. This should be avoided in production. -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found version "3.9.6") found components: Interpreter Changed board to secure nrf5340dk_nrf5340_cpuapp (NOT NS) === child image mcuboot - begin === loading initial cache file /Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: /Users/marcorussi/firmware/elimo/template-app-aws/external/bootloader/mcuboot/boot/zephyr -- CMake version: 3.28.1 -- Using NCS Toolchain 2.6.20240304.378197178396 for building. (/opt/nordic/ncs/toolchains/580e4ef81c/cmake) -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/marcorussi/Library/Caches/zephyr -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/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: /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/mcuboot/usb.overlay -- Generated zephyr.dts: /Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: /Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/zephyr/dts.cmake Parsing /Users/marcorussi/firmware/elimo/template-app-aws/external/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/pcd/pcd.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/mcuboot/tfm.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/mcuboot/fih_low_enable.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration '/Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to '/Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot/zephyr/.config' Kconfig header saved to '/Users/marcorussi/firmware/elimo/template-app-aws/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: /Users/marcorussi/firmware/elimo/template-app-aws/application/keys/priv-dev.pem -- Configuring done (2.4s) -- Generating done (0.1s) -- Build files have been written to: /Users/marcorussi/firmware/elimo/template-app-aws/build/mcuboot === child image mcuboot - end === CMake Deprecation Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- libmetal version: 1.4.0 (/Users/marcorussi/firmware/elimo/template-app-aws/application) -- Build type: -- Host: Darwin/arm64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found CMake Deprecation Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- open-amp version: 1.4.0 (/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp) -- Host: Darwin/arm64 -- 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 /Users/marcorussi/firmware/elimo/template-app-aws/external/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): /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/kernel.cmake:248 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/zephyr_default.cmake:138 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:33 (find_package) -- Configuring done (12.2s) -- Generating done (0.2s) -- Build files have been written to: /Users/marcorussi/firmware/elimo/template-app-aws/build -- west build: building application [1/545] Preparing syscall dependency handling [11/545] Performing build step for 'hci_ipc_subimage' [0/226] Generating signing key [1/226] Preparing syscall dependency handling [9/226] Performing build step for 'b0n_subimage' [1/141] Preparing syscall dependency handling [4/141] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr), build: v3.5.99-ncs1 [141/141] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 24130 B 34176 B 70.61% RAM: 3528 B 64 KB 5.38% SRAM1: 0 GB 64 KB 0.00% IDT_LIST: 0 GB 32 KB 0.00% [10/226] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr), build: v3.5.99-ncs1 [198/226] Creating public key from private key used for signing [204/226] Creating data to be provisioned to the Bootloader, storing to provision.hex [222/226] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 175900 B 222 KB 77.38% RAM: 47636 B 64 KB 72.69% SRAM1: 0 GB 64 KB 0.00% IDT_LIST: 0 GB 32 KB 0.00% [223/226] Creating signature of application [224/226] Creating validation for zephyr.hex, storing to [226/226] Generating zephyr/merged_CPUNET.hex [14/545] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr), build: v3.5.99-ncs1 [19/545] Generating ../../tfm/CMakeCache.txt CMake Warning at cmake/version.cmake:22 (message): Actual TF-M version is not available from Git repository. Settled to v2.0.0 Call Stack (most recent call first): CMakeLists.txt:22 (include) -- Found Git: /usr/bin/git (found version "2.39.3 (Apple Git-146)") -- 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 -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found version "3.9.6") found components: Interpreter CMake Deprecation Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/FindDeprecated.cmake:121 (message): 'PYTHON_PREFER' variable is deprecated. Please use Python3_EXECUTABLE instead. Call Stack (most recent call first): /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/python.cmake:16 (find_package) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/user_cache.cmake:30 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/cmake/modules/extensions.cmake:5 (include) /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/CMakeLists.txt:38 (include) -- Found Python3: /opt/nordic/ncs/toolchains/580e4ef81c/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/marcorussi/Library/Caches/zephyr -- Configuring done (1.0s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CRYPTO_RNG_MODULE_ENABLED MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE PYTHON_PREFER -- Build files have been written to: /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm [25/545] Performing build step for 'tfm' [46/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_alloc.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_alloc.c:13: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [47/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_cipher.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_cipher.c:12: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [48/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_init.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_init.c:11: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [49/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_hash.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_hash.c:12: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [50/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_mac.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_mac.c:12: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [51/169] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o FAILED: secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_LOG_SHARE_UART -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMCUBOOT_IMAGE_NUMBER=1 -DNRF5340_XXAA_APPLICATION -DNRF53_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=0 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPSA_CRYPTO_SECURE -DPS_CRYPTO_AEAD_ALG_GCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/secure_fw/partitions/crypto -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf5340/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/../zephyr/misc/generated/syscalls_links/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/config -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/generated/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_cc312_platform/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/psa_driver_api -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/tfm/../../../../nrfxlib/crypto/nrf_oberon/include/mbedtls -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/drivers -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -nostdlib -std=c99 -gdwarf-4 -g -mcmse -mfloat-abi=soft -Wno-unused-value -include /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o -MF secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o.d -o secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_aead.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/include/generated/nrf-psa-crypto-config.h:464, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:105, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/psa/build_info.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto_platform.h:44, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/psa/crypto.h:28, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/tfm_mbedcrypto_include.h:18, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_aead.c:12: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/check_crypto_config.h:100:2: error: #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" 100 | #error "PSA_WANT_ALG_ECDH defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:148:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites" 148 | #error "MBEDTLS_ECP_C defined, but not all prerequisites" | ^~~~~ [55/169] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o ninja: build stopped: subcommand failed. [28/545] Generating ../../zephyr/net_core_app_update.bin image.py: sign the payload [29/545] Generating ../../zephyr/net_core_app_signed.hex image.py: sign the payload FAILED: modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build tfm/bin/tfm_s.elf tfm/bin/tfm_s.bin tfm/bin/tfm_s.hex tfm/bin/tfm_s_signed.bin tfm/bin/tfm_s_ns_signed.bin tfm/api_ns/interface/lib/s_veneers.o tfm/api_ns/interface/src/tfm_attest_api.c tfm/api_ns/interface/src/tfm_crypto_api.c tfm/api_ns/interface/src/tfm_fwu_api.c tfm/api_ns/interface/src/tfm_its_api.c tfm/api_ns/interface/src/tfm_platform_api.c tfm/api_ns/interface/src/tfm_ps_api.c tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/bin/tfm_s.elf /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/bin/tfm_s.bin /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/bin/tfm_s.hex /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/bin/tfm_s_signed.bin /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/bin/tfm_s_ns_signed.bin /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/lib/s_veneers.o /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_attest_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_crypto_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_fwu_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_its_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_platform_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_ps_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c cd /Users/marcorussi/firmware/elimo/template-app-aws/build/tfm && /opt/homebrew/Cellar/cmake/3.28.1/bin/cmake --build . [31/545] Generating ../../zephyr/net_core_app_test_update.hex image.py: sign the payload ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/marcorussi/firmware/elimo/template-app-aws/build