The nRF52840 contains 1 MB of flash and 256 kB of RAM that can be used for code and data storage.
整体内存框架:
RAM(256kB)分析
flash(1M)分析
keil中
不带协议栈
带协议栈:地址不再从0开始
IROM(flash)从26000,其中26000 = 152KB,其中s140的协议栈就是152KB,IRAM从0x2000 22E0开始,其中22E0 = 8kB,这是预留给协议栈的