NRF52840运行代码报错:Insufficient RAM allocated for the SoftDevice

2024-05-18 09:25发布

 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