2018-08-02 09:02 AM
I have started to use the STM32 Cryptographic library on an existing product which uses the STM32L476 and consequently has no hardware encryption available. I have a problem when the firmware compiles. I get an error 'Undefined Symbol RCC_AHBPeriphClockCmd (referred from crypto.o)'. As the libraries are supplied precompiled, how can I fix this? I do note that there is no mention of STM32L4XX devices in the crypto.h or config.h files or templates for STM32L4xx devices.
2018-08-02 11:47 AM
It is trying to enable the CRC Peripheral, if the mechanics there work on the L4 you just need to make a shim/wedge function called RCC_AHBPeriphClockCmd() to enable the CRC Clock and give the linker closure.