This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RAM_START and RAM_SIZE

When adding two more characteristics to my custom service, I get error #4 which is an out of memory error.  The log is working but it does not show the settings for what I need to set the memory to. I have other messages showing in the log. 

Is the memory size needed shown anywhere else like the .map, .ld, or .elf files?  I have 4 services running, BAS, DIS, DFU and a custom one.

Current settings are:

RAM_START=0x20001fc0
RAM_SIZE=0xe040

Adding this characteristic gives me the out of memory error.

// Green led characteristic.
err_code = led_char_add(p_hwl, p_hwl_init, MY_UUID_LED_GREEN_CHAR);
APP_ERROR_CHECK(err_code);

Thanks for your help,

Jamie

Related