circuitpython/ports/nrf/boards/s110_8.0.0.ld
Ayke van Laethem 2de65dda22 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).
2018-07-18 17:12:26 +10:00

10 lines
220 B
Plaintext

/* GNU linker script for s110 SoftDevice version 8.0.0 */
_sd_size = 0x00018000;
_sd_ram = 0x00002000;
_fs_size = DEFINED(_fs_size) ? _fs_size : 20K;
_stack_size = _ram_size > 16K ? 4K : 2K;
_minimum_heap_size = 4K;