mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 04:41:36 +03:00
9c9f66a30f
* nfc: refactor nfc_worker_read_mifare_desfire to use furi_hal_nfc_tx_rx Renames furi_hal_nfc_exchange_full to furi_hal_nfc_tx_rx_full, and rewrites it to use furi_hal_nfc_tx_rx. This eliminates the final remaining use of furi_hal_nfc_exchange, so remove that. * nfc: write debug.pcap when debug mode enabled Limited to NFC protocols that use furi_hal_nfc_tx_rx to communicate. * switch to Doxygen style comment Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us> Co-authored-by: あく <alleteam@gmail.com> |
||
---|---|---|
.. | ||
targets | ||
Makefile | ||
ReadMe.md |
Flipper firmware
What does it do?
- RTOS
- FuriHAL
- FuriCore
- Services
- Applications
Targets
Name | Firmware Address | Reset Combo | DFU Combo |
---|---|---|---|
f7 | 0x08000000 | L+Back, release both | L+Back, release Back |
Also there is a "hardware" ST bootloader combo available even on a bricked or empty device: L+Ok+Back, release Back, Left.
Target independent code and headers in target/include
folders. More details in documentation/KeyCombo.md
Building
With dev docker image:
docker-compose exec dev make -C firmware
With toolchain installed in path:
make -C firmware
Build Options
DEBUG
- 0/1 - enable or disable debug build. Default is 1.COMPACT
- 0/1 - enable or disable compiler optimizations. Significantly reduces binary size. Default is 0.TARGET
- string - target to build. Default isf7
.RAM_EXEC
- 0/1 - whether to build full firmware or RAM-based stage for firmware update. 0 is default, builds firmware.
Building self-update package
make DEBUG=0 COMPACT=1 updater_package
Flashing
Using SWD (STLink):
make -C firmware flash
Or use DFU (USB):
make -C firmware upload
Debug
Using SWD (STLink):
make -C firmware debug