Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.06 KB

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