Why CUBEMX deletes User Code
Hello
I am new to the CUBEIDE Universe and I guess this question has been asked a 1000 times but I can´t find an answer. I created a new project with cubeMX ( just a few GPIO outputs with LEDs) and build the C File. Then I wrote some defines and arrays. When I now edit the.ioc file because I want to change something, all my defines etc. are gone. Only my Code after while(1) stays. Is this a BUG oder did I something wrong. I wrote my #define right after the #include main.h.
