I am not sure if this is a limitation with Keil or Nordic SDK. I made another copy of ble_app_uart inside SDK_11 s130 and renamed it with a much longer name. I tested that if ble_app_uart is renamed with a longer name, say, ble_app_uart_XXXXXXXXXXXXXXXXX, the code cannot compile. Otherwise, code can compile successfully.
These are the errors;
............\components\libraries\fstorage\fstorage.h(25): error: #5: cannot open source input file "section_vars.h": No such file or directory #include "section_vars.h" ............\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error
......\main.c(32): error: #5: cannot open source input file "softdevice_handler.h": No such file or directory #include "softdevice_handler.h" ......\main.c: 0 warnings, 1 error
............\components\libraries\fstorage\fstorage.h(25): error: #5: cannot open source input file "section_vars.h": No such file or directory #include "section_vars.h" ............\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error
"no source": Error: #5: cannot open source input file "............\components\softdevice\common\softdevice_handler\softdevice_handler.c": No such file or directory ............\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error