doc: minor, fix typo
This commit is contained in:
parent
78a85cdb5b
commit
3865612f0c
|
@ -24,7 +24,7 @@ idf.py -B_build/wemos_s2_mini -DFAMILY=esp32s2 -DBOARD=wemos_s2_mini -DIDF_TARG
|
||||||
flash
|
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
|
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.
|
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.
|
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.
|
For that, a custom [partition table](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/partition-tables.html) is used.
|
||||||
|
|
||||||
config
|
config
|
||||||
------
|
------
|
||||||
|
@ -53,7 +53,7 @@ runtime
|
||||||
-------
|
-------
|
||||||
|
|
||||||
This firmware is just for the DFU mode.
|
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.
|
To switch from runtime to DFU mode during detach, set the boot partition in `otadata` to `factory`, and restart the ESP.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue