Skip to content

.text' will not fit in region iram1_0_seg' with c modules #803

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

Closed
burner- opened this issue Sep 18, 2015 · 1 comment
Closed

.text' will not fit in region iram1_0_seg' with c modules #803

burner- opened this issue Sep 18, 2015 · 1 comment

Comments

@burner-
Copy link

burner- commented Sep 18, 2015

There has been earlier issues with same error message but I think this is different case.
If you use .c libraries iram gets full quite fast.
I note that there is at file packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\tools\sdk\ld\eagle.app.v6.common.ld
following line:
.cpp.o(.literal, .text_)
So I add also:
.c.o(.literal_, .text)
and it resolve my problem. I am not expert with c neither esp so I do not know is that bad setting as default. But if does not cause another problems then it can be good setting by default at future releases.

@igrr
Copy link
Member

igrr commented Oct 6, 2015

Applied this along with other changes in #857. Thanks!

@igrr igrr closed this as completed Oct 6, 2015
igrr added a commit that referenced this issue Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants