Page 1 of 1

[arduino ide] where to find ESP preprocessed file?

Posted: Sat Nov 23, 2024 4:16 pm
by atesin
i want to read preprocessed file, i suspect i commit a mistake with some macros and want to see what is the result

i used to do this with arduino uno (atmega 328p), preproc file was located somewhere in %temp% compiling folder, but for esp8266 i couldnt find it

Re: [arduino ide] where to find ESP preprocessed file?

Posted: Sat Nov 23, 2024 5:46 pm
by Inq720
It is operating system specific AND instance of the IDE specific. Go into the Preferences, and check the verbose output for "upload"... the output will show you where it put the file before uploading to the ESP. It'll look something like the following on Windows using the Arduino IDE... on Linux, Mac it will be different. You load up another IDE or on a different day, it'll have another random number after "arduino_build_Xxxxxx"

C:\Users\Inq\AppData\Local\Temp\arduino_build_209589/Blink.ino.bin

Re: [arduino ide] where to find ESP preprocessed file?

Posted: Sat Nov 23, 2024 6:14 pm
by atesin
yes i know that, but i mean the preprocessed source code TEXT file after passing the preprocessor (cpp?), not the resulting binary file after the compiler... binary files looks full or unintelligible garbages

(you didnt read the post)