- Get a suitable dev board. You can get a cheap "blue pill" board and a programming interface, but to make life easier you can spend a little more on an official STM32 dev board. The one suggested above by Matt seems ideal: https://www.st.com/content/st_com/en/pr ... 103rb.html . It has the advantage of an on-board ST-LINK programming interface and easy access to all the pins, so you can use it out of the box.
- Add the board into your Arduino IDE. Start the IDE and paste the following URL into Preferences -> Additional Boards Manager URLs
Code: Select all
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
- Tools -> Board: -> Boards manager... -> install "STM32 Cores"
- Connect your dev board to the USB port and select the right board in the menu. If you're using the board linked above, you want Board: "Nucleo-64" and Board part number: "Nucleo F103RB"
- Open the Blink example, click Upload and you should be rewarded with a flashing LED
https://www.st.com/en/evaluation-tools/ ... 103rb.html#