STM32CubeMX: regenerated code of iperf example does not build anymore
Hi,
I setup a fresh project with STM32CubeIDE 1.12.0 (CubeMX 6.8.0) based on the iperf example for NUCLEO-H563 board. The project build and runs correctly. Fine!
Then I opened the ioc file that comes with the example and did a small modification (add PF4 as GPIO output). Then I regenerated the code.
As a result the project outline changed and the project did not build anymore due to lots of undefined references by the linker (SystemInit(), _tx_timer_interrupt(), many HAL_* functions).
Questions:
1) Can I expect that regenerated code by CubeMX is working on "original" examples?
2) How Can I fix this?
3) The project folder structure in the IDE does not reflect the file structure on disc (e.g. Application/User only exists in IDE). How can I create such structure by hand, e.g. to fix this? Will this withstand a further regeneration of the code?
Cheers,
Matthias
Original project structure:
Structure after code has been regenerated:
