Description
Summary
I have cloned repo below repo and able to build it
https://github.com/FreeRTOS/iot-reference-stm32u5/blob/v202212.00
Now I am trying to update mbedtls version from 3.1.0 to 3.6.3
So I cloned repo below repo inside Middleware/ARM folder and check out to latest tag.
(https://github.com/STMicroelectronics/stm32-mw-mbedtls/releases/tag/v3.6.3_20250414)
When I am trying build the code I am getting lot of errors related to configurations.
could you please help to resolve this? Please find attached logs for more information
System information
Mbed TLS version (number or commit id):
Operating system and version:
Configuration (if not default, please attach mbedtls_config.h
):
Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
Additional environment information:
Expected behavior
build without any errors
Actual behavior
19:38:38 **** Incremental Build of configuration Debug for project b_u585i_iot02a_tfm ****
make -j8 all
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.2.0.202409170845/tools/bin/make.exe -f ../tfm.mk info spe_bin nspe_build_reqs
PROJECT_NAME: b_u585i_iot02a_tfm
WORKSPACE_PATH: C:/iotg/temp/iot-reference-stm32u5
BUILD_PATH: .
TOOLS_PATH: C:/iotg/temp/iot-reference-stm32u5/tools
MIDDLEWARE_PATH: C:/iotg/temp/iot-reference-stm32u5/Middleware
PROJECT_PATH: ..
TFM_BUILD_PATH: ./tfm_build
TFM_SRC_PATH: C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m
MBEDTLS_SRC_PATH: C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls
MCUBOOT_SRC_PATH: C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mcuboot
SHELLFLAGS: -c
CFLAGS:
LDFLAGS:
SHELL: C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.2.0.202409170845/tools/bin/sh.exe
Calling TFM build for artifact: tfm_build/bin/bl2.axf due to prereq: tfm_build/.ready
[ 0%] Building C object secure_fw/partitions/crypto/mbedcrypto/3rdparty/p256-m/CMakeFiles/crypto_service_p256m.dir/p256-m_driver_entrypoints.o
[ 1%] Built target tfm_qcbor_s
[ 1%] Built target tfm_generated_files
[ 1%] Building C object secure_fw/partitions/crypto/mbedcrypto/3rdparty/p256-m/CMakeFiles/crypto_service_p256m.dir/p256-m/p256-m.o
[ 1%] Building C object bl2/mbedcrypto/3rdparty/everest/CMakeFiles/bl2_everest.dir/library/everest.o
[ 2%] Building C object bl2/mbedcrypto/3rdparty/everest/CMakeFiles/bl2_everest.dir/library/x25519.o
[ 2%] Building C object bl2/mbedcrypto/3rdparty/everest/CMakeFiles/bl2_everest.dir/library/Hacl_Curve25519_joined.o
[ 3%] Building C object bl2/mbedcrypto/3rdparty/p256-m/CMakeFiles/bl2_p256m.dir/p256-m_driver_entrypoints.o
[ 3%] Building C object bl2/mbedcrypto/3rdparty/p256-m/CMakeFiles/bl2_p256m.dir/p256-m/p256-m.o
[ 3%] Building C object secure_fw/partitions/crypto/mbedcrypto/3rdparty/everest/CMakeFiles/crypto_service_everest.dir/library/everest.o
[ 3%] Linking C static library libcrypto_service_p256m.a
[ 3%] Building C object secure_fw/partitions/crypto/mbedcrypto/3rdparty/everest/CMakeFiles/crypto_service_everest.dir/library/x25519.o
[ 4%] Building C object secure_fw/partitions/crypto/mbedcrypto/3rdparty/everest/CMakeFiles/crypto_service_everest.dir/library/Hacl_Curve25519_joined.o
[ 4%] Linking C static library libbl2_everest.a
[ 4%] Linking C static library libbl2_p256m.a
[ 4%] Built target tfm_s_scatter
[ 4%] Built target bl2_scatter
[ 5%] Built target tfm_t_cose_s
[ 5%] Linking C static library libcrypto_service_everest.a
[ 5%] Built target crypto_service_p256m
[ 10%] Built target platform_bl2
[ 10%] Built target bl2_everest
[ 10%] Built target bl2_p256m
[ 10%] Built target crypto_service_everest
[ 10%] Building C object bl2/ext/mcuboot/CMakeFiles/signing_layout_ns.dir/signing_layout_ns.o
[ 10%] Building C object platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/rsa_alt.o
[ 10%] Building C object platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecdsa_alt.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_alt.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/sha1_alt.o
[ 10%] Building C object bl2/ext/mcuboot/CMakeFiles/signing_layout_s.dir/signing_layout_s.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_curves_alt.o
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ecdsa.h:22,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecdsa_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/rsa_alt.c:47:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ecdsa.h:22,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecdsa_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/rsa_alt.c:47:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/sha1.h:21,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/sha1_alt.c:29:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/sha1.h:21,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/sha1_alt.c:29:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/rsa_alt.o
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_curves_alt.c:27:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_alt.c:49:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_curves_alt.c:27:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/build.make:90: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecdsa_alt.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/build.make:76: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/rsa_alt.o] Error 1
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/bl2/ext/mcuboot/config/mcuboot-mbedtls-cfg.h:88,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_alt.c:49:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/build.make:104: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_alt.o] Error 1
make[5]: *** [platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/build.make:118: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_curves_alt.o] Error 1
make[5]: *** [platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/build.make:132: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir//target/stm/common/hal/accelerator/sha1_alt.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:2145: platform/ext/accelerator/CMakeFiles/bl2_crypto_hw.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 11%] Built target signing_layout_ns
[ 11%] Built target signing_layout_s
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecdsa_alt.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/gcm_alt.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/aes_alt.o
[ 11%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ccm_alt.o
[ 12%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_alt.o
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/rsa_alt.c:47:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
[ 12%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_curves_alt.o
[ 12%] Building C object platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/sha1_alt.o
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/rsa_alt.c:47:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ecdsa.h:22,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecdsa_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/aes.h:32,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/aes_alt.c:30:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ecdsa.h:22,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecdsa_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/gcm.h:23,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/gcm_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/oid.h:17,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/rsa_alt.c:55:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/pk.h:649:32: error: unknown type name 'mbedtls_svc_key_id_t'
649 | mbedtls_svc_key_id_t *key_id);
| ^~~~~~~~~~~~~~~~~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/pk.h:685:30: error: unknown type name 'mbedtls_svc_key_id_t'
685 | int mbedtls_pk_copy_from_psa(mbedtls_svc_key_id_t key_id, mbedtls_pk_context *pk);
| ^~~~~~~~~~~~~~~~~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/pk.h:718:37: error: unknown type name 'mbedtls_svc_key_id_t'
718 | int mbedtls_pk_copy_public_from_psa(mbedtls_svc_key_id_t key_id, mbedtls_pk_context *pk);
| ^~~~~~~~~~~~~~~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/aes.h:32,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/aes_alt.c:30:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/gcm.h:23,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/gcm_alt.c:24:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ccm.h:39,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ccm_alt.c:31:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_alt.c:49:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:118: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/aes_alt.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_curves_alt.c:27:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:104: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/gcm_alt.o] Error 1
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/ccm.h:39,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ccm_alt.c:31:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:76: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/rsa_alt.o] Error 1
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/sha1.h:21,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/sha1_alt.c:29:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:24:2: warning: #warning "Do not include mbedtls/check_config.h manually! " "This may cause spurious errors. " "It is included automatically at the right point since Mbed TLS 3.0." [-Wcpp]
24 | #warning "Do not include mbedtls/check_config.h manually! "
| ^~~~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_curves_alt.c:27:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/ecp_alt.c:49:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:132: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ccm_alt.o] Error 1
In file included from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_large.h:2028,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/build_info.h:115,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/sha1.h:21,
from C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/sha1_alt.c:29:
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:226:2: error: #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
226 | #error "MBEDTLS_ENTROPY_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:258:2: error: #error "MBEDTLS_CCM_C defined, but not all prerequisites"
258 | #error "MBEDTLS_CCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:264:2: error: #error "MBEDTLS_GCM_C defined, but not all prerequisites"
264 | #error "MBEDTLS_GCM_C defined, but not all prerequisites"
| ^~~~~
C:/iotg/temp/iot-reference-stm32u5/Middleware/ARM/mbedtls/include/mbedtls/check_config.h:413:2: error: #error "MBEDTLS_MD_C defined, but no hash algorithm"
413 | #error "MBEDTLS_MD_C defined, but no hash algorithm"
| ^~~~~
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:174: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/sha1_alt.o] Error 1
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:146: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_alt.o] Error 1
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:160: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecp_curves_alt.o] Error 1
make[5]: *** [platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/build.make:90: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir//target/stm/common/hal/accelerator/ecdsa_alt.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:2175: platform/ext/accelerator/CMakeFiles/crypto_service_crypto_hw.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[3]: *** No rule to make target 'tfm_build/install/interface/lib/s_veneers.o', needed by '../tfm/interface/libtfm_interface.a'. Stop.
make[2]: *** [../tfm.mk:232: tfm_build/bin/bl2.axf] Error 2
make[1]: *** [../makefile.targets:6: nspe_pre_build] Error 2
make: *** [makefile:106: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.
Steps to reproduce
Additional information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status