From 5f93ea94ac58ec9450da82c182a2b713135df4ae54bab6409df6fd60e1a9be4b Mon Sep 17 00:00:00 2001 From: localhorst Date: Sun, 25 Jan 2026 14:26:09 +0100 Subject: [PATCH] update to new IDF component lib --- .gitignore | 2 ++ CMakeLists.txt | 3 --- main/idf_component.yml | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 main/idf_component.yml diff --git a/.gitignore b/.gitignore index e5348d3..4d25375 100644 --- a/.gitignore +++ b/.gitignore @@ -291,3 +291,5 @@ dkms.conf *.out *.app +managed_components/ +dependencies.lock diff --git a/CMakeLists.txt b/CMakeLists.txt index 561307f..c67b51e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,3 @@ - -set(EXTRA_COMPONENT_DIRS $ENV{ESP_IDF_LIB_PATH}/components) - # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) diff --git a/main/idf_component.yml b/main/idf_component.yml new file mode 100644 index 0000000..5fa17bf --- /dev/null +++ b/main/idf_component.yml @@ -0,0 +1,17 @@ +## IDF Component Manager Manifest File +dependencies: + ## Required IDF version + idf: + version: '>=4.1.0' + # # Put list of dependencies here + # # For components maintained by Espressif: + # component: "~1.0.0" + # # For 3rd party components: + # username/component: ">=1.0.0,<2.0.0" + # username2/component2: + # version: "~1.0.0" + # # For transient dependencies `public` flag can be set. + # # `public` flag doesn't have an effect dependencies of the `main` component. + # # All dependencies of `main` are public by default. + # public: true + esp-idf-lib/ds18x20: '*'