Search found 1 match

by coldsquall
Sat Mar 06, 2021 1:31 am
Forum: IDEs for ESP-IDF
Topic: How to add header and source files to project
Replies: 3
Views: 17670

Re: How to add header and source files to project

I just experienced a similar issue Here's what to do to get past it: Open your CmakeLists.txt file and include this line to the bottom if it is not already there: idf_component_register(SRCS "main.c" "cam.c" "sdcard.c" INCLUDE_DIRS ".") Your CMakeLists.txt should look like this now: # Edit following...