bb68fca20b
* Fix ValueManager implementation * Implement ValueComposer * Add constructor for ValueManager * Add value-expanders.h to flipper_v2.h set * Move COPY_COMPOSE body into a .c file * Add test for ValueManager * Add destructors for ValueMutex, ValueManager and ValueComposer * Use destructors in tests * Move composition logic into perform_compose() * Add docs for perform_compose() * Add test for ValueComposer * Replace atomic_bool with bool as g++ compiler doesn't support C11 atomics * Add Event type * Add semaphore support to the local target * Add test for Event * Update input records and relevant examples * Rename Event to AppEvent in the cc1101-workaround example * Rename Event to AppEvent in the irda example * Use Event in ValueComposer to wait for update request * Add perform_compose_internal() function * fix Event/AppEvent Co-authored-by: aanper <mail@s3f.ru> |
||
---|---|---|
.github | ||
applications | ||
bootloader | ||
core | ||
core-rs | ||
debug/FreeRTOS | ||
docker | ||
firmware | ||
lib | ||
make | ||
wiki | ||
wiki_static | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
docker-compose.yml | ||
flipper-zero-cla.md | ||
README.md | ||
syntax_check.sh | ||
wiki-deploy.sh |
Flipper Zero Firmware community repo
Welcome to Flipper Zero's Firmware repo! Our goal is to create nice and clean code along with good documentation, to make it a pleasure for everyone to work with. This repo will become completely public closer to the device shipping date.
We are open for changes! You can suggest changes for any part of the code, wiki, guidelines, workflow, automation, etc.
If you are deary to start, please read contribution guide about creating issue, editing wiki, improving codebase and configuring environment.
Developer blog
You can read project updates in our developer blog:
Firmware
Update firmware
Flipper Zero's firmware consists of two components: Bootloader and main firmware. Bootloader controls firmware update process over USB. You need working bootloader installed before update firmware over USB.
-
Download latest Firmware ⚠️ TODO permanent link to latest firmware from master ⚠️
-
Reboot Flipper to Firmware update mode
-
Run
dfu-util -D firmware.bin -a 0 -s 0x08008000:leave
Build from source
You can run firmware locally (with HAL stub):
docker-compose exec dev make -C firmware TARGET=local APP_TEST=1 run
for running testsdocker-compose exec dev make -C firmware TARGET=local APP_*=1 run
for running examples (seeapplications/applications.mk
for list of applications/examples)
Or you can use your dev. board:
docker-compose exec dev make -C firmware TARGET=f2 APP_*=1 flash
for build and flash dev board (see applications/applications.mk
for list of applications/examples)
Architecture and components
Flipper consists of the two main parts:
- Core: OS, HAL, FS, bootloader, FURI
- Applications: features like RFID or Tamagotchi, and also background tasks like button debouncing and backlight control.
User Interface
Features
- Basic Features
- SD-card
- Sub-1 GHz radio (Transceiver Based on CC1101 chip for 315/433/868 MHz)
- 125 kHz RFID
- Infrared
- iButton contact keys
- USB
- Bluetooth
- GPIO/HW Modules
- NFC
- U2F
- Tamagotchi
- Plugins
Hardware
Tools
Links
- Discord server: flipperzero.one/discord
- Project website: flipperzero.one
- Kickstarter page: kickstarter.com
- Forum: forum.flipperzero.one