Polidea / cmake-nRF5x

cmake script for nRF5 series SoC
MIT License
125 stars 41 forks source link

[FR] linker script database #62

Open ildar opened 4 years ago

ildar commented 4 years ago

in case user didn't provide linker a scripts, c-nRF can do smarter then now. Based on this input:

  1. chip;
  2. SoftDevice;
  3. is this app or bootloader.

it can provide suitable linker script or generate it on the fly.

Cierpliwy commented 4 years ago

Can you suggest a change by sending PR? I'm not sure if it's that simple as there are a lot of other options to consider eg. custom sections, custom SoftDevice configurations, etc. which affect linker script.