Question
Issues due to optimization level
Posted on June 26, 2018 at 23:00
Hello All,
I hope your doing good. I am working on a project based on STM32L476RG using Keil v5. I have used assert in my code. It works correctly for the compiler optimization L2 and L3. But when I change to Level 1 or 0, i get
'G3\G3.axf: Error: L6218E: Undefined symbol __aeabi_assert (referred from st_spi.o).'
Anybody with any leads on this. Thank you all for your time.
Muthaiah Murugappan
#optimization #hal-spi #stm32l476