Skip to main content
BD8NCF
Visitor II
February 28, 2019
Question

Bug in STM32CubeMX v5.1.0 with STM32F103CBT6 + FreeRTOS

  • February 28, 2019
  • 2 replies
  • 697 views

My project work fine with STM32CubeMX v5.0.1.

I upgraded to v5.1.0, It generated code miss something.

My project detail: stm32f103cbt6 + freertos,

SYS -> Timebase Source: TIM1

-----

Generated code stm32f1xx_it.c missing a line: HAL_TIM_IRQHandler(&htim1);

when i use "SYS -> Timebase Source: TIM2", it's OK.

This topic has been closed for replies.

2 replies

Nesrine.JLASSI
Visitor II
March 4, 2019

Hi @BD8NCF​ 

I did the same scenario and did not have any problem.

The generated code shows the line:

HAL_TIM_IRQHandler(&htim1);

0690X000006E07RQAS.png

So, could you please send me your .ioc file to check the problem.

Best regards,

Nesrine

Nesrine.JLASSI
Visitor II
March 5, 2019

Hi @BD8NCF​ 

Thanks for the feedback.

You are right, i was able to reproduce the issue and it will be fixed in the next STM32CubeMX release.

Best Regards,

Nesrine.