[arduino ide] where to find ESP preprocessed file?

User avatar
atesin
Posts: 5
Joined: Sat Nov 16, 2024 4:58 pm

[arduino ide] where to find ESP preprocessed file?

Postby atesin » Sat Nov 23, 2024 4:16 pm

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

User avatar
Inq720
Posts: 38
Joined: Fri Dec 22, 2023 1:36 pm
Location: North Carolina, USA
Contact:

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

Postby Inq720 » Sat Nov 23, 2024 5:46 pm

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

User avatar
atesin
Posts: 5
Joined: Sat Nov 16, 2024 4:58 pm

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

Postby atesin » Sat Nov 23, 2024 6:14 pm

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)

Who is online

Users browsing this forum: No registered users and 10 guests