-
Notifications
You must be signed in to change notification settings - Fork 3k
Linker on Nordic nRF51822 cannot move location counter backwards
.
#2467
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
Comments
I'm pretty sure when I've seen this error it's because I was out of memory. @pan- Do you think that's the case? |
Looks like this could be the case, but if those values returned by the linker are correct, I'm not looking forward to optimizing down 2k worth of code. Things are pretty tight on the chip already and I'm not even close to done with my firmware. Also asked this question at the Nordic support forum, and they referred to another link with a similar conclusion. |
Ok, I figured out where a ton of test code from a library was being pulled in by the Ticket can be closed. |
@nuket @bridadan Yes, there is not enough RAM for the application. The inclusion of the OS add a non negligible overhead. You can apply workarounds now:
|
Thanks for the suggestions, I'll try them out incrementally! |
@nuket These optimizations will be gradually included in mbed-os, I think the situation will be better in few weeks. |
@pan- You're right, we're on it :) |
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to build a simple project but
ld
keeps complaining, when tried with both gcc 4.9 and gcc 5.4:gcc 4.9 says:
All of the code compiles fine, it's only the link step that is erroring out. Is it possible that I'm out of memory?
The mbed-os version number, using the mbed CLI:
I tested the mbed OS Blinky example, and it builds fine.
The text was updated successfully, but these errors were encountered: