I am using the DA14683 device on the eval-board with the actual SDK and tools.
It seem that I have a problem with the memory layout, that the compiler tells me to run out of memory, when requiring more then 32 KByte RAM. The following will be show:
App.elf section `RETENTION_RAM0' will not fit in region `RetRAM0'
RetRAM0' overflowed by 32 bytes
The following is my actual configuration (from custom_config_qspi.h)
#define dg_configOPTIMAL_RETRAM (0) #define dg_configMEM_RETENTION_MODE (0x1F) #define dg_configQSPI_CACHED_RAM_SIZE_AE ( 61 * 1024) #define dg_configQSPI_CACHED_RETRAM_0_SIZE_AE ( 67 * 1024) #define dg_configQSPI_CACHED_RAM_SIZE_BB ( 62 * 1024) #define dg_configQSPI_CACHED_RETRAM_0_SIZE_BB ( 66 * 1024)
I used this from an example an I would expect to have at least about 64 KByte RAM.
Even if playing around with the numbers, I could not solve the problem.
What do I have to configure to get the max. RAM size in a BLE application running in QSPI cached mode? I want to have the complete RAM retentioned.
By the way, is it correct to use the following configuration in the project settings: