I am trying to bring the new TI AP provisioning into my project which uses TI-RTOS and am having errors I do not understand.
Background: I started with a CCS project that would build and run TI’s version of Amazon SDK’s subscribe_publish_sample example application. This uses TI-RTOS. I added code from the main.c file of TI’s provisioning_ap example (after updating my SDK with “SimpleLink Wi-Fi CC3200 Provisioing Add-on” that was recently released). This provisioning_ap example does not use TI-RTOS. I’ve worked through several issues by modifying include paths and libraries, but am now stuck with errors I do not understand.
The issues I’m seeing are stated as “unresolved symbols” in .obj files, but when looking at the respective .c files it seems the symbols are declared correctly. Specifically, these are the errors I’m stuck with:
unresolved symbol _SlNonOsSemGet, first referenced in C:/TI/CC3200SDK_1.2.0/cc3200-sdk/simplelink_extlib/provisioninglib/ccs/Release/provisioninglib.a<provisioning_logic.obj>
unresolved symbol _SlNonOsSemSet, first referenced in C:/TI/CC3200SDK_1.2.0/cc3200-sdk/simplelink_extlib/provisioninglib/ccs/Release/provisioninglib.a<provisioning_logic.obj>
unresolved symbol Report, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_DeInit, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_Init, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_InterruptClear, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_IntSetup, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_Start, first referenced in ./Provisioning.obj
unresolved symbol Timer_IF_Stop, first referenced in ./Provisioning.obj
(Note that Provisioning.c is where I’ve placed the code from main.c of provisioning_ap example).
The first two errors I do not understand as I cannot find anywhere that SlNonOsSemGet or SlNonOsSemSet are referenced in my entire workspace other than the project output files linkInfo.xml and .map. When looking at the provisioning_ap example, I see it also only shows up in the linkInfo.xml and .map file. Where are these functions coming from and? I assume I don't want them in my project as they are "nonos".
The third error (Report) comes from UART_PRINT statements. In common.h, there is statement “#define UART_PRINT Report”. This Report function is declared in uart_if.h. I have both common.h and uart_if.h in the #includes at the top of my provisioning.c file. It seems to be linked just fine (right clicking on statement and hitting “open declaration” links correctly), so I don’t understand why this error shows.
The remaining errors (TIMER_IF…) are all defined in timer_if.h. I have timer_if.h in my #includes at the top of my provisioning.c file. They also seem to be linked just fine using the "open declaration", so I don't understand why these show up as errors.
I would greatly appreciate some clarification on why these errors are showing up in my output files even though everything seems fine in my .c/.h files and what actions I can take to resolve the issues.
Kind Regards,
-Jon