From 390c0f195b48010a044a38c56e1f9f436b7510ec Mon Sep 17 00:00:00 2001 From: Michael Gielda Date: Sat, 12 Apr 2014 01:35:03 +0200 Subject: More modifications, added POSIX description, which closes #1 --- doc/source/appendix-b.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/source/appendix-b.rst') 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 ------ -- cgit v1.2.3