docs(linux): refactored and updated Linux target docs

This commit is contained in:
Jakob Hasse
2022-11-22 17:13:21 +01:00
parent 7f4179744b
commit b718c7182c
9 changed files with 166 additions and 82 deletions

View File

@@ -1,3 +1,13 @@
- Installed IDF including all IDF requirements
- CMock requirements (``Ruby``)
- System package requirements (``libbsd``, ``libbsd-dev``)
- A recent enough Linux or MacOS version and gcc compiler
- All components the application depends on must be either supported on the Linux target (Linux/POSIX simulator) or mock-able
An application that runs on the Linux target has to set the ``COMPONENTS`` variable to ``main`` in the CMakeLists.txt of the application's root directory:
.. code-block:: cmake
set(COMPONENTS main)
This prevents the automatic inclusion of all components from IDF to the build process which is otherwise done for convenience.