diff options
author | あく <alleteam@gmail.com> | 2021-12-05 14:47:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 14:47:02 +0300 |
commit | 98bc190ac4b1b370dfc1f3a182fd760597761610 (patch) | |
tree | 909e24d4591548f0b02ecf8dd7fcf502f1aaf00c /ReadMe.md | |
parent | 4b8653e061175245b469cb309eaa6deb4c9ff5bc (diff) |
Hackathone session: bugfixes and documentation update (#869)
* ReadMe: update flashing scripts section
* Furi: add record exists method to record store.
* FuriHal: early OS init and i2c timeouts based on os ticks.
* Storage: replace malloc with furi_alloc, fix errors found by pvs.
* iButton: properly handle shutdown in cli search command
* SubGhz: proper argument type in sscanf and incorrect position of logging in switch.
Diffstat (limited to 'ReadMe.md')
-rw-r--r-- | ReadMe.md | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -14,40 +14,40 @@ Our goal is to create nice and clean code with good documentation, to make it a Flipper Zero's firmware consists of three components: -- Core2 firmware set - proprietary components by ST: FUS + radio stack. -- Core1 Bootloader - controls basic hardware initialization and loads firmware -- Core1 Firmware - HAL + OS + Drivers + Applications +- Core2 firmware set - proprietary components by ST: FUS + radio stack. FUS is flashed at factory and you should never update it. +- Core1 Bootloader - controls basic hardware initialization and loads firmware. +- Core1 Firmware - HAL + OS + Drivers + Applications. All 3 of them must be flashed in order described. ## With STLink -### Core2 flashing procedures +### Core1 Bootloader + Firmware Prerequisites: - Linux / macOS - Terminal -- STM32_Programmer_CLI added to $PATH +- [arm-gcc-none-eabi](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) +- openocd -One liner: `./flash_core2_ble.sh` +One liner: `make flash` -### Core1 Bootloader + Firmware +### Core2 flashing procedures Prerequisites: - Linux / macOS - Terminal -- [arm-gcc-none-eabi](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) -- openocd +- STM32_Programmer_CLI (v2.5.0) added to $PATH -One liner: `./flash_core1_main.sh` +One liner: `make flash_radio` ## With USB DFU 1. Download latest [Firmware](https://update.flipperzero.one) -2. Reboot Flipper to Bootloader +2. Reboot Flipper to Bootloader - Press and hold `← Left` + `↩ Back` for reset - Release `↩ Back` and keep holding `← Left` until blue LED lights up - Release `← Left` @@ -61,9 +61,10 @@ One liner: `./flash_core1_main.sh` 1. Install [Docker Engine and Docker Compose](https://www.docker.com/get-started) 2. Prepare the container: - ```sh - docker-compose up -d - ``` + + ```sh + docker-compose up -d + ``` ## Compile everything |