76e3fd3060
* Firmware, Bootloader: add f3 target. Refactor code to be portable across targets. * Firmware: remove bkpt * Makefile: debug agent. Debug: f3 platform throw openocd. * freertos-openocd helper * separate hal resources * return of input_dump app * using hew target resources abstration layer for backlight and blink * dirty hack for input driver, f3 has no charging pin * worked input interrupts * working display * F3: switch to 32mHz resonator * F3: configure SD_CS pin * NFC: port to F3. * fat uart app * sd card hal api * separate CC1101 spi config * faster spi gpio for sd card * Assets: disable LFS * Cube: disable css on LSE * Input: format code * Make: add bootloader source code to formatting rule * F3: enable rf by default, adjust clock settings, map all pins where they should be. * libs for coreglitch_demo_0 * nvic priority * bus clocks all to 64 * lf-rfid timer and pin * irda * ir rx setup * tim2 irq handler * Makefile: environment aware mkdir * Makefile, Irukagotchi: commit seq number. * split falling and rising ir rx events * Makefile: proper git branch detect on old git. Firmware: api fix. * fix irda * Makefile,Irukagotchi: date timestamp. * NFC: adjust SPI speed * Irukagotchi: format code * Make: add blackmagic debug in host mode * Makefile: detach blackmagic from terminal signals * Makefile,Irukagotchi: stamp target * add F3 bootloader/firmware to CI Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com> Co-authored-by: aanper <mail@s3f.ru> |
||
---|---|---|
.. | ||
src | ||
targets | ||
Makefile | ||
ReadMe.md |
Flipper bootloader
What it does?
- [+] Hardware initialization
- Firmware CRC check
- [+] Firmware update
- Interactive UI
- [+] Boot process LED indicators
- FS check
- Recovery mode
Targets
| Name | Bootloader | Firmware | Reset | DFU | | | Address | Address | Combo | Combo |
| f2 | 0x08000000 | 0x00008000 | L+R | L+R, hold R |
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
Build Options
DEBUG
- 0/1 - enable or disable debug build. Default is 1.TARGET
- string - target to build. Default isf2
.
Flashing
Using stlink(st-flash):
make flash
Debug
Using stlink (st-util + gdb):
make debug