Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
nRF5x: pass ram linker start/length from config system #7957
The ram start and length settings can already be defined in
These are supposed to be used in nrf5x targets to specify in the linker how much ram is set aside for the softdevice. Unfortunately the linker files have these values defined in directly so they can't be overridden by the target settings.
There was also a minor bug in the python config handler where these boot-loader target settings in were being overridden by a later part of the config system with
Pull request type
referenced this pull request
Sep 3, 2018
I've using both of these MR's together in my working branch, they're quite complimentary.
This MR allows the project to set where the start address should be, the other one ensures that the correct start address is passed to the softdevice.
I did consider making the other one work from this config system define rather than the linker element, but decided to leave it as the linker symbol as it's a smaller change to the existing nordic code and it should be safer, the symbol used is just in nordic linker scripts so is less likely to be accidentally changed in a breaking way than the config system symbol which is used for all targets.
@0xc0170 I've rebased, should be good to go.
The travis failure above looks pretty unrelated:
Build number : 3175
Build number : 2773