New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unstable version without build option RELEASE because of size #1294
Comments
http://0x04.net/~mwk/doc/xtensa.pdf Table 4–64. Exception Causes
Check with esptool.py verify_flash .....
Found the reason: digest mismatch for espruino_esp8266_user1.bin @ 0x00001000!? |
|
Tried some different builds based on Espruino master 1v95 At the end it seems to be a problem of bin file size - as far as I understand. Any advice /suggestion? Because during development and testing it is very helpful to have a stable version with os_prints (require('ESP8266').setLog(2); ) crashing build
working builds #default
#build without 'GRAPHICS'
#build without CFLAGS += -mforce-l32
|
full output of build for that crashing bin file:
So this is a ticking time bomb for the RELEASE=1 build. |
Hi @gfwilliams any idea from your side? |
Not really - it's pretty common not to be able to build for boards without Just to add: if the binary is too large then the build process should really pick that up and fail - it does for other boards. It can be a pain to handle in the linker so there's a script called |
That is my workaround as well. Using flash map 6 (4MB:1024/1024) allows to use larger files to flash ESP_FLASH_MAX=962560 so check.sh is not complaining
So there must be something that is missing.... |
hello, I have a problem with my esp-01 or esp8266-01, sorry write here but i dont understand github, I was programming with arduino ide and it worked fine, but I could not receive a data from socket.io so I liked espruino but I can not connect, does not recognize my esp-01, I have already tried with another one that I have but it does not work, delete the firmware, update it with the files of the updated espruino page, probe with the old firmware but nothing, I made the update by esptool and by nodemcu firmware programmer but nothing works for me, I ask for your help, thank you very much |
@MaBecker |
When The question is : Why can't a build use more than 512 KB whe using |
Perhaps it is the linking script - the .ld file - the existing might have a 512K limitation. |
https://github.com/espruino/Espruino/blob/master/targets/esp8266/eagle.app.v6.new.2048.ld#L3-L9 MEMORY |
rearange rf_cal_sector (fix #1294)
building Espruino for BOARD=ESP8266_4MB without RELEASE=1 causes a endless loop after reboot
Stange, a build with
BOARD=ESP8266_4MB RELEASE=1 make
has no problems with reboot on the same device ....The text was updated successfully, but these errors were encountered: