Hi all
when I try to compile the mega branch using Atom I am getting the following error
Compiling .pioenvs/normal_ESP8285_1024/src/ESPEasy.ino.cpp.o
Linking .pioenvs/normal_ESP8285_1024/firmware.elf
Checking size .pioenvs/normal_ESP8285_1024/firmware.elf
Building .pioenvs/normal_ESP8285_1024/firmware.bin
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [===== ] 53.9% (used 44176 bytes from 81920 bytes)
PROGRAM: [==========] 133.9% (used 581380 bytes from 434160 bytes)
Error: The program size (581380 bytes) is greater than maximum allowed (434160 bytes)
I do find the compiled firmware.bin file under the location it should be. Any ideas why this happens?
PS: trying to compile P165 in the mega branch from GitHub
Kind regards
Steve
platformIO compile error
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: platformIO compile error
Double compile (i.e do two tries after each other)?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 32
- Joined: 12 Jun 2017, 11:12
Re: platformIO compile error
unfortunately no joy on this...
Re: platformIO compile error
I tested here to build on my own computer and get the same result.
It seems like there have been some changes on the board definitions:
That's smaller than the actual flash size of 1M.
It looks like they're taking into account you have to leave room for OTA flashing?
Edit:
Could you make an issue about this on Github?
Just to make sure I don't forget.
It seems like there have been some changes on the board definitions:
Code: Select all
[06/18/18 21:05:49] Processing normal_ESP8285_1024 (framework: arduino; platform: espressif8266@1.7.1; board: esp8285)
Warning! `board_flash_mode` option is deprecated and will be removed in the next release! Please use `board_build.flash_mode` instead.
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Espressif 8266 > Generic ESP8285 Module
SYSTEM: ESP8266 80MHz 80KB RAM (423.98KB Flash)
It looks like they're taking into account you have to leave room for OTA flashing?
Edit:
Could you make an issue about this on Github?
Just to make sure I don't forget.
Re: platformIO compile error
In section [env:normal_ESP8285_1024] of platfomio.ini need add
Tested on Sonoff RF R2 Power (Sonoff Basic V2)
Code: Select all
board_upload.maximum_size=761840
Re: platformIO compile error
Hello I am new to this.
I am getting an error with PlatformIO. I would like to build a WI-mos D1 mini with plugins for IRTX (P016 & P035) and RF433 (P112). no other plugins are required.
src/_P112_RFTX.ino:202:56: error: invalid initialization of non-co
nst reference of type 'String&' from an rvalue of type 'char*'
Can some please point me in the right direction?
Thank in advance.
I am getting an error with PlatformIO. I would like to build a WI-mos D1 mini with plugins for IRTX (P016 & P035) and RF433 (P112). no other plugins are required.
src/_P112_RFTX.ino:202:56: error: invalid initialization of non-co
nst reference of type 'String&' from an rvalue of type 'char*'
Can some please point me in the right direction?
Thank in advance.
Re: platformIO compile error
After trying to compile,
I found this which works.
"
Re: RF 433 plugin for KAKU in the playground
#42 Post by data » 16 Apr 2018, 09:19
Oh, sorry, I moved the folder last year. Try this one:
http://tinydevices.de/ESP-Easy/ESPEasy.ino.generic.bin "
Now I have One ESP8266 module which does IR and RF
I found this which works.
"
Re: RF 433 plugin for KAKU in the playground
#42 Post by data » 16 Apr 2018, 09:19
Oh, sorry, I moved the folder last year. Try this one:
http://tinydevices.de/ESP-Easy/ESPEasy.ino.generic.bin "
Now I have One ESP8266 module which does IR and RF

Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests