556af0b82b
* nfc: Refactor Mifare Ultralight feature flags Unify them in both reader and emulator to make handling easier * nfc: Refactor MFUL PWD_AUTH and add AUTHLIM counter * nfc: Add MFUL EV1 VCSL command emulation * nfc: Enforce message size check in MFUL emulation Also fix READ_CNT byte order, but it's not fully working * nfc: Add MFUL auth counter serialization Also fill counter on successful read from tag * nfc: Fix MFUL INCR_CNT emulation * nfc: Fix MFUL READ_CNT emulation * nfc: Refactor MFUL emulation and implement full write support * nfc: Fix Mifare Ultralight serialization * nfc: Add MFUL OTP/CC handling * nfc: Make sure MF0UL21 dynamic lock byte 3 also reads 0xBD * nfc: Small MFUL refactor and fix CFGLCK behavior * WIP: nfc: MFUL read support with ASCII mirror and auth roll-over This is too complex and I don't like it * nfc: Simplify MFUL read emulation, fix mirror range check * nfc: Implement MFUL auth and ASCII mirror for FAST_READ * nfc: Fix MFUL read roll-over with AUTH0 set * nfc: Implement MFUL read counter increment * nfc: Align ASCII mirror to NTAG21x behavior * nfc: Handle invalid command in MFUL emulation * nfc: Fix MFUL static lock check * nfc: Refactor MFUL emulation to use cached config pages * nfc: Refactor MFUL auth counter to count up instead of down * nfc: Add missing NULL check * WIP: nfc: Various MFUL emulation behavior tweaks * WIP: nfc: More MFUL emulation behavior adjustments * nfc: Match AUTHLIM emulation to NTAG21x behavior * nfc: Fix MFUL dynamic lock emulation * nfc: Fix typo in MFUL read counters * nfc: Fix typo in MFUL FAST_READ emulation * nfc: Increase emulation TX buffer size Enough space for if someone requests FAST_READ of all pages of an NTAG * nfc: Fix MFUL negative verification counter overflow * nfc: Change auth counter kv name * nfc: Fix NTAG I2C FAST_READ emulation * nfc: Fix NTAG21x config reload behavior 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