A universal blue pill (aka stm32f103c8t6) initialization template with USB CDC driver.
Creation of this template is described in my article on Embedded Environment.
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