Hi,
I have added the bettery service to ble_app_buttonless_dfu_pca10040_s132 project successfully.

The sample code is from latest SDK 17.0.2.
When I do the same set-up for the device info service, NRF_MODULE_ENABLED(BLE_DIS) remained false, so that the code is not complied.
Contents in sdk_config.h


The difference between ble_dis.c and ble_bas.c after rebuild project:

I found "The RAM_START and RAM_SIZE may differ depends on your application configuration (number of custom services)." in the post. However, I did not change the configuration when I add battery service.
Is there any limitation of the number of services?
What should I do to enable BLE_DIS module?
Regards,
Chelsea