2020-12-23 04:08 PM
After creating a new project STM32CubeMX it automatically generates code. If I want to change any setting using STM32CubeMX how can it be restarted from within STM32CubeIDE ?
I ran STM32CubeMX by double-clicking the .ioc file, but STM32CubeMX does not show the configuration tabs. What is the proper way to rerun and reconfigure STM32CubeMX ?
Solved! Go to Solution.
2020-12-23 09:06 PM
There is still another vertical bar there. Drag it right.
2020-12-23 05:48 PM
It should show up when you double click the IOC. Maybe the panel is hidden or something. Show a screenshot.
If you generated it in standalone mode, you could just redo it there as well.
2020-12-23 08:01 PM
2020-12-23 08:07 PM
The tabs aren't missing, they're just collapsed. Drag the vertical bars away from each other to expand.
User code is preserved on regeneration as long as you have the checkbox marked. I'd back everything up beforehand if it were my project, however.
2020-12-23 09:02 PM
2020-12-23 09:06 PM
There is still another vertical bar there. Drag it right.
2021-01-13 01:21 PM
Thanks for the help. It's a shame that the panel is completely collapsed.
On the original "no interrupts" topic I have come to the concrete conclusion that STM32CubeMX does not generate the correct code for enabling interrupts, at least for the STM32F1xx products. I have tested a handful of other similar projects that have interrupts working, supposedly. All of them are unlikely to be wrong which means that some previous versions of CubeMX worked propery at some time in the past.
It seems someone at ST had the good idea of creating a function definition in code main.c named HAL_TIM_PeriodElapsedCallback(). It's far worse than "too bad" that no call to this function is made anywhere in the generated interrupt code. This is entirely unacceptable to me for what is supposed to be a supported, though free, product.