Skip to main content
JLoh
Associate
March 28, 2024
Solved

STM32CubeIDE 1.15 Bug (switching from SysTick to TIM16)

  • March 28, 2024
  • 2 replies
  • 2164 views

I'm using the Nucleo-C031C6 board, and I chose this (NUCLEO-C031C6) from the board selector when starting the IDE. (STM32CubeIDE v1.15).

 

I tried switching Timebase Source (in SYS menu) from SysTick to TIM16, then when I compiled, I got this error:

../Core/Inc/stm32c0xx_hal_conf.h:237:11: fatal error: stm32c0xx_hal_tim.h: No such file or directory

It is just a bare project with no user code added.

I had to switch from SysTick to TIM16 because I was trying out ThreadX.

Best answer by STTwo-32

Hello @JLoh 

You have to check your Paths and include the path of this HAL Driver.

For this issue, I've been able to reproduce it and I will escalate it internally for correction (in internal ticket number 177285). 

Thank you for reporting  This.

Best Regards

STTwo-32

2 replies

JLoh
JLohAuthor
Associate
March 28, 2024

It seemed to me that the necessary files weren't copied. To workaround this, I just enabled another Timer (TIM16) and this bug disappeared.

STTwo-32
STTwo-32Best answer
ST Technical Moderator
March 28, 2024

Hello @JLoh 

You have to check your Paths and include the path of this HAL Driver.

For this issue, I've been able to reproduce it and I will escalate it internally for correction (in internal ticket number 177285). 

Thank you for reporting  This.

Best Regards

STTwo-32

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.
Explorer
April 21, 2024

Hello.

Do you have any news about internal ticket 177285 to this bug?
I want to try Threadx with this MCU.

Thank you very much.