In an attempt to add a custom UUID to your current project I change NRF_SDH_BLE_VS_UUID_COUNT from 0 to 1. Then loaded the code onto our PCA100040 53822 devkit. At runtime ble_stack_init() calls nrf_sdh_ble_enable() returns with error code 4 (NRF_ERROR_NO_MEM). I am using IAR workbench and the memory region for RAM is 0x20002250 to 0x2000fff
Not sure why there is a memory issue.