From 3865612f0c4a5c18590c6f0f38eb29ad6f16be30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 24 Oct 2022 14:13:56 +0200 Subject: [PATCH] doc: minor, fix typo --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7458d42fa..a214a25b1 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ idf.py -B_build/wemos_s2_mini -DFAMILY=esp32s2 -DBOARD=wemos_s2_mini -DIDF_TARG flash ----- -To flash the compiled fimware: +To flash the compiled firmware: ~~~ idf.py -B_build/wemos_s2_mini -DFAMILY=esp32s2 -DBOARD=wemos_s2_mini -DIDF_TARGET=esp32s2 -p /dev/ttyACM0 flash @@ -37,8 +37,8 @@ esptool.py -p /dev/ttyACM0 --before no_reset --after no_reset --chip esp32s2 wr ~~~ This will flash the DFU firmware to the `factory` partition. -The DFU firmware will in turn flash the downladed image onto the [OTA0](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/system/ota.html) partition. -For that a custom [partition table](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/partition-tables.html) is used. +The DFU firmware will in turn flash the downloaded image onto the [OTA0](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/system/ota.html) partition. +For that, a custom [partition table](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/partition-tables.html) is used. config ------ @@ -53,7 +53,7 @@ runtime ------- This firmware is just for the DFU mode. -The main application needs to implement the runtime mode seperately. +The main application needs to implement the runtime mode separately. To switch from runtime to DFU mode during detach, set the boot partition in `otadata` to `factory`, and restart the ESP.