Skip to main content
Michal Dudka
Lead
May 17, 2025
Solved

CubeMX places (undefined) HAL_IncTick() in pure LL API project

  • May 17, 2025
  • 3 replies
  • 664 views

I've generated simple project for STM32C011F6U6, in project manager i've selected all drivers in LL API. Generated project contains HAL_IncTick() call in SysTick_Handler which is not defined. 

STM32CubeIDE Version: 1.18.0

STM32CubeMX Version: 6.14.0-RC8 Build: 20250227-1554 (UTC)

 

Best answer by Souhaib MAZHOUD

Hello @Michal Dudka 

Actually, you have to disable the Call HAL handler of System tick under NVIC as shown in screenshot below:

SouhaibMAZHOUD_0-1747822004003.png

KR,

Souhaib

3 replies

Technical Moderator
May 19, 2025

Hello @Michal Dudka 

Thank you for your contribution.
This issue is currently under investigation. I will get back to you as soon as possible.

BR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Andrew Neil
Super User
May 19, 2025

As a workaround, you could create a HAL project to see what it should do?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Technical Moderator
May 19, 2025

Hello @Michal Dudka 

The issue is not reproduced when using CubeMX 6.14.1, could you check with this version,

Otherwise, could you provide your IOC please.

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Michal Dudka
Lead
May 19, 2025

I've upgraded to:

STM32CubeIDE Version: 1.18.1

STM32CubeMX Version: 6.14.1-RC5

with the same result. .ioc included.

Souhaib MAZHOUDBest answer
Technical Moderator
May 21, 2025

Hello @Michal Dudka 

Actually, you have to disable the Call HAL handler of System tick under NVIC as shown in screenshot below:

SouhaibMAZHOUD_0-1747822004003.png

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.