How to use ulp variables in multiple files

Matheus.Goulart
Posts: 4
Joined: Thu Jan 23, 2020 5:48 pm

How to use ulp variables in multiple files

Postby Matheus.Goulart » Thu Mar 12, 2020 1:30 pm

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

Who is online

Users browsing this forum: No registered users and 118 guests