You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/05/27 08:05:04 UTC
[incubator-nuttx] branch master updated: Documentation: esp32-devkitc: Improve html rendering
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 045f8753e2 Documentation: esp32-devkitc: Improve html rendering
045f8753e2 is described below
commit 045f8753e27ae90c748c9156b7145d5dffe13396
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri May 27 16:37:52 2022 +0900
Documentation: esp32-devkitc: Improve html rendering
---
.../xtensa/esp32/boards/esp32-devkitc/index.rst | 52 +++++++++++-----------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst b/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
index 4fb26b312b..a5d09ef0ff 100644
--- a/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
+++ b/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
@@ -326,32 +326,32 @@ This example uses littlefs on ESP32's SPI flash to store wasm modules.
1. Create a littlefs image which contains wasm modules.
https://github.com/jrast/littlefs-python/blob/master/examples/mkfsimg.py
- is used in the following example.
-
- % python3 mkfsimg.py \
- --img-filename ..../littlefs.bin \
- --img-size 3080192 \
- --block-size 4096 \
- --prog-size 256 \
- --read-size 256 \
- ..../wasm_binary_directory
-
-2. Write the NuttX image and the filesystem to ESP32.
-
- % esptool.py \
- --chip esp32 \
- --port /dev/tty.SLAB_USBtoUART \
- --baud 921600 \
- write_flash \
- 0x1000 ..../bootloader-esp32.bin \
- 0x8000 ..../partition-table-esp32.bin \
- 0x10000 nuttx.bin \
- 0x180000 ..../littlefs.bin
-
-3. Mount the filesystem and run a wasm module on it.
-
- nsh> mount -t littlefs /dev/esp32flash /mnt
- nsh> iwasm /mnt/....
+ is used in the following example::
+
+ % python3 mkfsimg.py \
+ --img-filename ..../littlefs.bin \
+ --img-size 3080192 \
+ --block-size 4096 \
+ --prog-size 256 \
+ --read-size 256 \
+ ..../wasm_binary_directory
+
+2. Write the NuttX image and the filesystem to ESP32::
+
+ % esptool.py \
+ --chip esp32 \
+ --port /dev/tty.SLAB_USBtoUART \
+ --baud 921600 \
+ write_flash \
+ 0x1000 ..../bootloader-esp32.bin \
+ 0x8000 ..../partition-table-esp32.bin \
+ 0x10000 nuttx.bin \
+ 0x180000 ..../littlefs.bin
+
+3. Mount the filesystem and run a wasm module on it::
+
+ nsh> mount -t littlefs /dev/esp32flash /mnt
+ nsh> iwasm /mnt/....
efuse
-----