This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there a clear, simple explanation of how to setup the gcc linker scripts?

I've been trying to run some of the examples provided with the SDK's. Blinky is the only one I've gotten to work for sure. I think I haven't set up the linker scripts properly.

I've been looking at a couple linker scripts for nrf51822's. The number of sections change, the values to allocate rom and ram change. Is there a clear tutorial or document that explains the use and proper structure of these files? I understand the amount of rom and ram vary depending on the device and model. I need to understand how to properly allocate these resources.

What effects these allocations? For instance, does adding a library require a change the linker script?

Parents Reply Children
No Data
Related