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.

Compiling issues of BLE Stack v2 (peripheralStack)

Other Parts Discussed in Thread: CCSTUDIO

Hello,

my name is Martin Kostal, and I experienced problems while compiling the given examples of SimpleBLEPeripheralStack. The application builds and debugs flawlessly but the stack plops a warning: 'This project contains unresolved buildable linked resources.' -> it refers to CC2640Stack_HCI_TL.a and CC2640Stack.a which should be located in ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Lib\ , but aren't . I read a lot in the forum and via google about the problem and discovered the libraries are generated pre-build by LibSearch.exe . This .exe is present on my system but fails to generate the required libs.

I have attached a logfile of a clean rebuild and a picture of my linked resources (of the project).

I have a log file : (share code site)


I am using Code Composer Studio 6.1, up to date arm-ti-compiler BLE stack v2.1 ...

Propably there is a problem with my specified directories, I attached another picture of the Preferences->RTSC tab.
It says the repositories cannot be resolved but I'm sure they are located here. (but please take a look, maybe I am mistaken)

What else I did:
I can debug the stack and try to load it onto my RF06 eval. board. It says it cannot open [...]PeripheralStack.out (not present). However transfering the .hex file in \Accessories works (with Flashprogrammer 2). I reinstalled the BLE stack. Unfortunately I'm not able to reinstall CCStudio because I'm working at university and other people rely on a functional workspace.

I would even be fine with a workaround but I cannot progress my work without this.
Hopefully my problem is understandable, I wish you all a nice weekend.

Best regards
Martin Kostal (student at Berlin Institute of Technology)

PS: I apologize for any formatting issues

  • Hello,

    It looks like you may have installed the BLE SDK to a non-default location which could be causing a problem. If the following line doesn't expand correctly, you will have a pre build failure for the Stack project:
    ${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/libSearch.exe

    Please try using the default install path.

    Best wishes
  • Hello,


    first of all, thanks for a reply! I will try that and report back, as soon as possible. This looks like I have to install the BLE Stack in my project folder, not in my CCS installation? So for every new project I would have to install the stack into the project folder. Nevertheless, I will try that and post results.



  • Hello again,


    I tried installing BLE to default location (and to various others too) but unfortunately, it did not changed anything. I still fail at the pre-build stage of SimpleBLEPeripheralStack and therefore no .out files are created to debug. The LibSearch.exe is usable and there is a documentation about it, is it maybe possible to manually create the required library files? Or does it not matter because the compile process aborts at pre-build phase?


    Additionally I read RTOS compiling can have issues if pathnames contain spaces. My whole CCS installation sits in \"Program Files (x86)"\ti, could that matter too?