Skip to content
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

program size too big, unable to upload to sonoff-t1-1ch-ota #225

Closed
xoseperez opened this issue Sep 16, 2017 · 3 comments
Closed

program size too big, unable to upload to sonoff-t1-1ch-ota #225

xoseperez opened this issue Sep 16, 2017 · 3 comments

Comments

@xoseperez
Copy link
Owner

Originally reported by: Kevin Goff (Bitbucket: kevindgoff, GitHub: kevindgoff)


I am successfully compiling but fails on upload because of program size. Any way around this?
Checking program size

text       data     bss     dec     hex filename
Error: The program size (443655 bytes) is greater than maximum allowed (434160 bytes)
433735     9920   31632  475287   74097 .pioenvs/itead-sonoff-t1-1ch-ota/firmware.elf
*** [.pioenvs/itead-sonoff-t1-1ch-ota/firmware.elf] Explicit exit, status 1
@xoseperez
Copy link
Owner Author

I'm moving all esp8285 boards to use esp8266 with DOUT and 1m ldscript. Please try using "esp01_1m" in the board parameter for the T1_1CH in platformio.ini.

@xoseperez
Copy link
Owner Author

Original comment by Kevin Goff (Bitbucket: kevindgoff, GitHub: kevindgoff):


Changing the board param from "esp8285" to "esp01_1m" in platform.ini allows it upload. Thank you.

@xoseperez
Copy link
Owner Author

Changed with 1.9.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant