This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2640R2F: Unmodified prebuild step when stack_library automatically renamed

Part Number: CC2640R2F

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.

  • Hi,

    Thank you for reporting this. I will investigate a few additional details here and possibly file a bug report.

    One clarification, though: when you are importing the new simple_peripheral_app project, you did rename the previous "app" one and only the stack project was renamed automatically, right? Otherwise I get the error with the following remark:

    Regards,

    Rafael

  • Hi Rafael, thanks for the response!


    Yes, the original _app project was renamed to a more descriptive name for the old project, so no collision happened there.

    All the best,
    Laur