README.md 788 Bytes
Newer Older
1
# SACADA Mini Firmware 
Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
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

This repository contains a template for developing firmware for SACADA Mini boards. It contains everything you need to blink a LED and write stuff to UART. You're expected to bring your own compiler suite (arm-none-eabi-*) and clone this repository along with it submodules:

```bash
git clone --recursive https://github.com/BlazingDesign/sacada-mini-template.git
```

To compile, just run

```bash
make
```

This will generate the build/ch.bin file. You can flash it using [STLink](https://github.com/texane/stlink/) using:

```bash
st-flash write build/ch.bin 0x8000000
```

or by shorting JP2 and using DFU (USB):

```bash
sudo dfu-util -a 0 -D build/ch.bin -s 0x08000000:leave
```

27
28
Copyright 2019 Pedro Henrique Capp Kopper

Pedro Henrique Kopper's avatar
Pedro Henrique Kopper committed
29
Enjoy!