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 2021/08/10 00:11:02 UTC
[incubator-nuttx-website] branch asf-site updated: Publishing web:
934a4647f20f1ab1148ce00d3b05b97fb19ad702 docs:
c4742c21976cb925cbc7c3b48e6b404f62afe3d4
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 98f5b3c Publishing web: 934a4647f20f1ab1148ce00d3b05b97fb19ad702 docs: c4742c21976cb925cbc7c3b48e6b404f62afe3d4
98f5b3c is described below
commit 98f5b3c15909f26a390dab5f341cce780c915c01
Author: Nathan <59...@users.noreply.github.com>
AuthorDate: Tue Aug 10 00:09:27 2021 +0000
Publishing web: 934a4647f20f1ab1148ce00d3b05b97fb19ad702 docs: c4742c21976cb925cbc7c3b48e6b404f62afe3d4
---
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/latest/_sources/faq/index.rst.txt | 37 ++++++++++++++++-
content/docs/latest/faq/index.html | 55 ++++++++++++++++++++++++-
content/docs/latest/index.html | 4 +-
content/docs/latest/objects.inv | Bin 32789 -> 32920 bytes
content/docs/latest/searchindex.js | 2 +-
content/feed.xml | 4 +-
9 files changed, 97 insertions(+), 11 deletions(-)
diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html
index 10d5230..ffe9434 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: 09 August 21 at 00:06</p>
+<p>Last Updated: 10 August 21 at 00:06</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 ddcb909..e54066b 100644
--- a/content/docs/10.0.1/index.html
+++ b/content/docs/10.0.1/index.html
@@ -213,7 +213,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: 09 August 21 at 00:06</p>
+<p>Last Updated: 10 August 21 at 00:07</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 5669a22..81e262f 100644
--- a/content/docs/10.1.0/index.html
+++ b/content/docs/10.1.0/index.html
@@ -213,7 +213,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: 09 August 21 at 00:06</p>
+<p>Last Updated: 10 August 21 at 00:07</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/faq/index.rst.txt b/content/docs/latest/_sources/faq/index.rst.txt
index cb4c7d3..93a0c04 100644
--- a/content/docs/latest/_sources/faq/index.rst.txt
+++ b/content/docs/latest/_sources/faq/index.rst.txt
@@ -82,8 +82,43 @@ You need to enable these options in the menuconfig:
[*] Support SIGINT
(0x03) Serial parse SIGINT characters
+Board Initialization
+====================
+
+How to start directly my application instead starting NSH?
+----------------------------------------------------------
+
+You can start you application directly instead of starting the default
+NSH terminal. Lets support your application is called "hello", then you
+will modify the ENTRYPOINT to call "hello_main" instead of "nsh_main":
+
+ RTOS Features --->
+ Tasks and Scheduling --->
+ (hello_main) Application entry point
+
+Why after putting my application on ENTRYPOINT it stops to work?
+----------------------------------------------------------------
+
+When you replace the ENTRYPOINT from "nsh_main" to your application some
+initialization flow are changed, for instace the NSH_ARCHINIT is not
+executed anymore and so some drivers initialiation that are called from
+it also stops to work.
+
+You can fix it enabling the Board Late Initialization that will replace the
+NSH_ARCHINIT to call those drivers initialization. Just enable it:
+
+ RTOS Features --->
+ RTOS hooks --->
+ [*] Custom board late initialization
+
+Also you need to disable the architecture-specific initialization:
+
+ Application Configuration --->
+ NSH Library --->
+ [ ] Have architecture-specific initialization
+
Why isn't /dev/ttySx created when using USB Console even when UART is enabled?
-==============================================================================
+------------------------------------------------------------------------------
If you don't use serial console then /dev/ttyS0 will not be created,
even if you enable the UART peripheral at "System Type".
diff --git a/content/docs/latest/faq/index.html b/content/docs/latest/faq/index.html
index a442154..9bc4433 100644
--- a/content/docs/latest/faq/index.html
+++ b/content/docs/latest/faq/index.html
@@ -139,7 +139,12 @@
<li class="toctree-l3"><a class="reference internal" href="#how-to-interrupt-an-nsh-application-using-ctrl-c">How to interrupt an NSH Application using Ctrl^C ?</a></li>
</ul>
</li>
-<li class="toctree-l2"><a class="reference internal" href="#why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled">Why isn’t /dev/ttySx created when using USB Console even when UART is enabled?</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#board-initialization">Board Initialization</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#how-to-start-directly-my-application-instead-starting-nsh">How to start directly my application instead starting NSH?</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#why-after-putting-my-application-on-entrypoint-it-stops-to-work">Why after putting my application on ENTRYPOINT it stops to work?</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled">Why isn’t /dev/ttySx created when using USB Console even when UART is enabled?</a></li>
+</ul>
+</li>
<li class="toctree-l2"><a class="reference internal" href="#network">Network</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#how-to-detect-ethernet-cable-connection-disconnection">How to detect Ethernet cable connection/disconnection?</a></li>
</ul>
@@ -336,8 +341,53 @@ then you need to use this other option:</p>
</div></blockquote>
</div>
</div>
+<div class="section" id="board-initialization">
+<h2>Board Initialization<a class="headerlink" href="#board-initialization" title="Permalink to this headline">¶</a></h2>
+<div class="section" id="how-to-start-directly-my-application-instead-starting-nsh">
+<h3>How to start directly my application instead starting NSH?<a class="headerlink" href="#how-to-start-directly-my-application-instead-starting-nsh" title="Permalink to this headline">¶</a></h3>
+<p>You can start you application directly instead of starting the default
+NSH terminal. Lets support your application is called “hello”, then you
+will modify the ENTRYPOINT to call “hello_main” instead of “nsh_main”:</p>
+<blockquote>
+<div><dl class="simple">
+<dt>RTOS Features —></dt><dd><dl class="simple">
+<dt>Tasks and Scheduling —></dt><dd><p>(hello_main) Application entry point</p>
+</dd>
+</dl>
+</dd>
+</dl>
+</div></blockquote>
+</div>
+<div class="section" id="why-after-putting-my-application-on-entrypoint-it-stops-to-work">
+<h3>Why after putting my application on ENTRYPOINT it stops to work?<a class="headerlink" href="#why-after-putting-my-application-on-entrypoint-it-stops-to-work" title="Permalink to this headline">¶</a></h3>
+<p>When you replace the ENTRYPOINT from “nsh_main” to your application some
+initialization flow are changed, for instace the NSH_ARCHINIT is not
+executed anymore and so some drivers initialiation that are called from
+it also stops to work.</p>
+<p>You can fix it enabling the Board Late Initialization that will replace the
+NSH_ARCHINIT to call those drivers initialization. Just enable it:</p>
+<blockquote>
+<div><dl class="simple">
+<dt>RTOS Features —></dt><dd><dl class="simple">
+<dt>RTOS hooks —></dt><dd><p>[*] Custom board late initialization</p>
+</dd>
+</dl>
+</dd>
+</dl>
+</div></blockquote>
+<p>Also you need to disable the architecture-specific initialization:</p>
+<blockquote>
+<div><dl class="simple">
+<dt>Application Configuration —></dt><dd><dl class="simple">
+<dt>NSH Library —></dt><dd><p>[ ] Have architecture-specific initialization</p>
+</dd>
+</dl>
+</dd>
+</dl>
+</div></blockquote>
+</div>
<div class="section" id="why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled">
-<h2>Why isn’t /dev/ttySx created when using USB Console even when UART is enabled?<a class="headerlink" href="#why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled" title="Permalink to this headline">¶</a></h2>
+<h3>Why isn’t /dev/ttySx created when using USB Console even when UART is enabled?<a class="headerlink" href="#why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled" title="Permalink to this headline">¶</a></h3>
<p>If you don’t use serial console then /dev/ttyS0 will not be created,
even if you enable the UART peripheral at “System Type”.</p>
<p>You can fix it enabling the Serial Upper-Half Driver:</p>
@@ -351,6 +401,7 @@ even if you enable the UART peripheral at “System Type”.</p>
</dl>
</div></blockquote>
</div>
+</div>
<div class="section" id="network">
<h2>Network<a class="headerlink" href="#network" title="Permalink to this headline">¶</a></h2>
<div class="section" id="how-to-detect-ethernet-cable-connection-disconnection">
diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html
index 9328185..223a5df 100644
--- a/content/docs/latest/index.html
+++ b/content/docs/latest/index.html
@@ -214,7 +214,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: 09 August 21 at 00:07</p>
+<p>Last Updated: 10 August 21 at 00:07</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Table of Contents</span></p>
<ul class="current">
@@ -277,7 +277,7 @@ by following these <a class="reference internal" href="contributing/documentatio
</li>
<li class="toctree-l1"><a class="reference internal" href="faq/index.html">FAQ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="faq/index.html#nsh-tricks">NSH Tricks</a></li>
-<li class="toctree-l2"><a class="reference internal" href="faq/index.html#why-isn-t-dev-ttysx-created-when-using-usb-console-even-when-uart-is-enabled">Why isn’t /dev/ttySx created when using USB Console even when UART is enabled?</a></li>
+<li class="toctree-l2"><a class="reference internal" href="faq/index.html#board-initialization">Board Initialization</a></li>
<li class="toctree-l2"><a class="reference internal" href="faq/index.html#network">Network</a></li>
</ul>
</li>
diff --git a/content/docs/latest/objects.inv b/content/docs/latest/objects.inv
index 6c4c0db..d1890c8 100644
Binary files a/content/docs/latest/objects.inv and b/content/docs/latest/objects.inv differ
diff --git a/content/docs/latest/searchindex.js b/content/docs/latest/searchindex.js
index dc8a693..02a7b74 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 8632ec2..e64485f 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>Mon, 09 Aug 2021 00:09:05 +0000</pubDate>
- <lastBuildDate>Mon, 09 Aug 2021 00:09:05 +0000</lastBuildDate>
+ <pubDate>Tue, 10 Aug 2021 00:09:25 +0000</pubDate>
+ <lastBuildDate>Tue, 10 Aug 2021 00:09:25 +0000</lastBuildDate>
<generator>Jekyll v3.8.5</generator>
<item>