Hello,
Following the ongoing many issues to make Ethernet work alongside the modem on nRF9160 ((Missing Forum Thread) , aws_iot example without network offloading , devzone.nordicsemi.com/.../ (clicking “Convert to public” on this one shows a blank page, Nordic devzone bug)) we are trying to build the aws_iot_mqtt sample (not Nordic’s custom one aws_iot) on the nrf9160dk/nrf9160/ns target.
Here’s the build log:
* Executing task: nRF Connect: Build [pristine]: aws_iot_mqtt/build_devkit (active) Building aws_iot_mqtt west build --build-dir /Users/gildev/Downloads/aws_iot_mqtt/build_devkit /Users/gildev/Downloads/aws_iot_mqtt --pristine --board [email protected]/nrf9160/ns --no-sysbuild -- -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: /Users/gildev/Downloads/aws_iot_mqtt -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/561dce9adf/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: /Users/gildev/Library/Caches/zephyr -- Zephyr version: 4.1.99 (/opt/nordic/ncs/v3.1.1/zephyr) -- Found west (found suitable version "1.4.0", minimum required is "0.14.0") -- Board: nrf9160dk, Revision: 0.14.0, qualifiers: nrf9160/ns -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/561dce9adf/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v3.1.1/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns.dts -- Found devicetree overlay: /opt/nordic/ncs/v3.1.1/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_0_14_0.overlay -- Generated zephyr.dts: /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/zephyr/zephyr.dts -- Generated pickled edt: /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/zephyr/edt.pickle -- Generated devicetree_generated.h: /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/zephyr/include/generated/zephyr/devicetree_generated.h warning: MBEDTLS_MEMORY_DEBUG (defined at /opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/Kconfig.tls:178, modules/mbedtls/Kconfig:166, modules/mbedtls/Kconfig:166) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (MBEDTLS_BUILTIN && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_MEMORY_DEBUG and/or look up MBEDTLS_MEMORY_DEBUG in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_AES_ROM_TABLES (defined at /opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/Kconfig.legacy:454, modules/mbedtls/Kconfig.mbedtls:289, modules/mbedtls/Kconfig.mbedtls:289) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((!(OBERON_BACKEND || CC3XX_BACKEND) && MBEDTLS_CIPHER_MODE_CBC && MBEDTLS_AES_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (MBEDTLS_CIPHER_AES_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS) || (MBEDTLS_CIPHER_AES_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_AES_ROM_TABLES and/or look up MBEDTLS_AES_ROM_TABLES in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SSL_MAX_CONTENT_LEN (defined at modules/hostap/Kconfig:409, modules/mbedtls/Kconfig:73, modules/hostap/Kconfig:409, modules/hostap/Kconfig:409, modules/mbedtls/Kconfig:73) was assigned the value '16384' but got the value ''. Check these unsatisfied dependencies: ((WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT) || (MBEDTLS_BUILTIN && MBEDTLS) || (WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT) || (WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT && 0) || (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN and/or look up MBEDTLS_SSL_MAX_CONTENT_LEN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SSL_ALPN (defined at modules/mbedtls/Kconfig.mbedtls:38, modules/mbedtls/Kconfig.mbedtls:38) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (((MBEDTLS_TLS_VERSION_1_2 || MBEDTLS_TLS_VERSION_1_3) && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS) || ((MBEDTLS_TLS_VERSION_1_2 || MBEDTLS_TLS_VERSION_1_3) && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SSL_ALPN and/or look up MBEDTLS_SSL_ALPN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_PEM_CERTIFICATE_FORMAT (defined at modules/mbedtls/Kconfig.mbedtls:448, modules/mbedtls/Kconfig.mbedtls:448) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT and/or look up MBEDTLS_PEM_CERTIFICATE_FORMAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SERVER_NAME_INDICATION (defined at modules/mbedtls/Kconfig.mbedtls:508, modules/mbedtls/Kconfig.mbedtls:508) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SERVER_NAME_INDICATION and/or look up MBEDTLS_SERVER_NAME_INDICATION in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_HAVE_TIME_DATE (defined at modules/mbedtls/Kconfig.mbedtls:519, modules/mbedtls/Kconfig.mbedtls:519) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HAVE_TIME_DATE and/or look up MBEDTLS_HAVE_TIME_DATE 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: The choice symbol MBEDTLS_BUILTIN (defined at modules/mbedtls/Kconfig:30, modules/mbedtls/Kconfig:30) was selected (set =y), but MBEDTLS_LIBRARY_NRF_SECURITY (defined at /opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/Kconfig:255) ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_BUILTIN and/or look up MBEDTLS_BUILTIN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. Parsing /Users/gildev/Downloads/aws_iot_mqtt/Kconfig Loaded configuration '/opt/nordic/ncs/v3.1.1/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_defconfig' Merged configuration '/Users/gildev/Downloads/aws_iot_mqtt/prj.conf' Configuration saved to '/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/zephyr/.config' Kconfig header saved to '/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/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/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: True Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: True Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: True Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: True Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_library_config =============== -- Using ccache: /opt/nordic/ncs/toolchains/561dce9adf/bin/ccache -- Found gen_kobject_list: /opt/nordic/ncs/v3.1.1/zephyr/scripts/build/gen_kobject_list.py CMake Warning at /opt/nordic/ncs/v3.1.1/zephyr/kernel/CMakeLists.txt:178 (message): CONFIG_HEAP_MEM_POOL_SIZE is less than requested minimum: 512 < 808 Setting the system heap size to 808 CMake Warning at /opt/nordic/ncs/v3.1.1/zephyr/CMakeLists.txt:1027 (message): No SOURCES given to Zephyr library: ..__nrf__subsys__net__lib__tls_credentials Excluding target from build. -- Configuring done -- Generating done -- Build files have been written to: /Users/gildev/Downloads/aws_iot_mqtt/build_devkit -- west build: building application [1/379] Preparing syscall dependency handling [5/379] Generating misc/generated/syscalls.json, misc/generated/str[6/379] Generating include/generated/zephyr/version.h -- Zephyr version: 4.1.99 (/opt/nordic/ncs/v3.1.1/zephyr), build: ncs-v3.1.1 [7/379] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_exports_llext.c, syscall_weakdefs_llext.c, [7/379] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-si[9/379] Generating ../../tfm/CMakeCache.txt -- Found Git: /opt/nordic/ncs/toolchains/561dce9adf/bin/git (found version "2.37.3") -- 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/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -- Found Python3: /opt/nordic/ncs/toolchains/561dce9adf/opt/[email protected]/bin/python3.12 (found version "3.12.4") found components: Interpreter -- Found Python3: /opt/nordic/ncs/toolchains/561dce9adf/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: /Users/gildev/Library/Caches/zephyr -- Configuring done -- Generating done -- Build files have been written to: /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm [10/379] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_exports_llext.c, syscall_weakdefs_llext.c,[12/379] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-s[17/379] Performing build step for 'tfm' [1/143] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o FAILED: secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o /opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_EXT_RNG -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9160_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/include -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/include/generated -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/misc/generated/syscalls_links/include -I/opt/nordic/ncs/v3.1.1/zephyr/include -I/opt/nordic/ncs/v3.1.1/zephyr/soc/nordic/common -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/opt/nordic/ncs/v3.1.1/nrf/include -I/opt/nordic/ncs/v3.1.1/nrf/include/tfm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/config -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/generated/interface_nrf_security_psa -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include/m-profile -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include/library -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=soft -mcmse -Wno-unused-value -include /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o -MF secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o.d -o secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o -c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c In file included from /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:10, from /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.c:17: /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/flash_layout.h:10:10: fatal error: pm_config.h: No such file or directory 10 | #include <pm_config.h> | ^~~~~~~~~~~~~ compilation terminated. [2/143] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o FAILED: secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o /opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_EXT_RNG -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9160_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/include -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/include/generated -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/misc/generated/syscalls_links/include -I/opt/nordic/ncs/v3.1.1/zephyr/include -I/opt/nordic/ncs/v3.1.1/zephyr/soc/nordic/common -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/opt/nordic/ncs/v3.1.1/nrf/include -I/opt/nordic/ncs/v3.1.1/nrf/include/tfm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/config -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/generated/interface_nrf_security_psa -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include/m-profile -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include/library -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=soft -mcmse -Wno-unused-value -include /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o -MF secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o.d -o secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o -c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c In file included from /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:10, from /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.c:17: /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/flash_layout.h:10:10: fatal error: pm_config.h: No such file or directory 10 | #include <pm_config.h> | ^~~~~~~~~~~~~ compilation terminated. [4/143] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o FAILED: secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o /opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_HALT_ON_CORE_PANIC -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_EXT_RNG -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9160_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/spm/include -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/spm/core -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/include -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/include/generated -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/misc/generated/syscalls_links/include -I/opt/nordic/ncs/v3.1.1/zephyr/include -I/opt/nordic/ncs/v3.1.1/zephyr/soc/nordic/common -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/opt/nordic/ncs/v3.1.1/nrf/include -I/opt/nordic/ncs/v3.1.1/nrf/include/tfm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/config -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/generated/interface_nrf_security_psa -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include/m-profile -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include/library -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/interface/include -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=soft -mcmse -Wno-unused-value -include /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o -MF secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o.d -o secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o -c /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/tfm_boot_data.c In file included from /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:10, from /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/tfm_boot_data.c:12: /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/flash_layout.h:10:10: fatal error: pm_config.h: No such file or directory 10 | #include <pm_config.h> | ^~~~~~~~~~~~~ compilation terminated. [7/143] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o FAILED: secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o /opt/nordic/ncs/toolchains/561dce9adf/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_FLOAT_ABI=0 -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_EXT_RNG -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9160_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/crypto -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/.. -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/include -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/include/generated -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/board -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/../zephyr/misc/generated/syscalls_links/include -I/opt/nordic/ncs/v3.1.1/zephyr/include -I/opt/nordic/ncs/v3.1.1/zephyr/soc/nordic/common -I/opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/services/include -I/opt/nordic/ncs/v3.1.1/nrf/include -I/opt/nordic/ncs/v3.1.1/nrf/include/tfm -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/config -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/generated/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -I/Users/gildev/Downloads/aws_iot_mqtt/build_devkit/generated/interface_nrf_security_psa -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -I/opt/nordic/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -I/opt/nordic/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include/m-profile -I/opt/nordic/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/library -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include -I/opt/nordic/ncs/v3.1.1/modules/crypto/mbedtls/include/library -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/interface/include -I/opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -mcpu=cortex-m33+nofp -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=soft -mcmse -Wno-unused-value -include /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o -MF secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o.d -o secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o -c /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/ns_agent_tz/load_info_ns_agent_tz.c In file included from /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:10, from /opt/nordic/ncs/v3.1.1/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/ns_agent_tz/load_info_ns_agent_tz.c:24: /opt/nordic/ncs/v3.1.1/nrf/modules/trusted-firmware-m/tfm_boards/partition/flash_layout.h:10:10: fatal error: pm_config.h: No such file or directory 10 | #include <pm_config.h> | ^~~~~~~~~~~~~ compilation terminated. [14/143] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/main.o ninja: build stopped: subcommand failed. FAILED: modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build tfm/bin/tfm_s.elf tfm/bin/tfm_s.bin tfm/bin/tfm_s.hex tfm/bin/tfm_s_signed.bin tfm/bin/tfm_s_ns_signed.bin tfm/api_ns/interface/lib/s_veneers.o tfm/api_ns/interface/src/tfm_attest_api.c tfm/api_ns/interface/src/tfm_crypto_api.c tfm/api_ns/interface/src/tfm_fwu_api.c tfm/api_ns/interface/src/tfm_its_api.c tfm/api_ns/interface/src/tfm_platform_api.c tfm/api_ns/interface/src/tfm_ps_api.c tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/bin/tfm_s.elf /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/bin/tfm_s.bin /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/bin/tfm_s.hex /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/bin/tfm_s_signed.bin /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/bin/tfm_s_ns_signed.bin /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/lib/s_veneers.o /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_attest_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_crypto_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_fwu_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_its_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_platform_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_ps_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c cd /Users/gildev/Downloads/aws_iot_mqtt/build_devkit/tfm && /opt/nordic/ncs/toolchains/561dce9adf/Cellar/cmake/3.21.0/bin/cmake --build . ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/561dce9adf/bin/cmake --build /Users/gildev/Downloads/aws_iot_mqtt/build_devkit * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.
Also interested in the aws_iot sample working with the modem but over MbedTLS (instead of the modem’s native TLS features), which could then make it easier to add an Ethernet controller by using the same network stack.
Thanks.