in ESP project, is there a way to define a variable at IDE level (i.e. in Solution explorer->VisualGDB properties)? I need to define two variables that is used in a lot of the .c, .s, .h files of the IDF, and I wouldn’t like to add them in all of the files.
VisualGDB Properties are merely a GUI for editing various ESP-IDF statements. Please refer to the ESP-IDF documentation to see if there is a statement that would cover your use case.
If you can point out a specific statement (i.e. would know how exactly to edit the CMake files to get the desired result), we can advise you on the GUI setting that would do it for you.