2de65dda22
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).
6 lines
127 B
Makefile
6 lines
127 B
Makefile
MCU_SERIES = m0
|
|
MCU_VARIANT = nrf51
|
|
MCU_SUB_VARIANT = nrf51822
|
|
SOFTDEV_VERSION = 8.0.0
|
|
LD_FILES += boards/nrf51x22_256k_16k.ld
|