f5b342abbe
* initial gpio layer * move temlplate.c to template.c.example in preparing to applications.mk rework * separate arduino layer * separate flipper_hal.x * prepare to switch applications on v2 core gpio api * swithch applications to v2 gpio api * gpio api for local target * better gpio_disable handling * remove pwm functions from local target * inline gpio funcs * common function to init all api's * fix local example blink * move delay us to hal api folder * move pwm_set/pwm_stop to hal api folder * update applications to use hal pwm api * remove gpio mode case warning * add speaker demo to build Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com> |
||
---|---|---|
.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