~berfr/stm32f4discovery

ref: bcef7a17e2be0e0b20c4235e0b68986b58ebc155 stm32f4discovery/README.md -rw-r--r-- 1.2 KiB
bcef7a17 — berfr Add simple accelerometer library and test file 6 months ago
                                                                                
502314b1 berfr
9989cfec berfr
8e114364 berfr
502314b1 berfr
9989cfec berfr
2cc46ad4 berfr
9989cfec berfr
2cc46ad4 berfr
502314b1 berfr
502314b1 berfr
4958874a berfr
502314b1 berfr
4958874a berfr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# stm32f4discovery

This project contains the files and configurations necessary to quickly get running with FreeRTOS on the STM32F4 Discovery board.

Parts of this project are discussed here: https://berfr.me/posts/getting-started-stm32f4-freertos/.

## dependencies

- CMake
- `gcc-arm-none-eabi` toolchain
- [texane/stlink](https://github.com/texane/stlink)
- [STM32F4DISCOVERY kit](https://www.st.com/en/evaluation-tools/stm32f4discovery.html)

## based on

- FreeRTOSv10.2.1
- STM32F4xx\_DSP\_StdPeriph\_Lib\_V1.8.0
    - CMSIS V4.00
- STM32F4-Discovery\_FW\_V1.1.0

## setup

```shell
# setup output directory
mkdir bin && cd bin
cmake ..

# build and run project
make main.bin
make flash
```

## other

```shell
# sync lib files
rsync -a -v --files-from=lib-files-freertos.txt ../embedded-libs/FreeRTOSv10.2.1/ lib/freertos/
rsync -a -v --files-from=lib-files-stm32f4discovery.txt ../embedded-libs/STM32F4-Discovery_FW_V1.1.0/ lib/stm32f4discovery/
rsync -a -v --files-from=lib-files-stm32f4xx.txt ../embedded-libs/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/ lib/stm32f4xx/
```

## license

The files under `lib/` are licensed according to their specific licenses.

The rest of the project is licensed under the MIT license.