Resolved! How to return STM32duino to Bare Metal ?
Moved from https://community.st.com/t5/stm32-mcus/stm32-arduino-stm32duino-tutorial/ta-p/49649 After you have finished the arduino project, how do you then remove everything from the MCU and use it again for normal STM32 projects in CubeMX and so on?