Skip to main content
K-.2
Associate
February 9, 2022
Question

Keil error for STM32U5 project

  • February 9, 2022
  • 2 replies
  • 1333 views

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.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 9, 2022

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
K-.2
K-.2Author
Associate
February 9, 2022

Where can I enable modules?