summaryrefslogtreecommitdiff
path: root/doc/source/appendix-b.rst
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-12 01:35:03 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-12 01:35:03 +0200
commit390c0f195b48010a044a38c56e1f9f436b7510ec (patch)
treeb3aba152674cd64a1bcdf1f5b74abcfe62912fd2 /doc/source/appendix-b.rst
parent52ecbb4ddce66ddebc45c787af72873ba61dd9f7 (diff)
More modifications, added POSIX description, which closes #1
Diffstat (limited to 'doc/source/appendix-b.rst')
-rw-r--r--doc/source/appendix-b.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/source/appendix-b.rst b/doc/source/appendix-b.rst
index 4e34b7b..93a9d85 100644
--- a/doc/source/appendix-b.rst
+++ b/doc/source/appendix-b.rst
@@ -19,9 +19,13 @@ where (especially with the POSIX compatibility layer enabled),
the programming style for eCos applications dedicated for the Cortex-M4 core can vastly resemble that of Linux programs running on the Cortex-A5 core,
lowering the entry barrier for programmers.
-.. todo::
+To activate this package, use either :program:`ecosconfig` (``ecosconfig add CYGPKG_POSIX``) or :program:`configtool`:
- Describe how to enable POSIX compatibility, and point to a sample program.
+#. Choose :menuselection:`Build --> Packages`
+#. Select :guilabel:`POSIX compatibility layer` and click :guilabel:`Add >>`, then :guilabel:`OK`
+#. A new package, ``POSIX compatibility layer`` should appear in the package list - save your ``.ecc`` file and exit.
+
+A sample application, verified to work as expected using the port can be found inside the port code, in the subdirectory :file:`compat/posix/current/tests/pthread1.c`.
µITRON
------