diff options
Diffstat (limited to 'doc/source/appendix-b.rst')
-rw-r--r-- | doc/source/appendix-b.rst | 8 |
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 ------ |