Custom boards.txt for maple_mini and bluepill

Post here first, or if you can't find a relevant section!
Post Reply
User avatar
Rick Kimball
Posts: 1078
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US

Custom boards.txt for maple_mini and bluepill

Post by Rick Kimball » Wed Jan 25, 2017 10:53 pm

I put together a Makefile and boards.custom, that allows you to maintain a custom set of boards that is merged with default boards.txt file: ... 2ecf4e095/

From the
This gist provides a way to maintain a custom set of boards that work with stm32duino. Two new boards are added, 'Maple Mini Custom' and 'Blue Pill'. I wanted a stable configuration that isn't changing without me doing the changes. The default boards seem to be subject to everyone's flight of fancy. Using a boards.custom file, I know it won't change.

The maple mini board adds the ability to run without a bootloader. This give you back full access to the entire flash and ram. It also adds 3 new upload options, Serial, BMP, and STLink while retaining the pin mapping of the maple mini variant.

The Blue Pill board provides a stable configuration for a "bluepill" board that is really the stm32f1c generic variant.

To use this extract the files in this gist into ~/Arduino/hardware/STM32F1. Using the Makefile provided, a file called boards.custom is appended to the github boards.txt file after pulling the latest boards.txt from the stm32duino github repo.

# stop the Arduino IDE
$ make clean all
# start the Arduino IDE, you should see 2 new boards "Maple Mini Custom" and "Blue Pill"

Post Reply