Search found 4 matches
- Mon Jan 22, 2024 10:02 am
- Forum: ESP-IDF
- Topic: Enhance "__FILE__" to obtain the *full* path during compile
- Replies: 6
- Views: 1013
Re: Enhance "__FILE__" to obtain the *full* path during compile
It still doesn't work using the arrow keys on the actual laptop running MS-VSC/PlatformIO. Is there a command line way to accomplish the same thing?
- Mon Jan 22, 2024 8:35 am
- Forum: ESP-IDF
- Topic: Enhance "__FILE__" to obtain the *full* path during compile
- Replies: 6
- Views: 1013
Re: Enhance "__FILE__" to obtain the *full* path during compile
I'm using a Windows 10 OS on a Dell laptop...Oh I just thought of something. I'm using Remote Desktop to remotely control the computer that's doing all this MS Visual Studio Code and PlatformIO stuff. I bet the Remote Desktop link is filtering the arrow keys in a way that doesn't affect Windows appl...
- Mon Jan 22, 2024 6:32 am
- Forum: ESP-IDF
- Topic: Enhance "__FILE__" to obtain the *full* path during compile
- Replies: 6
- Views: 1013
Re: Enhance "__FILE__" to obtain the *full* path during compile
You write: "It's an option in menuconfig. Enter menuconfig, go to 'Compiler options', disable 'Replace ESP-IDF and project paths in binaries'." I am looking forward to discovering you are absolutely right, but I haven't been able to get there yet. When I "Run Menucnfig" in a terminal window I get an...
- Sun Jan 21, 2024 10:13 pm
- Forum: ESP-IDF
- Topic: Enhance "__FILE__" to obtain the *full* path during compile
- Replies: 6
- Views: 1013
Enhance "__FILE__" to obtain the *full* path during compile
How can the entire filename of a source file be *automatically* stored into the compiled binary as a constant string? Automatically means "by the preprocessor or compiler" and not by me, because I will forget or screw it up. programming environment: MS-VSC and PIO framework: espidf Right now I have...