あく 2751440193 [FL-1970, FL-1965, FL-1872, FL-1689] Python framework, Scripts and fixes (#779) 4 năm trước cách đây
..
src 805bb886c0 Implement bootloader #137 (#142) 5 năm trước cách đây
targets 2751440193 [FL-1970, FL-1965, FL-1872, FL-1689] Python framework, Scripts and fixes (#779) 4 năm trước cách đây
Makefile f390060922 [FL-1942] Applications: Display Test. u8g2 usage refactoring. #770 4 năm trước cách đây
ReadMe.md bde3a47078 Git: set git attributes to automatically manage line endings. (#771) 4 năm trước cách đây

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

Flashing

Using SWD (STLink):

make -C bootloader flash

Or use DFU (USB):

make -C bootloader upload

Debug

Using SWD (STLink):

make -C bootloader debug