• In arduino IDE install arduino SAM board first ("for arduino zero"), so toolchain "arm-none-eabi-g++ " installed
  • Git clone into arduino\hardware folder {| class="wikitable sortable" |- ! Github !! Support hardward !! Support software |- | [https://github.com/rogerclarkmelbourne/Arduino_STM32.git STM32 Arduino] || F1, F3, F4 || |- | [https://github.com/stm32duino/Arduino_Core_STM32 Arduino_Core_STM32] || F0~F7, L0~L4 || |}
  • Hardware programmer use ST-LINK, install driver, [https://github.com/Edragon/stm8 you can find it here]
  • Connect with our STM32F103C8T6 board, upload blink sketch onto PB12 pin.
  • Support arduino library - [http://stm32duino.com/viewtopic.php?f=13&t=2812 here]

code

  • https://github.com/Edragon/Arduino-STM32

ref