Simple LED control project using CC3100 as Access Point and socket

Dependencies:   mbed

Fork of cc3100_Test_Demo by David Fletcher

Revision:
2:b3fd5b3d9860
Parent:
0:e89ba455dbcf
--- a/simplelink/cc3100_user.h	Tue Feb 10 12:58:16 2015 +0000
+++ b/simplelink/cc3100_user.h	Sun Feb 15 11:01:37 2015 +0000
@@ -652,7 +652,7 @@
 
     \warning
 */
-#define sl_Malloc(Size)
+#define sl_Malloc(Size)    malloc(Size)
 
 /*!
     \brief
@@ -663,7 +663,7 @@
 
     \warning
 */
-#define sl_Free(pMem)
+#define sl_Free(pMem)    free(pMem)
 
 #endif
 
@@ -712,7 +712,7 @@
     \note           belongs to \ref porting_sec
     \warning
 */
-#define SL_OS_RET_CODE_OK
+//#define SL_OS_RET_CODE_OK
 
 /*!
     \brief
@@ -720,7 +720,7 @@
     \note           belongs to \ref porting_sec
     \warning
 */
-#define SL_OS_WAIT_FOREVER
+//#define SL_OS_WAIT_FOREVER
 
 /*!
     \brief
@@ -728,7 +728,7 @@
     \note           belongs to \ref porting_sec
     \warning
 */
-#define SL_OS_NO_WAIT
+//#define SL_OS_NO_WAIT
 
 /*!
 	\brief type definition for a time value
@@ -737,7 +737,7 @@
 
     \note       belongs to \ref porting_sec
 */
-#define _SlTime_t
+//#define _SlTime_t
 
 /*!
 	\brief 	type definition for a sync object container
@@ -752,7 +752,7 @@
 
     \note       belongs to \ref porting_sec
 */
-#define _SlSyncObj_t
+//#define _SlSyncObj_t
 
 
 /*!
@@ -769,7 +769,7 @@
     \note       belongs to \ref porting_sec
 	\warning
 */
-#define sl_SyncObjCreate(pSyncObj,pName)
+//#define sl_SyncObjCreate(pSyncObj,pName)
 
 
 /*!
@@ -782,7 +782,7 @@
     \note       belongs to \ref porting_sec
 	\warning
 */
-#define sl_SyncObjDelete(pSyncObj)
+//#define sl_SyncObjDelete(pSyncObj)
 
 
 /*!
@@ -797,7 +797,7 @@
 	\note		the function could be called from ISR context
 	\warning
 */
-#define sl_SyncObjSignal(pSyncObj)
+//#define sl_SyncObjSignal(pSyncObj)
 
 /*!
 	\brief 		This function generates a sync signal for the object from Interrupt
@@ -811,7 +811,7 @@
 	\note		the function could be called from ISR context
 	\warning
 */
-#define sl_SyncObjSignalFromIRQ(pSyncObj)
+//#define sl_SyncObjSignalFromIRQ(pSyncObj)
 /*!
 	\brief 	This function waits for a sync signal of the specific sync object
 
@@ -827,7 +827,7 @@
     \note       belongs to \ref porting_sec
 	\warning
 */
-#define sl_SyncObjWait(pSyncObj,Timeout)
+//#define sl_SyncObjWait(pSyncObj,Timeout)
 
 /*!
 	\brief 	type definition for a locking object container
@@ -839,7 +839,7 @@
 	\note	On each porting or platform the type could be whatever is needed - integer, structure etc.
     \note       belongs to \ref porting_sec
 */
-#define _SlLockObj_t
+//#define _SlLockObj_t
 
 /*!
 	\brief 	This function creates a locking object.