flipperzero-firmware/bootloader
あく df2d1ad13f
[FL-2219, FL-2251] System, FuriCore, FuriHal: various bug fixes and improvements (#986)
* Replace irq shenanigans with critical section
* Power: halt system on power off instead of crash.
* Gui: properly handle input event on NULL current_view
* FuriHal: correct gpio configuration sequence
* FuriHal: cleanup uart initialization. Makefile: allow to disable thread support.
* Loader: improve locking, fix simultaneous app start crash, full command line args support for gui apps, more consistent insomnia
* Loader: correct spelling
* FuriHal: increase gpio configuration readability
* FuriHal: correct gpio configuration error when mode is GpioModeEventRiseFall
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2022-02-10 14:20:50 +03:00
..
src Implement bootloader #137 (#142) 2020-10-01 02:05:04 +03:00
targets [FL-2219, FL-2251] System, FuriCore, FuriHal: various bug fixes and improvements (#986) 2022-02-10 14:20:50 +03:00
Makefile Naming and coding style convention, new linter tool. (#945) 2022-01-05 19:10:18 +03:00
ReadMe.md Fix typos (#857) 2021-12-01 02:53:53 +03:00

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 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