Hi,

 

/secure_fw/partitions/crypto/CMakeLists.txt is missing passing compiler flags to mbedTLS targets which would be needed for correct FPU flags.  I believe the highlighted code would be the fix:

 

target_compile_options(${MBEDTLS_TARGET_PREFIX}mbedcrypto

    PRIVATE

        ${COMPILER_CP_FLAG}

        $<$<C_COMPILER_ID:GNU>:-Wno-unused-const-variable>

        $<$<C_COMPILER_ID:GNU>:-Wno-unused-parameter>

        $<$<C_COMPILER_ID:ARMClang>:-Wno-unused-const-variable>

        $<$<C_COMPILER_ID:ARMClang>:-Wno-unused-parameter>

)

 

 

target_compile_options(${MBEDTLS_TARGET_PREFIX}p256m

    PRIVATE

        ${COMPILER_CP_FLAG}

)

 

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.

12500 TI Blvd, MS F-4000

Dallas, TX 75243

214-479-4076