how can I use a user defined variable in the code (let’s call it “rev”) to rename the output .bin in the compiled filename? I’d like to have something like “main.bin” to be renamed as “main_rev.bin”. I’m using ESP32 environment. Is it possible to do?
This sounds like a very specific task. You should be able to do it via some clever scripting and custom CMake targets, but it’s not something VisualGDB has a direct GUI for.