You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/04/07 17:05:48 UTC
[incubator-nuttx] branch master updated: Documentation/guides/pysimcoder.rst: update pysimCoder dependencies
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang 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 d5b34f9ce0 Documentation/guides/pysimcoder.rst: update pysimCoder dependencies
d5b34f9ce0 is described below
commit d5b34f9ce066fd3d9fa1dd51e4e7c7e894811599
Author: Michal Lenc <mi...@seznam.cz>
AuthorDate: Thu Apr 7 18:04:27 2022 +0200
Documentation/guides/pysimcoder.rst: update pysimCoder dependencies
CONFIG_LIBM option may be required by some toolchains that do not include
standard math library. Morover CONFIG_PTHREAD_STACK_MIN was listed twice
in the list.
Signed-off-by: Michal Lenc <mi...@seznam.cz>
---
Documentation/guides/pysimcoder.rst | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/guides/pysimcoder.rst b/Documentation/guides/pysimcoder.rst
index 463c86f46a..31fc3fe174 100644
--- a/Documentation/guides/pysimcoder.rst
+++ b/Documentation/guides/pysimcoder.rst
@@ -41,7 +41,7 @@ in case this documentation was not updated when new fuctionalities were added to
NuttX Configuration
-------------------
-Several configuration options are neccessary to be set in order to succesfully compile pysimCoder
+Several configuration options are necessary to be set in order to succesfully compile pysimCoder
with NuttX. The list is the following:
==================================== =====================================
@@ -52,8 +52,8 @@ with NuttX. The list is the following:
``CONFIG_ELF=y`` ``CONFIG_PSEUDOTERM=y``
``CONFIG_FS_BINFS=y`` ``CONFIG_PTHREAD_CLEANUP=y``
``CONFIG_FS_PROCFS=y`` ``CONFIG_PTHREAD_MUTEX_TYPES=y``
-``CONFIG_FS_PROCFS_REGISTER=y`` ``CONFIG_PTHREAD_MUTEX_TYPES=y``
-``CONFIG_FS_ROMFS=y`` ``CONFIG_PTHREAD_STACK_MIN=1024``
+``CONFIG_FS_PROCFS_REGISTER=y`` ``CONFIG_PTHREAD_STACK_MIN=1024``
+``CONFIG_FS_ROMFS=y`` ``CONFIG_LIBM=y``
``CONFIG_FS_TMPFS=y`` ``CONFIG_RR_INTERVAL=10``
``CONFIG_IDLETHREAD_STACKSIZE=2048`` ``CONFIG_SCHED_WAITPID=y``
``CONFIG_LIBC_EXECFUNCS=y`` ``CONFIG_SERIAL_TERMIOS=y``
@@ -63,6 +63,12 @@ with NuttX. The list is the following:
``CONFIG_NSH_FILEIOSIZE=512`` ``CONFIG_INIT_ENTRYPOINT="nsh_main"``
==================================== =====================================
+
+Note that ``CONFIG_LIBM=y`` might not be required for toolchains that already include
+standard math library. However it is recommended to add ``CONFIG_LIBM=y`` to ensure
+math library is included. Subsequently ``CONFIG_LIBC_FLOATINGPOINT=y`` is needed if double values
+are to be printed on terminal.
+
In case you want to use Network and blocks like TCP or UDP, following configuration
options are required: