It's not directly related to ChibiOS so, I'll try to ask my question in this section of the forum, before switching to the st forum maybe.
Has someone successfully implemented the crypto library for the STM32 of ST?
I have added those lines in the ChibiOS makefile:
Code: Select all
INCDIR =...
./STM32_Cryptographic_Library/inc \
./STM32F4xx_StdPeriph_Driver/inc and
Code: Select all
# List all user libraries here
ULIBS = Lib/M4_CryptoFW_2_0_6.aBut I'm getting those errors when I compile:
undefined reference to `__aeabi_memcpy'
undefined reference to `__aeabi_memclr4'
...
...
That M4_CryptoFW_2_0_6.a lib file was originally located in a folder name "Binary/EWARM", so I assume it was compiled with IAR compiler. There is also a M4_CryptoFW_2_0_6.lib in the folder "Binary/MK-ARM", it probably was compiled with the Keil compiler.
If a use le .lib file instead of the .a file I'm getting different errors too.
build/ch.elf: hidden symbol `__aeabi_memcpy' isn't defined
Are those lib binary files not compatible with the gnu arm compiler (ChibiStudio)?
Thanks