flipperzero-firmware/README.md

86 lines
5.9 KiB
Markdown
Raw Normal View History

2020-08-17 22:10:34 +00:00
# Flipper Zero Firmware community repo
![](https://github.com/Flipper-Zero/flipperzero-firmware-community/raw/master/wiki_static/firmware-wiki-header.gif)
2020-08-01 19:54:58 +00:00
2020-08-18 17:18:09 +00:00
Welcome to [Flipper Zero](https://flipperzero.one/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.
2020-08-01 19:47:07 +00:00
2020-08-18 17:18:09 +00:00
# Current state of Flipper developement
2020-08-01 19:47:07 +00:00
2020-08-18 17:18:09 +00:00
## Hardware
2020-08-02 05:32:15 +00:00
Current Flipper Zero prototype is based on board [Version 0 (F1B1C0.0)](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Hardware-version-F1B1C0.0) that have a lot of bugs. We have finished the next version of PCB, where these bugs are fixed, and now waiting for it its manufacturing. This new board will be used as Developer Kit for early firmware development and will be sent to developers.
2020-08-02 05:25:17 +00:00
2020-08-18 17:18:09 +00:00
## Firmware
2020-08-07 06:51:41 +00:00
2020-08-20 17:35:30 +00:00
During the early prototyping stages of Flipper Zero, we have used a lot of 3rd-party code, sketches, and dirty demos just as proof of concept, and didn't think too much about architecture. This code splits into many incompatible pieces of code, and some of them dont even have an UI. This repo is cleaned from all the dirty demos and prepared for contributors, so we will start porting all the legacy code here, following the new architecture.
2020-08-18 14:43:39 +00:00
2020-08-20 15:55:30 +00:00
Right now we are working on clean architecture and documentation for contributors. You can run firmware locally (with HAL stub).
2020-08-07 06:51:41 +00:00
2020-08-18 17:18:09 +00:00
* `docker-compose exec dev make -C target_lo` for build
* `docker-compose exec dev target_lo/build/target_lo` for run
2020-08-07 06:51:41 +00:00
2020-08-20 17:09:46 +00:00
Read more in [building instructions](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Firmware#building).
2020-08-18 17:18:09 +00:00
# Flipper developement roadmap
2020-08-20 19:05:09 +00:00
* ~~**Phase 0** (compelete) Preparing for Kickstarter, prototyping UI, checkng hardware, prototype protocol sniffer, tag readers, etc.~~
2020-08-20 15:55:30 +00:00
* **Phase 1.** (Current) Set up developing routines for massive contributors activity, architecture and documentation. Building hardware rig for remote testing.
* **Phase 2.** Start massive contributors program. Preparing Developments Kits for sending to few developers.
* **Phase 3.** Next PCB release [Version 1 (F2B0C1)](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Hardware-version-F2B0C1.1) and sending it to more contributos.
* **Phase 4.** Release PCB based on STM32WB55RB and sending it to developers.
2020-08-20 17:09:46 +00:00
* **Phase 5.** Making all repositories publicly open.
2020-08-18 17:18:09 +00:00
2020-08-20 19:05:09 +00:00
# Tasks for phase 1: (Doing right now)
2020-08-18 17:18:09 +00:00
* Finalize firmware core architecture and document it for contributors onboarding. You can see progress in [Core project](https://github.com/Flipper-Zero/flipperzero-firmware-community/projects/3)
* Set up a test environment and CI. You can see progress in [Environment project](https://github.com/Flipper-Zero/flipperzero-firmware-community/projects/2)
* Create Flipper Zero software emulator with display and buttons [Task #22](https://github.com/Flipper-Zero/flipperzero-firmware-community/issues/22)
* Set up integration between wiki and issues, configure wiki generator from doc files: [Task #16](https://github.com/Flipper-Zero/flipperzero-firmware-community/issues/16)
* Finish the basic wiki pages: create feature description, UI sketches, links to related project/code, documentation for protocols/
* Make basic code examples [Task #15](https://github.com/Flipper-Zero/flipperzero-firmware-community/issues/15)
* Transfer old code to new architecture
2020-08-28 18:42:05 +00:00
**We are open for changes!** You can suggest changes for any part of the code, wiki, guidelines, workflow, automation, etc.
2020-08-18 17:18:09 +00:00
2020-08-20 17:35:30 +00:00
If you are deary to start, please read [contribution guide](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Contributing) about creating issue, editing wiki, improving codebase and configuring environment.
2020-08-18 17:18:09 +00:00
# Firmware
**[Firmware page](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Firmware)**
2020-08-20 17:35:30 +00:00
Flipper consists of the two main parts:
2020-08-18 17:18:09 +00:00
* Core: OS, HAL, FS, bootloader, FURI
2020-08-20 17:35:30 +00:00
* Applications: features like RFID or Tamagotchi, and also background tasks like button debouncing and backlight control.
2020-08-18 17:18:09 +00:00
## UI
Common UI feature (menu, screens...) at [UI page](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/UI)
## Features
2020-08-07 06:51:41 +00:00
2020-08-17 09:02:31 +00:00
* [Basic Features](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Basic-features)
* [Sub-1 GHz radio](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Sub-1-GHz-radio) (Transceiver Based on CC1101 chip for 315/433/868 MHz)
* [125 kHz RFID](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/125-kHz-RFID)
* [Infrared](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Infrared)
* [iButton contact keys](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/iButton-contact-keys)
* [USB](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/USB)
* [Bluetooth](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Bluetooth)
* [GPIO/HW Modules](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/GPIO)
* [NFC](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/NFC)
* [U2F](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/U2F)
* [Tamagotchi](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Tamagotchi)
* [USB](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/USB)
* [Plugins](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Plugins)
2020-08-02 05:25:17 +00:00
2020-08-15 06:59:22 +00:00
# Hardware
2020-08-02 05:25:17 +00:00
2020-08-18 17:18:09 +00:00
**[Hardware page](https://github.com/Flipper-Zero/flipperzero-firmware-community/wiki/Hardware)**
2020-08-15 06:59:22 +00:00
# Links
2020-08-21 12:41:14 +00:00
* Discord server: [flipperzero.one/discord](https://flipperzero.one/discord)
2020-08-15 06:59:22 +00:00
* Project website: [flipperzero.one](https://flipperzero.one)
* Kickstarter page: [kickstarter.com](https://www.kickstarter.com/projects/flipper-devices/flipper-zero-tamagochi-for-hackers)
2020-08-17 09:02:31 +00:00
* Forum: [forum.flipperzero.one](https://forum.flipperzero.one/)