Closed peterson79 closed 7 years ago
Do you have many Python scripts in your frozen module? It looks like the image gets too large.
Yeah, I thought it was a size problem also. However I don't have enough experience with the code to know where to start.
In the "frozen" folder there is only "_boot.py"
Sorry, hit the wrong button!
Are there other locations for "frozen modules? I am using the default source tree, the only change I have made is updating the compiler.
No, the folder frozen is the only place. And actually my test build are about 12 k larger. The compiler version I have is: xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 5.2.0
Did your test build finish with a binary? Or mean it was 12k larger then mine?
Oh yes, the finished build is then loaded to the WiPy with make flash That's my standard procedure. I do not use the pycom updater. A full sequence of make commands for WIPY is: make clean make TARGET=boot make make flash
@peterson79 unfortunately the new compiler doesn't work yet. This is a known issue. In order to make the new compiler work we need the new IDF, but the new IDF has a bunch of issues that prevent using it at the moment.
Gotcha, which compiler / IDF should I be using? This one from the readme fails to compile:
https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-59.tar.gz
I don't have the exact error at the moment... I can reproduce it if needed.
This one should work https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz
Yes, the compiler posted by @jmarcelino works. I still need to test a flash. I am working remotely at them moment and don't have access to the board... I will let you all know shortly.
Compiles, flashes and runs with:
https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz
Thanks!
Hi,
I am trying to build WiPy 2.0 from source on OS X. I initially ran into issues with the xtensa gcc compiler downloaded from the readme link, so now I am using the most recent version from the Espressif website. Everything builds and links but the last step of creating the binary fails:
I expected a wipy.bin.
What I got was the error above :)
Any insight appreciated! Thanks!