Compilation error: exit status 1 for ESP 8266

Hello,

I'm new to the Arduino world, and have been chipping away at the tutorials and reading up as much as I can. I got into this because I was given a set of three new ESP8266 ModeMCU boards and saw some cool projects using them... I began by putting one of the boards on a breadboard along with an LED, and pulled in the library for the 8266 which has some sample sketches. I uploaded 'blink' and it ran fine. By way of experimentation I 'flashed' the memory of the board and tried to reinstall the 'blink' sketch after making a minor change to the timing (nothing was altered but the timing change from 1000 to 700).
When I saved and then tried to compile the sketch, I encountered an error that said; 'Compilation error: exit status 1'

Strange that it would run the first time and then not compile when only a minor timing change was made... Can anybody provide guidance on this?

Here is the entirety of the error...

Traceback (most recent call last):
File "C:\Users\perih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 211, in
sys.exit(main())
File "C:\Users\perih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 198, in main
to_addr=0
File "C:\Users\perih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 187, in wrapper
write_bin(out=out, args=args, **kwargs)
File "C:\Users\perih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 75, in write_bin
[size, addr] = get_segment_size_addr(elf, segment, args.path)
File "C:\Users\perih\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/elf2bin.py", line 55, in get_segment_size_addr
raise Exception('Unable to find size and start point in file "' + elf + '" for "' + segment + '"')
Exception: Unable to find size and start point in file "C:\Users\perih\AppData\Local\Temp\arduino-sketch-404B567165973102E60BC3C8F83ED75D/Blink.ino.elf" for ".irom0.text"

exit status 1

Compilation error: exit status 1

Welcome to the forum

Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE

That is a bit odd. Try closing the IDE and re-opening it again, and then just hit the 'compile' button first.
Which board do you have selected ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.