cancel
Showing results for 
Search instead for 
Did you mean: 

Keil error for STM32U5 project

K-.2
Associate

I'm using the STM32U5 and when I create a basic project in Keil and compile, I get the following error:

"Error: L6218E: Undefined symbol SECURE_SystemCoreClockUpdate (referred from system_stm32u5xx_ns.o)."

How to fix this?

I don't want to use STM32Cube and prefer to use Keil only using my own custom drivers.

Is there a missing SW pack or something? My main file just has a very simple infinite while(1) loop.

2 REPLIES 2

Double check where it is defined, why that might not be occuring.

Check the source file is in the project, and built.

Make sure the right modules are enabled via stm32u5xx_hal_conf.h

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Where can I enable modules?