Forum: System Workbench for STM32

Issue with compiling after changing Cube Configuration

Hi
I want to ask one question, becouse I’ve got some problems with my stm workbench. I created new project in Cube MX, use nucleo F072RB Board, set default configuration and generate code.
Problem1
Then I imported this project into STM Workbench, wrote simple program to flash board led LD2 - everything goes ok.

Then I made litle changes in the Cube configuration, generated code, chose in STM Workbench:
Project: Clean
Project: C/C++ Index: Rebuild
Project: C/C++ Index: Freshen all files
After compilation everything goes ok.

Now problem starts.
I made more changes in Cube configuration - I added new UART and 6 GPIO pins. Then I generated code, goes to STM Workbench, tried to build it and I’ve got this:
Problem2
Every time I try tu build my project, output hex file has got 8 bytes and of course - it doesn’t work. I tried to change configuration, change building settings, but the result was stil the same.

I want to ask, if someone have got simmilar issue and know, how to fix it.

(Sorry, if my english knowledne isn’t good enough).

Hello friend, I am also having the same problem, I think it is something related to win 10 64bits, I could not find a solution so far, in ubuntu it works correctly


I found the problem, when we regenerate the code in cubeMX the linker goes blank, is to generate a new linker configuration and copy that recompile normally, the problem is in cubeMX