Resolved! STM32CubeIDE adding code to main.c - code disappears
Is there a rule where to put code into main.c so that it stays there permanently? It happended to me now a couple of times that I added an interrupt callback function which suddenly disappeared. Are there areas in main.c where to safely put those?