mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-11 21:52:28 +00:00
d4787e859e
* Power, USB, LED driver improvements * u2f hid descriptor fix * variable_item_list: value alignment fix * InputTypeRepeat handling in menu/submenu/var_item_list * lp5562: fix bugs on 400khz i2c * Scripts: lint in parallel. * FuriHal: rename some USB structure to match naming convention. Drivers: update magic values in LP5562. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com> |
||
---|---|---|
.. | ||
src | ||
targets | ||
Makefile | ||
ReadMe.md |
Flipper bootloader
What it does?
- Hardware initialization
- Boot process LED indicators
- Firmware update
- Errata crutches
- Recovery mode
Targets
| Name | Bootloader | Firmware | Reset | DFU | | | Address | Address | Combo | Combo |
| f7 | 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 independent code and headers in src
and target/include
folders.
Building
With dev docker image:
docker-compose exec dev make -C bootloader
With toolchain installed in path:
make -C bootloader
Build Options
DEBUG
- 0/1 - enable or disable debug build. Default is 1.TARGET
- string - target to build. Default isf4
.
Flashing
Using SWD (STLink):
make -C bootloader flash
Or use DFU (USB):
make -C bootloader upload
Debug
Using SWD (STLink):
make -C bootloader debug