Tool/software: Code Composer Studio
When starting a new simple_peripheral project, I had an older one also in the workspace, as the goal was to port the application to a newer SDK.
When importing the new simple_peripheral_cc2640r2lp_stack_library, CCS noticed that there was already a project by that name in the workspace, and renamed the new stack library to simple_peripheral_cc2640r2lp_stack_library_4_20_00_04, and correctly also changed the _app project accordingly.
PROBLEM:
The pre-build step in the _stack_library project was NOT updated with the new paths, resulting in the "lib_linker.cmd" and "ble_r2.symbols" being located in the wrong folder.
This results in the _app project failing to build.
WORKAROUND:
Adjust the path for "lib_linker.cmd" in the pre-build step of the stack library project. This automatically also solves the "ble_r2.symbols"
FIX:
Path should be adjusted automatically, when project is automatically renamed.