kopia lustrzana https://github.com/espressif/esp-idf
18 wiersze
1.3 KiB
ReStructuredText
18 wiersze
1.3 KiB
ReStructuredText
Migrate Build System to ESP-IDF 5.0
|
|
===================================
|
|
|
|
Migrating from make to cmake
|
|
----------------------------
|
|
|
|
Please follow the :ref:`build system <migrating_from_make>` guide for migrating make-based projects no longer supported in ESP-IDF v5.0.
|
|
|
|
Update fragment file grammar
|
|
----------------------------
|
|
|
|
Please follow the :ref:`migrate linker script fragment files grammar<ldgen-migrate-lf-grammar>` chapter for migrating v3.x grammar to the new one.
|
|
|
|
Dependency on driver component shall be explicit
|
|
------------------------------------------------
|
|
|
|
In previous versions of ESP-IDF, target components (``components/esp32*``) had a dependency on ``driver`` component. Since target components were part of common requirements (:ref:`more info about common requirements <component-common-requirements>`), all components in the project implicitly had a dependency on ``driver`` component. Now that the dependency of target components on ``driver`` has been removed, every component which depends on ``driver`` has to declare this dependency explicitly. This can be done by adding ``REQUIRES driver`` or ``PRIV_REQUIRES driver`` in ``idf_component_register`` call inside component's ``CMakeLists.txt``. See :ref:`Component Requirements` for more information on specifying component requirements.
|