B4R Question Compiling time ESP8266

peacemaker

Expert
Licensed User
Hi, All

How is compiling time recently in 2021 in B4R ?
I have found that now my projects are compiled recently very long - 3+ minutes - it's...... terrible to wait.

B4R v.3.90
Arduino v.1.8.15
ESP8266 projects using just several libs for EEPROM, OTA, Ping, WiFi, RAF, I2C... on Ryzen5 processor with 12 GB RAM WIn10 PC and SSD only (no any HDD, just tested 320...450 MBps sequental read speed is still here).
1629547556584.png

Project is about 60 KB of 8 modules.
All other regular PC applications work as usual fast.

Empty ESP project is compiled during 2.5 minutes !
But why so slow compiling now? How fast at you ?
 
Last edited:

peacemaker

Expert
Licensed User
Arduino IDE command line tool that compiles the project.

Yes, Erel, thanks for test - my Arduino IDE itself is also slow, almost the same 2.5...3 mins to compile any ESP8266 project, but any native Arduino board project is compiled much more faster.
What is your ESP8266 board version in Arduino's Board manager? My was 3.0.0, and now 3.0.1, both slow.
But i see that 3.0.2 is available to install, but impossible to install.
1629616219212.png


And how to check the compiler version ? I guess, if compilation is slow - it should be the compiler itself.

upd. v.3.0.2 is installed OK via correct link "https://arduino.esp8266.com/stable/package_esp8266com_index.json", and the compiler "C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed" is installed

but no better speed :(
 
Last edited:
Upvote 0

peacemaker

Expert
Licensed User
Ha ! Solved by such way:
1) Installed ESP8266 board of latest version 3.0.2 - it's slow compilation.
2) And after it - re-install ESP8266 board to previous v.2.7.4: board files are still of latest v.3.0.2 preserved, but the compiler now is again old C:\Users\VLAD-HP\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\

And moreover - the old RTC code exception now is again working OK !
And compilation is 1.5 mins only !!! Solved.
 
Upvote 0
Top