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.

BOOSTXL-CC3135: Porting host driver to a Non-TI MCU

Part Number: BOOSTXL-CC3135
Other Parts Discussed in Thread: CC3100, CC3135

Hello,

I am trying to port the SimpleLink Wi-Fi SDK to Host MCU (the host is not from TI) environment running without an OS & in a single threaded mode, using the steps described in chapter 19 in swru455. 
But I am stuck at defining "#define _SlSyncObj_t".

The first errors that I get are  :  

  • Type '_SlSyncObj_t' could not be resolved
  • Type '_SlLockObj_t' could not be resolved

But the sl_SyncObj and sl_LockObj  belong to a multithreaded environment, and according to Chap19 part 7 : "This step is not required if the host application is based on a non-OS environment" !

As long as i have errors i think it's necessary to define this objetcs for the host driver to run properly, even in non-OS, non-multithreaded environment. 

So according to this thread, i can use the CC3100 SDK approach to handle the sync objects in noRTOS. In user.h, instead of defining all of the sl_SyncObj/sl_LockObj objects as DPL-implemented SemaphoreP/MutexP objects, i can redefine them to internal implementations, using the nonos.c/.h of the CC3100 SDK as a guide. So once i've redefined them, i got this error : 

"ti\drivers\net\wifi\source\nonos.h(65):E0520020:Identifier "_SlSpawnEntryFunc_t" is undefined"

I didn't change anything in nonos.h of CC3135 SDK , the "_SlSpawnEntryFunc_t"  its defined in simplelink.h and i add it to my nonos.h but it doesn't work !

How do I  correctly handle this ?


Thank's for your help !

Best Regars,