Skip to main content

Posts

Showing posts from 2019

Compiling STM32duino bootloader

This post guides you on compiling STM32duino bootloader from scratch.
Here I walk you through some steps so that you can compile the STM32 bootloaders provided by Roger Clark.
The steps shown here are for compiling in Windows platform.
Procedure: Follow the step carefully, so that you don't land up in soup.
Install 7z if you dont have.

STEP_1 Install WinAVR to get make command in Windows commandline from here.
Download thisDLL file and keep the file in your WinAVR installation directory under utils/bin/. If you have installed in C:/ directory then drop the file inside C:\WinAVR-20100110\utils\bin.
STEP_2 Now download this zip, extract it, copy and paste the folders in the WinAVR installation directory. Yes! just replace the folders.
STEP_3 In System Variables and User Variables under Environment variables click on NEW and add the following directory to the PATH variable:
C:\WinAVR-20100110\utils\binC:\WinAVR-20100110\bin If it is already present skip this step.
STEP_4(Optional) O…