Easy "clone and go" repository for a libopencm3 based project.
- git clone https://github.com/libopencm3/libopencm3-template.git your-project
- cd your-project
- git submodule update --init # (Only needed once)
- make -C libopencm3 # (Only needed once)
- make -C src
- out contains linked binary (when compile and link succeeded)
- src contains src code
This template has a blinky start using systick. USART3 is enabled, for trace output using printf
Add the next line to enable printf float capabilities:
LDFLAGS += -u _printf_float
Skip it and make your own float output function if you need the space.
You should replace this with your own README if you are using this as a template.