Dear Support Team,
I would like to learn about RAM optimization options when using the nRF52820 (32 Kb RAM) with the Connect SDK 2.3.0.
After enabling Bluetooth, SPI and adding an EEPROM driver I realized that the RAM is basically already full. (98.77%). The user code seems to only occupy < 1Kb.
This how the memory report looks like:
This is the proj.conf:
CONFIG_SPI=y CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="Test" CONFIG_BT_CTLR_TX_PWR_PLUS_8=y CONFIG_BT_GATT_CLIENT=y CONFIG_BT_USER_DATA_LEN_UPDATE=y CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 CONFIG_BT_BUF_ACL_RX_SIZE=251 CONFIG_BT_BUF_ACL_TX_SIZE=251 CONFIG_BT_L2CAP_TX_MTU=247 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512 CONFIG_MAIN_STACK_SIZE=4096 #CONFIG_LOG=n #CONFIG_SERIAL=n
Is there any way to reduce the RAM usage via compiler/ Kconfig settings? Or do you have any other suggestions?
Thank you very much in advance and all the best,
Viktor