Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.09 KB

STM32 Tutorial

Getting started with STM32: STM32 step-by-step

Getting Started

What you'll need

  • Blackpill/Bluepill STM32 board:
    • You can purchase a cheap clone Blackpill STM32 board under $4.
  • ST-LINK V2/V3:
    • You need this to upload the firmware to the board.
    • You can purchase a cheap clone ST-LINK V2 under $5.

Setting up the environment

  • VScode with PlatformIO or Arduino IDE:
    • You can install PlatformIO from the VSCode extension marketplace.
  • Install STM32CubeProgrammer

Recommended Stack

  • VSCode with PlatformIO
    • You can use GitHub Copilot for code suggestions, which help you write code faster.
  • ST-LINK V2 Clone
    • Very cheap (< $5)
  • Blackpill STM32 board
    • Very cheap (< $4)
    • DFU support
      • You can upload the firmware using USB as well.
    • More powerful than Bluepill
  • Arduino framework
    • Easy to use
    • Good for beginners