cancel
Showing results for 
Search instead for 
Did you mean: 

Can't link crypto library with IAR 8.11.1

francescatodiego
Associate II

I am working with STM32F407 in a project with crypto library.

With IAR 7 compiler version all is oknow I would like to use a more recent version of the compiler IAR 8.11.1 but the link fail with

Warning[Lt009]: Inconsistent wchar_t size

         crypto.o(M4_CryptoFW_RngHW_2_0_6.a) has wchar_t size 16 bits

           app_485.o and 85 other objects have wchar_t size 32 bits

IAR change the wchar_t definition.

I downloaded again the M4_CryptoFW_RngHW_2_0_6.a but is the same of my previous copy. I downloaded also the STM32CubeExpansion_Crypto_V3.1.0 but I don't use the HAL library in my project and I have some errors in linker of undefined functions. (Without using HAL I can't include stm32f4xx_hal_cryp.c and stm32f4xx_hal_cryp_ex.c in my project)

There is a version of the crypto library that does not use HAL and is compiled for a recent version of IAR ? thanks

0 REPLIES 0