-
I am using Esp32 devkit V1 in my project. I couldn't find how to revise the CmakeLists.txt files in esp-idf. The error I get when I build idf.py is as follows:
I used dht.c and dht.h files in the same way in the dht folder. I just set the necessary places for me to use dht11.
My top level CMakeList.txt is as follows :
Inside my core file CMakeList.txt is like this.I've intentionally commented some places here. Honestly, it shouldn't be like this. I left it that way as I couldn't figure out how to edit it. This part confused me the most.
Inside my main file CMakeList.txt is like this
Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
i cannot solve your issue because:
it seems that you are not very familiar with |
Beta Was this translation helpful? Give feedback.
-
Hi! |
Beta Was this translation helpful? Give feedback.
Hi!
You don't need to copy files from esp-idf-lib to your project. You can add whole esp-idf-lib as submodule.
See for example this project: https://github.com/UncleRus/EvLamp