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

firmware.elf section .text' will not fit in region iram1_0_seg' #185

Closed
feiltom opened this issue Mar 27, 2017 · 2 comments
Closed

firmware.elf section .text' will not fit in region iram1_0_seg' #185

feiltom opened this issue Mar 27, 2017 · 2 comments
Labels
Type: Bug Considered a bug

Comments

@feiltom
Copy link

feiltom commented Mar 27, 2017

Hello
when i build normal are OK but not test and dev it's normal ?
Environment normal_1024 [SUCCESS]
Environment normal_4096 [SUCCESS]
Environment test_1024 [ERROR] firmware.elf section .text' will not fit in region iram1_0_seg'
Environment test_4096 [ERROR] firmware.elf section .text' will not fit in region iram1_0_seg'
Environment dev_1024 [ERROR] firmware.elf section .text' will not fit in region iram1_0_seg'
Environment dev_4096 [ERROR] firmware.elf section .text' will not fit in region iram1_0_seg'

other question why include :
#include <LiquidCrystal_I2C.h>
#include <Servo.h>
it's need only by plugin LiquidCrystal_I2C.h ex P012

I have dev a plugin for quirky nimbus but i need brzo_I2C (more speed and i need 400khz i2c) librarie and i need to disable some lib and plugin (ex LiquidCrystal_I2C ) without this my build generate also firmware.elf section .text' will not fit in region iram1_0_seg' in normal environment.

why not use brzo_I2C in espeasy ? it s more speed and seem less consumes ESP8266 ressource
ex :
http://www.electronics-lab.com/esp8266-ssd1306-oled-library-release/
ex :
with and without brzo i2c implementation from a other project :
version with brzo implementation uses flash: 258 961 and ram: 34 248
version with wire.h implementation uses flash: 259 065 and ram: 34 392

Thanck you by advance
( sorry perhaps you prefer 3 issues ? )

@krikk
Copy link
Contributor

krikk commented Mar 28, 2017

Hello
when i build normal are OK but not test and dev it's normal ?
Environment normal_1024 [SUCCESS]
Environment normal_4096 [SUCCESS]
Environment test_1024 [ERROR] firmware.elf section .text' will not fit in regioniram1_0_seg'
Environment test_4096 [ERROR] firmware.elf section .text' will not fit in regioniram1_0_seg'
Environment dev_1024 [ERROR] firmware.elf section .text' will not fit in regioniram1_0_seg'
Environment dev_4096 [ERROR] firmware.elf section .text' will not fit in regioniram1_0_seg'

what are you using to compile? ...and what target platform do you have selected? never seen this error...

other question why include :
#include <LiquidCrystal_I2C.h>
#include <Servo.h>
it's need only by plugin LiquidCrystal_I2C.h ex P012

LiquidCrystal_I2C.h is needed for plugin: _P012_LCD.ino
Servo.h is used for controlling servos see here

why not use brzo_I2C in espeasy ?

i did only a quick check, but as far as i see it, brzo_I2C is no drop-in-replacment for the currently used library, so we would have to re-write every plugin which uses i2c... and test all of this devices, this all just to save a few bytes... i think: to much work, for little outcome...

@psy0rz
Copy link
Member

psy0rz commented Apr 19, 2017

we probably fixed this for now. let us know if its still a problem.

@psy0rz psy0rz closed this as completed Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Considered a bug
Projects
None yet
Development

No branches or pull requests

3 participants