diff options
| author | Ayke van Laethem | 2018-04-02 17:43:11 +0200 |
|---|---|---|
| committer | Damien George | 2018-07-18 17:12:26 +1000 |
| commit | 2de65dda2226b6ac08e978a93365b886424838f1 (patch) | |
| tree | fbe9e0c684072a143e782b4a7e0e4c658e473225 /ports/nrf/boards/pca10000 | |
| parent | 375bc31f4b61d8214b42b4f07c349e8d59304d24 (diff) | |
nrf: Make linker scripts more modular.
With all the variation in chips and boards it's tedious to copy and
redefine linker scripts for every option. Making linker scripts more
modular also opens up more possibilities, like enabling/disabling the
flash file system from the Makefile - or even defining it's size from a
Makefile argument (FS_SIZE=12 for a 12kB filesystem if tight on space).
Diffstat (limited to 'ports/nrf/boards/pca10000')
| -rw-r--r-- | ports/nrf/boards/pca10000/mpconfigboard.mk | 3 | ||||
| -rw-r--r-- | ports/nrf/boards/pca10000/mpconfigboard_s110.mk | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ports/nrf/boards/pca10000/mpconfigboard.mk b/ports/nrf/boards/pca10000/mpconfigboard.mk index 12087d682..c0cef5f3a 100644 --- a/ports/nrf/boards/pca10000/mpconfigboard.mk +++ b/ports/nrf/boards/pca10000/mpconfigboard.mk @@ -1,4 +1,5 @@ MCU_SERIES = m0 MCU_VARIANT = nrf51 MCU_SUB_VARIANT = nrf51822 -LD_FILE = boards/nrf51x22_256k_16k.ld +SOFTDEV_VERSION = 8.0.0 +LD_FILES += boards/nrf51x22_256k_16k.ld diff --git a/ports/nrf/boards/pca10000/mpconfigboard_s110.mk b/ports/nrf/boards/pca10000/mpconfigboard_s110.mk deleted file mode 100644 index 5cd9966f9..000000000 --- a/ports/nrf/boards/pca10000/mpconfigboard_s110.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_SERIES = m0 -MCU_VARIANT = nrf51 -MCU_SUB_VARIANT = nrf51822 -SOFTDEV_VERSION = 8.0.0 -LD_FILE = boards/nrf51x22_256k_16k_s110_$(SOFTDEV_VERSION).ld |
