Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0491c65
commit 35b503a
Showing
6 changed files
with
8 additions
and
5,842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
Oops, something went wrong.