pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

bootloader.o exec format error #601

Closed antifm closed 2 years ago

antifm commented 2 years ago

Running into errors when building custom firmware and found no resolve in the issues forum. Could I please get some assistance?

antifm commented 2 years ago

Resolved after @livius on pycom forums pointed my Operating System out.

I had used RaspberryPi as I was initially struggling with using Windows Subsystem for Linux (WSL) and following the instructions listed on github. I had extracted the xtensa gcc compiler tar.gz file incorrectly, by using WinRAR onto my Ubuntu file system - this must've corrupted some of the data.

This time, I copied the tar.gz file into the Ubuntu file system and extracted it using Linux commands, the process had run smoothly and I was able to build a binary file.

Hope this can help others!