Hi,
Creating new thread from:
https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/927042/3426036#3426036
I am writing in more detail, for those who do not have reference from previous thread.
I am using host micro as NXP iMX.RT1050 EVK with freertos running on it.
1)So, our plan is starting with basecode for NXP iMX.RT1050 EVK running on FreeRTOS. Then, porting the host driver for simplelink on it.
If you think doing this in some other way would reduce efforts, let us know.
As our host micro is different, we are using examples as reference.
2) When I called sl_Start from my application, the compiler could not locate its definition.I had included the simplelink.h.
Later, In the linker option I included file simplelink.a in command line option that was missing. It started giving errors like,
Error[Li005]: no definition for "sem_destroy" [referenced from driver.obj(simplelink.a)]
Error[Li005]: no definition for "sem_post" [referenced from driver.obj(simplelink.a)]
Error[Li005]: no definition for "pthread_mutex_unlock" [referenced from driver.obj(simplelink.a)]
Error[Li005]: no definition for "pthread_mutex_destroy" [referenced from driver.obj(simplelink.a)]
Error[Li005]: no definition for "SimpleLinkFatalErrorEventHandler" [referenced from eventreg.obj(simplelink.a)]
I guess these are references from user.h
Even after commenting just to check,
// #define sl_SyncObjDelete(pSyncObj) sem_destroy(pSyncObj),
I could not get rid of the error. This means sem_destroy must be used somewhere else.
Regards,
Aniket.