Page 1 of 1

How to use ulp variables in multiple files

Posted: Thu Mar 12, 2020 1:30 pm
by Matheus.Goulart
Hello,

I'm trying to use ulp to read adc while in deep sleep, i followed the ulp examples in esp idf repository, and find out that i cant call functions that use ulp variables in others files that were not included in the CMakeList. My question is, if i want to make a function that uses ulp global variables, and use that functions in other files, i need to add those files in the CMakeList? Even tho i dont use ${ULP_APP_NAME}.h directly in these files?

Best regard's