From 9c39290f12cc4c763300da4251e4cf355982e6a9 Mon Sep 17 00:00:00 2001 From: DF Date: Fri, 10 Sep 2021 08:33:21 +0800 Subject: [PATCH] fix: correct the docker-compose command. (#691) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anna Prosvetova Co-authored-by: あく --- ReadMe.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index d5d54baf..9fd85687 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -67,13 +67,13 @@ One liner: `./flash_core1_main.sh` ``` 3. Prepare the container: ```sh - docker compose up -d + docker-compose up -d ``` ## Compile bootloader ```sh -docker compose exec dev make -j$(nproc) -C bootloader TARGET=f6 +docker-compose exec dev make -j$(nproc) -C bootloader TARGET=f6 ``` Bootloader compilation results: @@ -85,7 +85,7 @@ Bootloader compilation results: ## Compile firmware ```sh -docker compose exec dev make -j$(nproc) -C firmware TARGET=f6 +docker-compose exec dev make -j$(nproc) -C firmware TARGET=f6 ``` Firmware compilation results: @@ -102,14 +102,14 @@ That's exactly how we generate our `full` builds. 1. Concatenate HEX files: ```sh - docker compose exec dev srec_cat \ + docker-compose exec dev srec_cat \ bootloader/.obj/f6/bootloader.hex -Intel \ firmware/.obj/f6/firmware.hex -Intel \ -o firmware/.obj/f6/full.hex -Intel ``` 2. Convert HEX to DFU: ```sh - docker compose exec dev hex2dfu \ + docker-compose exec dev hex2dfu \ -i firmware/.obj/f6/full.hex \ -o firmware/.obj/f6/full.dfu \ -l "Flipper Zero F6"