unleashed-firmware/bootloader
Nemanja Nedeljković ac5c1cb4a0
Fix readme consistency issues (#652)
* Correct notation for checked checkbox in markdown
* Cleanup image and link notation for consistency
* Syntax highlighting
* Update alt for images and fix incorrect link

Co-authored-by: あく <alleteam@gmail.com>
2021-08-17 13:38:47 +03:00
..
src Implement bootloader #137 (#142) 2020-10-01 02:05:04 +03:00
targets [FL-1666] Bootloader: info screen when we going to DFU. FuriHal: port SPI to LL. Cleanup. (#634) 2021-08-12 11:48:05 +03:00
Makefile [FL-1666] Bootloader: info screen when we going to DFU. FuriHal: port SPI to LL. Cleanup. (#634) 2021-08-12 11:48:05 +03:00
ReadMe.md Fix readme consistency issues (#652) 2021-08-17 13:38:47 +03:00

Flipper bootloader

What it does?

  • Hardware initialization
  • 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 |

| 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 srcand 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 is f4.

Flashing

Using stlink(st-flash):

make -C bootloader flash

Or use ST bootloader:

make -C bootloader upload

Debug

Using stlink (st-util + gdb):

make -C bootloader debug