BattleBot is a robotics project built on STM32 microcontrollers using the Arduino framework. This repository contains the source code and instructions to get started.
- STM32-based control
- Arduino-compatible codebase
- Example: Blinky sketch
-
Clone the repository:
git clone https://github.com/yourusername/battleBot.git cd battleBot -
Install Arduino CLI: Follow instructions at Arduino CLI documentation.
-
Install STM32 core:
arduino-cli core update-index arduino-cli core install STMicroelectronics:stm32
arduino-cli compile --fqbn STMicroelectronics:stm32:GenF1:upload_method=dfu2Method .dfu-util -d 1eaf:0003 -a 2 -D /home/tharaka/.cache/arduino/sketches/CA3311401B671416B78BBD3A3E964ACE/Blinky.ino.binLast time I check these are the working commands
arduino-cli compile --fqbn STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103CB,upload_method=dfu2Method,usb=CDC -v ./STM32/dfu-util -d 0483:df11 -a 2 -D ~/.cache/path/STM32.ino.bin