A pure-C baseline ARM Cortex-M microcontroller development framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1000 B

This project is built entirely from source code, including the toolchain!
Pre-requisites for building:
CentOS 6.x (6.4 tested, installed with minimal package set)
Fedora (v19 tested, installed with minimal package set)
yum -y install git zip gcc gcc-c++ make bison flex gperf texinfo wget \
patch libtool ncurses-devel xz zlib-devel \
glibc-static libstdc++-static expat-devel python-devel \
Once you have all of the necessary pre-requisites installed, you can obtain
the sources and build:
git clone git://git.shaftnet.org/mcu_base.git
cd mcu_base
echo "MCU=stm32f10x" >> Makefile.opts
echo "MCU_SUBTYPE=stm32f10x_hd" >> Makefile.opts
Alternatively, instead of relying on the toolchain bundled with this repo,
the ARM embedded bare-metal GCC port works great. Download and install it
somewhere appropriate, and run:
echo "CROSS_COMPILE = /some/path/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-" >> Makefile.opts