MEMORY { /* https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fmem_usage%2Fmem_resource_reqs.html&cp=5_7_4_0_13_0_0 */ /* Need to leave space for the SoftDevice These values are confirmed working for S140 7.3.0 They were extracted from the Arduino IDE plugin linked indirectly at https://wiki.seeedstudio.com/XIAO_BLE/ */ FLASH (rx) : ORIGIN = 0x27000, LENGTH = 0xED000 - 0x27000 /* SRAM required by Softdevice depend on * - Attribute Table Size (Number of Services and Characteristics) * - Vendor UUID count * - Max ATT MTU * - Concurrent connection peripheral + central + secure links * - Event Len, HVN queue, Write CMD queue */ RAM (rwx) : ORIGIN = 0x20006000, LENGTH = 0x20040000 - 0x20006000 }