Search found 2 matches

by DominicS
Sun Dec 24, 2023 8:41 pm
Forum: General Discussion
Topic: esp-idf adding custom component library
Replies: 1
Views: 2203

esp-idf adding custom component library

Hello, I am trying to add custom DHT-11 library to already existing esp-idf project. I am working on VScode. I created folder named 'components', inside created another 'dht_11', then added dht11.c and CmakeLists.txt files and included dht11.h inside include folder of this component. I tried includi...
by DominicS
Tue Jan 03, 2023 2:03 pm
Forum: ESP-IDF
Topic: Adding additional components folder
Replies: 0
Views: 603

Adding additional components folder

Hello, I been using ESP-idf with only one components folder for all drivers etc. But now I want to have two directories, which will have components. I know that I need to somehow link my main component (main.c folder location) to this new component directory and I need to use EXTRA_COMPONENT_DIRS co...