Hi,
Will something interesting happen when the text segment on a nRF51 DK exceeds 64k? I am using Eclipse/gcc for developing, based on the tutorial provided by Nordic.
Anything special i need to do regarding compiler or linker flags?
regards, //Elm
Hi,
Will something interesting happen when the text segment on a nRF51 DK exceeds 64k? I am using Eclipse/gcc for developing, based on the tutorial provided by Nordic.
Anything special i need to do regarding compiler or linker flags?
regards, //Elm
No. As long as your code fits into available flash (and the linker would tell you if it didn't) 64kB has no meaning at all. Some of the ARM standard (ie not long-call) calls can't go over 4Mb, but that's not going to be a problem for the nrf51, nrf52 or quite a few versions more.
What problem were you expecting with 64kB of text?
I found the error, see: devzone.nordicsemi.com/.../
I found the error, see: devzone.nordicsemi.com/.../