Remove obsolete target. Cleanup and update ReadMe. (#279)

This commit is contained in:
あく
2020-12-28 08:52:35 +03:00
committed by GitHub
parent 14d1325b17
commit 4a9e4074f7
7 changed files with 39 additions and 62478 deletions

View File

@@ -3,20 +3,22 @@
What it does?
- [+] Hardware initialization
- [ ] Firmware CRC check
- [+] Firmware update
- [ ] Interactive UI
- [+] Boot process LED indicators
- [+] Firmware update
- [ ] Firmware CRC check
- [ ] Interactive UI
- [ ] FS check
- [ ] Recovery mode
- [ ] Errata crutches
# Targets
| Name | Bootloader | Firmware | Reset | DFU |
| | Address | Address | Combo | Combo |
---------------------------------------------------------------------
| f2 | 0x08000000 | 0x00008000 | L+R | L+R, hold R |
| Name | Bootloader | Firmware | Reset | DFU |
| | Address | Address | Combo | Combo |
-----------------------------------------------------------------------------
| f4 | 0x08000000 | 0x00008000 | L+Back | L+Back, hold L |
Also there is a ST bootloader combo available on empty device: L+Ok+Back, release Back,Left.
Target independend code and headers in `src`and `target/include` folders.
# Building
@@ -27,21 +29,25 @@ Target independend code and headers in `src`and `target/include` folders.
## With toolchain installed in path:
`make`
`make -C bootloader `
## Build Options
- `DEBUG` - 0/1 - enable or disable debug build. Default is 1.
- `TARGET` - string - target to build. Default is `f2`.
- `TARGET` - string - target to build. Default is `f4`.
# Flashing
Using stlink(st-flash):
`make flash`
`make -C bootloader flash`
Or use ST bootloader:
`make -C bootloader upload`
# Debug
Using stlink (st-util + gdb):
`make debug`
`make -C bootloader debug`