mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-17 02:13:19 +03:00
c4a0847c99
* FuriHal: new speaker HAL * FuriHal: drop PWM * FuriHal: move COMP1 to LL * FuriHal: move COMP1 to LL backport to F6 * FuriHal: remove missing gpio_rfid_carrier from F6 * FurHal: use LL for system controls in flash HAL * Drop F6 source tree * Drop F6 from GitHub workflow * Tie USE_FULL_ASSERT with APP_UNIT_TESTS * Speaker: return to old volume calculation * FreeRTOS: move TCB header to glue Co-authored-by: DrZlo13 <who.just.the.doctor@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