Tool/software:
Hi, I have been building my BLE application using "simple_peripheral" project available in CCS IDE. I am making modifications to Extended advertisements to include information of interest for my company to run localization algorithms using BLE extended advertisement's CTE. As such while building the project in CCS v20.1.1 I am encountering the following error:
{
"resource": "file:///c%3A/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/source/ti/ble5stack/icall/inc/ble_user_config.h",
"owner": "ccs-client",
"severity": 1,
"message": "'icall_user_config.h' file not found",
"startLineNumber": 121,
"startColumn": 0,
"endLineNumber": 121,
"endColumn": 1000
}
To fix this issue I looked at the directory in which the Simple link cc13xx_cc25xx_SDK is installed on my system and I found out that the "icall_user_config.h" header file is not present in the same folder as "ble_user_config.h". I found out that it is located at the following path - C:\ti\simplelink_cc13xx_cc26xx_sdk_8_30_01_01\source\ti\ble5stack_flash\icall\inc so, I manually included the path by right clicking on simple_peripheral project in my CCS workspace and navigating through the following path: Properties->Build->Arm Compiler->Include options and manually added the path as seen in the screenshot titled "Arm_compiler-path inclusion_ss_8th May.png" (1st screenshot) and also defined the symbol "ICALL_JT" under Predefined Symbols section as seen in the screenshot titled "Predefined symbols definition ss 8th May.png"(2nd screenshot). I want to know if I am following the right procedure for linking the missing file in the Compiler? If not what is the correct way to include a missing file in the Build settings of the project? This issue was not happening before I started making modifications to the code files and it disappeared for two weeks when I was conducting some testing with the modified simple_peripheral.c and simple_peripheral.syscfg files. I have also verified my simple_peripheral.c and simple_peripheral.syscfg files to make sure that the modifications I have made to the code are not resulting in any issues with BLE advertisements and my logic for modifying the advertisements seems correct. I just need to figure out how to properly include the missing folder path in Build settings of the CCS IDE. Any help with the issue would be of immense help to me and help me take the project to the next stage.
Thanks for reading.