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: CC2640R2F

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hello 

My project is Ble5 simple peripheral

The program had problems finding the files "build_config.opt" and "flashRom_library.lib"

I figured out that the directories of those files weren't right because there was a variable in the directory that was not defined. 

So I could define the variable and correct the directory of just "build_config.opt

So the errors related to "build_config.opt" were solved. But the problems related to "flashRom_library.lib" were not.

The program cannot find 3 files: "ble_r2.symbols" , "lib_linker.cmd" , ".lib"

I couldnt find such files either.

I tried all of the solutions mentioned in other threads but it didn't work for me.

  • M S2 said:
    The program cannot find 3 files: "ble_r2.symbols" , "lib_linker.cmd" , ".lib"

    They get generated when the dependent stack library project gets built.

    Did the stack library project build successfully?

    Thanks

    ki

  • No it failed because it couldn't find those 3 files. I searched in my pc and I couldn't find the missing files.

    I tried another times with anther projects from TI cloud but all of them failed with the same problem.

  • Sorry I made a mistake.

    Stack library was built successfully but app was not.

  • M S2 said:
    No it failed because it couldn't find those 3 files. I searched in my pc and I couldn't find the missing files.

    That is because they were not generated by the dependent stack library project. Can you confirm that the stack library project is in your workspace and that it build successfully? When you build the main app project, it should first try to build the dependent stack project. 

  • Yes stack library file was in the workspace and it was built successfully but there were some warnings. Are they the cause?

  • M S2 said:
    Yes stack library file was in the workspace and it was built successfully

    Are those three files in the stack library project folder like in my screenshot?

    Please the full build output in the console. Provide the output for BOTH the app and stack library projects. You can copy&paste to a text file and attach it to this thread

  • Hi ki

    Thank you for your reply

    I opened the peripheral project from beginning and without the changes I had made before.

    The result of building the stack library is:

    (I don't have those 3 files that were in your screenshot)

    app and stack console.rar

  • I found the problem

    In the workspace directory, it should not have any spaces. So I changed the directory

    Then the stack libtatry was built successfully and two of the 3 files (lib_linker.cmd and ble_r2.symbols) were generated and I added their directory.

    But one of them wasn't generated and I had an error:

    error #10008-D: cannot find file "C:/ccsws/ble5_simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/.lib" 

  • There was an undefined variable in the directory of the 3rd file. So I defined it and everything worked successfully.

    I really appreciate for your replies.