1
Watch
0
Star
0
Fork
0
Issue

My curated blue pill template.

stansotn
stansotn
pushedAt 10 months ago

stansotn/blue-pill

blue-pill

A universal blue pill (aka stm32f103c8t6) initialization template with USB CDC driver.

Creation of this template is described in my article on Embedded Environment.

Build

Get ARM embedded toolchain from here or sudo apt install gcc-arm-none-eabi on Ubuntu.

Get cmake brew install cmake on MacOS or sudo apt install cmake on Ubuntu.

Clone this repository

git clone --recursive https://github.com/stansotn/blue-pill.git
cd blue-pill

Specify arm-none-eabi toolchain path here.

# In file yaccs-user-config.cmake
set(yaccs_compiler_paths /Applications/ARM/bin/)

Build.

mkdir build
cd build
cmake ..
make
ucloud ads