2018-08-21 06:51 AM
I try to add mutex in the X-CUBE-53L1A1 SimpleRangingExamples
I have defined
#define VL53L1_GetI2cBus(...) CO_Mutex_get() in vl53l1_platform.c
#define XNUCLEO53L1A1_GetI2cBus(...) CO_Mutex_get() inX-NUCLEO-53L1A1.c
and also for PutI2cBus
But the drivers then hangs in VL53L1_WaitValueMaskEx has if it couldn't get the mutex.
I have count, the number of release of mutex is OK.
How can we integrate this example in FreeRTOS environement ?
Best regards
thanks for any suport