NRF52840运行代码报错:Insufficient RAM allocated for the SoftDevice
打印LOG如下:
00> app_timer: RTC: initialized.
00>
00> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
00>
00> nrf_sdh_ble: Change the RAM start location from 0x20002A38 to 0x20002BC8.
00>
00> nrf_sdh_ble: Maximum RAM size for application is 0x3D438.
00>
00> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
00>
00> app: ERROR 4 [NRF_ERROR_NO_MEM] at ..\..\..\main.c:1617
00>
00> PC at: 0x0002A1CF
00>
00> app: End of error report
将0x20002A38改为0x20002BC8,将RAM由0x3D5C8改为0x3D438。
再编译运行,OK了!
一周热门 更多>