west build --build-dir build ./application --pristine --board nrf5340dk_nrf5340_cpuapp_ns -- -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: 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: NRF_SECURITY (defined at /Users/marcorussi/firmware/elimo/template-app- aws/external/nrf/subsys/nrf_security/Kconfig:33) was assigned the value 'n' but got the value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF_SECURITY and/or look up NRF_SECURITY 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.4s) -- 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/external/bootloader/mcuboot/root-rsa-2048.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 Warning at /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/mcuboot/CMakeLists.txt:382 (message): --------------------------------------------------------- --- WARNING: Using default MCUBoot key, it should not --- --- be used for production. --- --------------------------------------------------------- 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:32 (find_package) -- Configuring done (12.3s) -- 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 [159/226] Creating public key from private key used for signing [161/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 (2.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 'mcuboot_subimage' [1/276] Preparing syscall dependency handling [5/276] Generating include/generated/version.h -- Zephyr version: 3.5.99 (/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr), build: v3.5.99-ncs1 [276/276] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 39232 B 48 KB 79.82% RAM: 22736 B 40 KB 55.51% IDT_LIST: 0 GB 32 KB 0.00% [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 [30/545] Generating ../../zephyr/net_core_app_test_update.hex image.py: sign the payload [32/545] Performing build step for 'tfm' [165/169] Linking C executable bin/tfm_s.axf Memory region Used Size Region Size %age Used FLASH: 31592 B 32256 B 97.94% RAM: 10416 B 32 KB 31.79% [169/169] Linking C static library secure_fw/libtfm_s_veneers.a [36/545] Performing install step for 'tfm' -- Install configuration: "MinSizeRel" ----- Installing platform NS ----- [39/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves_new.c:8: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [40/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa_alt_helpers.c:9: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [41/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecdsa.c:14: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [42/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hkdf.c:7: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [43/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/gcm.c:18: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [44/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c:8: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp_curves.c:14: /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/ecp.h:352:2: error: #error "Missing definition of MBEDTLS_ECP_MAX_BITS" 352 | #error "Missing definition of MBEDTLS_ECP_MAX_BITS" | ^~~~~ [45/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/rsa.c:26: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [46/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/hmac_drbg.c:14: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ [47/545] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c.obj FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c.obj ccache /opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-want-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/nrf53 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/libc/common/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/lib/posix/getopt/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/common/nordic_nrf/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/soc/arm/nordic_nrf/common/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/bluetooth -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/l2 -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/lib/dns/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/ip -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/net/conn_mgr/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/subsys/settings/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include -I/Users/marcorussi/firmware/elimo/template-app-aws/build/tfm/api_ns/interface/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/fota_download/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/aws_fota/./include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/net/lib/mqtt_helper/cert -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/trusted-firmware-m/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/include/tfm -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/tests/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-if/drivers/misc/daliif/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/dali-lib/modules/dalilib/. -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/cjson -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/modules/cjson/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/cmsis/CMSIS/Core/Include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/cmsis/. -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/drivers/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/hal/nordic/nrfx/mdk -I/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/modules/hal_nordic/nrfx/. -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/libmetal/libmetal/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/lib/open-amp/open-amp/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/tinycrypt/lib/include -I/Users/marcorussi/firmware/elimo/template-app-aws/application/src/test/creds -I/Users/marcorussi/firmware/elimo/template-app-aws/build/modules/nrf/subsys/nrf_security/src/include/generated -I/Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/subsys/nrf_security/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/nrfxlib/softdevice_controller/include -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem /Users/marcorussi/firmware/elimo/template-app-aws/external/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros /Users/marcorussi/firmware/elimo/template-app-aws/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/nordic/ncs/toolchains/580e4ef81c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/application=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws/external/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/marcorussi/firmware/elimo/template-app-aws=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -D_POSIX_THREADS -std=c99 -Wno-unused-function -Wno-unused-variable -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c.obj -MF modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c.obj -c /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/build_info.h:144, from /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/library/common.h:26, from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c:32: /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:395:2: error: #error "MBEDTLS_PK_C defined, but not all prerequisites" 395 | #error "MBEDTLS_PK_C defined, but not all prerequisites" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:843:2: error: #error "One or more versions of the TLS protocol are enabled " "but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx" 843 | #error "One or more versions of the TLS protocol are enabled " \ | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/nrf/ext/oberon/psa/core/include/mbedtls/check_config.h:1037:2: error: #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" 1037 | #error "MBEDTLS_SSL_CONTEXT_SERIALIZATION defined, but not all prerequisites" | ^~~~~ In file included from /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c:65: /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/include/mbedtls/ecp.h:352:2: error: #error "Missing definition of MBEDTLS_ECP_MAX_BITS" 352 | #error "Missing definition of MBEDTLS_ECP_MAX_BITS" | ^~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c: In function 'mbedtls_ecp_point_write_binary': /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c:755:1: warning: label 'cleanup' defined but not used [-Wunused-label] 755 | cleanup: | ^~~~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c: In function 'mbedtls_ecp_point_read_binary': /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c:834:1: warning: label 'cleanup' defined but not used [-Wunused-label] 834 | cleanup: | ^~~~~~~ /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c: In function 'mbedtls_ecp_write_key': /Users/marcorussi/firmware/elimo/template-app-aws/external/modules/crypto/mbedtls/library/ecp.c:3319:1: warning: label 'cleanup' defined but not used [-Wunused-label] 3319 | cleanup: | ^~~~~~~ [48/545] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj ninja: build stopped: subcommand failed.