Page 1 of 1

Custom files not builded in templates

Posted: Wed Apr 22, 2020 12:33 pm
by AleGiaco
Hi,

I'm using Eclipse with ESP-IDF 4.1 and I have some problems with predefined templates.
If I create custom files they are not builded and "undefined reference" errors are returned when I call their functions and variables in the main file.

Regards

Re: Custom files not builded in templates

Posted: Thu Apr 23, 2020 8:43 am
by AleGiaco
I solved the problem by adding all the custom files to the CMakelist.txt file in the main folder.
But is there a better solution?

Regards