mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 09:13:11 +00:00
docs(linux): refactored and updated Linux target docs
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user