Hi,
i wanted to setup a custom service from the service generator in the Simplelink Academy. I generated myService.h and myService.c but struggle to integrate those files in the SimpleBLEPeripheral project. Where do i put the c and h files? If i try to put it in the Application folder, CCS doesnt allow because its a virtual folder.
I checked the TI video on virtual folders and i get that they dont have a filesystem represantation, so i made a new folder in the SimpleBLEPeripheral project called "myService" and put the myService.c and myService.h there. I included the myService.h in the SimpleBLEPeripheral.c but it doesnt find it when i want to compile.
I found out that the include path always points to the SDK location but not to my project directory. Even if i import a project from the SDK to my Workspace with the option "Copy project to workspace", the actual source files are not in my workspace. When i check for example the SimpleBLEPeripheral.c in CCS with "properties", its still physically located in the SDK.
I think its not intended to change the example projects in the SDK folder but rather a copy of them in my workspace. What i want to achieve is building a test service in the SimpleBLEPeripheral demo project, but i cant figure out how to do it properly without changing the source of the demo project in the SDK folder.
How do i just change a example project to my needs with new .c and .h source files and run it on the SensorTag? What are the exact steps?
Thank you so much,
Markus