You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gi...@apache.org on 2022/05/26 00:16:59 UTC
[incubator-nuttx-website] branch asf-site updated: Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: 3f65b562bb2a686f42a5709603b8d9ce33f2ce86
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a8e150f Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: 3f65b562bb2a686f42a5709603b8d9ce33f2ce86
a8e150f is described below
commit a8e150f268a178dd095634b11e189d1b7e71e9f1
Author: Abdelatif <ab...@espressif.com>
AuthorDate: Thu May 26 00:14:54 2022 +0000
Publishing web: 1b39f27b512cbb1fc294b70e0e70a67d0092b98d docs: 3f65b562bb2a686f42a5709603b8d9ce33f2ce86
---
content/docs/10.0.0/index.html | 2 +-
content/docs/10.0.1/index.html | 2 +-
content/docs/10.1.0/index.html | 2 +-
content/docs/10.2.0/index.html | 2 +-
.../esp32/boards/esp32-devkitc/index.rst.txt | 38 +++++++++++++++++++++
content/docs/latest/index.html | 2 +-
content/docs/latest/objects.inv | Bin 33267 -> 33289 bytes
.../xtensa/esp32/boards/esp32-devkitc/index.html | 34 ++++++++++++++++++
content/docs/latest/searchindex.js | 2 +-
content/feed.xml | 4 +--
10 files changed, 80 insertions(+), 8 deletions(-)
diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html
index c3500ec..b1ad0bf 100644
--- a/content/docs/10.0.0/index.html
+++ b/content/docs/10.0.0/index.html
@@ -207,7 +207,7 @@ by following these <a class="reference internal" href="contributing/documentatio
<div class="section" id="nuttx-documentation">
<h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1>
<p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p>
-<p>Last Updated: 25 May 22 at 00:11</p>
+<p>Last Updated: 26 May 22 at 00:11</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
diff --git a/content/docs/10.0.1/index.html b/content/docs/10.0.1/index.html
index cb5de17..9c3ca4a 100644
--- a/content/docs/10.0.1/index.html
+++ b/content/docs/10.0.1/index.html
@@ -215,7 +215,7 @@ by following these <a class="reference internal" href="contributing/documentatio
<div class="section" id="nuttx-documentation">
<h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1>
<p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p>
-<p>Last Updated: 25 May 22 at 00:12</p>
+<p>Last Updated: 26 May 22 at 00:11</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
diff --git a/content/docs/10.1.0/index.html b/content/docs/10.1.0/index.html
index 84021b8..d5e7793 100644
--- a/content/docs/10.1.0/index.html
+++ b/content/docs/10.1.0/index.html
@@ -215,7 +215,7 @@ by following these <a class="reference internal" href="contributing/documentatio
<div class="section" id="nuttx-documentation">
<h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1>
<p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p>
-<p>Last Updated: 25 May 22 at 00:12</p>
+<p>Last Updated: 26 May 22 at 00:12</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
diff --git a/content/docs/10.2.0/index.html b/content/docs/10.2.0/index.html
index 99be910..0376b15 100644
--- a/content/docs/10.2.0/index.html
+++ b/content/docs/10.2.0/index.html
@@ -216,7 +216,7 @@ by following these <a class="reference internal" href="contributing/documentatio
<div class="section" id="nuttx-documentation">
<h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1>
<p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p>
-<p>Last Updated: 25 May 22 at 00:13</p>
+<p>Last Updated: 26 May 22 at 00:12</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
diff --git a/content/docs/latest/_sources/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst.txt b/content/docs/latest/_sources/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst.txt
index 919c3ae..4fb26b3 100644
--- a/content/docs/latest/_sources/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst.txt
+++ b/content/docs/latest/_sources/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst.txt
@@ -315,6 +315,44 @@ To test it, just run the following::
Where x in the watchdog instance.
+wamr_wasi_debug
+---------------
+
+This config is an example to use wasm-micro-runtime.
+It can run both of wasm bytecode and AoT compiled modules.
+
+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/....
+
efuse
-----
diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html
index 99be910..5827985 100644
--- a/content/docs/latest/index.html
+++ b/content/docs/latest/index.html
@@ -216,7 +216,7 @@ by following these <a class="reference internal" href="contributing/documentatio
<div class="section" id="nuttx-documentation">
<h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1>
<p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p>
-<p>Last Updated: 25 May 22 at 00:13</p>
+<p>Last Updated: 26 May 22 at 00:13</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
diff --git a/content/docs/latest/objects.inv b/content/docs/latest/objects.inv
index ad3abf6..390907f 100644
Binary files a/content/docs/latest/objects.inv and b/content/docs/latest/objects.inv differ
diff --git a/content/docs/latest/platforms/xtensa/esp32/boards/esp32-devkitc/index.html b/content/docs/latest/platforms/xtensa/esp32/boards/esp32-devkitc/index.html
index 34185b9..156ec9c 100644
--- a/content/docs/latest/platforms/xtensa/esp32/boards/esp32-devkitc/index.html
+++ b/content/docs/latest/platforms/xtensa/esp32/boards/esp32-devkitc/index.html
@@ -550,6 +550,40 @@ example.</p>
</div>
<p>Where x in the watchdog instance.</p>
</div>
+<div class="section" id="wamr-wasi-debug">
+<h3>wamr_wasi_debug<a class="headerlink" href="#wamr-wasi-debug" title="Permalink to this headline">¶</a></h3>
+<p>This config is an example to use wasm-micro-runtime.
+It can run both of wasm bytecode and AoT compiled modules.</p>
+<p>This example uses littlefs on ESP32’s SPI flash to store wasm modules.</p>
+<ol class="arabic">
+<li><p>Create a littlefs image which contains wasm modules.</p>
+<p><a class="reference external" href="https://github.com/jrast/littlefs-python/blob/master/examples/mkfsimg.py">https://github.com/jrast/littlefs-python/blob/master/examples/mkfsimg.py</a>
+is used in the following example.</p>
+</li>
+</ol>
+<blockquote>
+<div><dl class="simple">
+<dt>% python3 mkfsimg.py </dt><dd><p>–img-filename …./littlefs.bin –img-size 3080192 –block-size 4096 –prog-size 256 –read-size 256 …./wasm_binary_directory</p>
+</dd>
+</dl>
+</div></blockquote>
+<ol class="arabic simple" start="2">
+<li><p>Write the NuttX image and the filesystem to ESP32.</p></li>
+</ol>
+<blockquote>
+<div><dl class="simple">
+<dt>% esptool.py </dt><dd><p>–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</p>
+</dd>
+</dl>
+</div></blockquote>
+<ol class="arabic simple" start="3">
+<li><p>Mount the filesystem and run a wasm module on it.</p></li>
+</ol>
+<blockquote>
+<div><p>nsh> mount -t littlefs /dev/esp32flash /mnt
+nsh> iwasm /mnt/….</p>
+</div></blockquote>
+</div>
<div class="section" id="efuse">
<h3>efuse<a class="headerlink" href="#efuse" title="Permalink to this headline">¶</a></h3>
<p>A config with EFUSE enabled.</p>
diff --git a/content/docs/latest/searchindex.js b/content/docs/latest/searchindex.js
index 19ea22c..48832e6 100644
--- a/content/docs/latest/searchindex.js
+++ b/content/docs/latest/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...]
\ No newline at end of file
+Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...]
\ No newline at end of file
diff --git a/content/feed.xml b/content/feed.xml
index 5ee0aa2..d857b62 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -5,8 +5,8 @@
<description></description>
<link>/</link>
<atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Wed, 25 May 2022 00:15:07 +0000</pubDate>
- <lastBuildDate>Wed, 25 May 2022 00:15:07 +0000</lastBuildDate>
+ <pubDate>Thu, 26 May 2022 00:14:51 +0000</pubDate>
+ <lastBuildDate>Thu, 26 May 2022 00:14:51 +0000</lastBuildDate>
<generator>Jekyll v3.8.5</generator>
<item>