Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaikjer committed Sep 14, 2018
1 parent 0491c65 commit 35b503a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5,842 deletions.
20 changes: 8 additions & 12 deletions README.md
@@ -1,22 +1,18 @@
# STM32 Programming with opencm3: Part 1
# STM32 Programming with opencm3: Part 2

This repository contains the complete companion code and EAGLE design files
to accompany
[this blog post](https://rhye.org/post/stm32-with-opencm3-1-usart-and-printf/)
which details setting up a USART, and redirecting printf to it.
[this blog post](https://rhye.org/post/stm32-with-opencm3-2-spi-and-dma)
which works through using SPI and DMA on an STM32 series MCU.

You can also check out
[the previous post](https://rhye.org/post/stm32-with-opencm3-0-compiling-and-uploading/),
which details the basics of compiling and flashing code.
You can also check out the two previous posts in the series:

- [Compiling and Uploading](https://rhye.org/post/stm32-with-opencm3-0-compiling-and-uploading/),
- [Alternate Functions and USARTs](https://rhye.org/post/stm32-with-opencm3-1-usart-and-printf/)

In this repo:
- `main.cpp`: The main example code with USART.
- `main.cpp`: The main example code
- `stm32f0.ld`: Linker script for the `STM32F070CB` MCU
- `Makefile`: Collection of rules to build and upload code to the MCU
- `.gdbinit`: GDB resource file that automates conencting to an attached Black Magic Probe
- `libopencm3`: Git submodule referencing our version of opencm3.

## Pictures

Console output with formatted timestamp
![Timestamped console output](/img/timestamp_console.png?raw=true)

0 comments on commit 35b503a

Please sign in to comment.