Setting up STM32
Follow the steps bellow to setup programming STM32 microcontrollers with the Arduino IDE (Option 1) or Visual Studio and Platform IO (Option 2).
Last updated
Follow the steps bellow to setup programming STM32 microcontrollers with the Arduino IDE (Option 1) or Visual Studio and Platform IO (Option 2).
Last updated
Make sure the device is in BOOT mode when uploading with Arduino IDE / Platform IO (see pinout diagram)
The RESET button on the STM32 micrcontroller needs to be pressed after switching between BOOT and RUN mode in order to read the change
The USB Serial port does not have to be specified (having one specified should not cause any problems either).
The USB Serial port is only used for Serial Monitor, when the device is in RUN mode the USB Serial port will appear in the Arduino IDE (Tools > Port)
Press the RESET button when the device is not recognized by the computer
Press the RESET button when the device is not recognized by the computer