|
|
@ -9,7 +9,7 @@ hw_timer_t * _uclockTimer = NULL; |
|
|
|
//#define ATOMIC(X) portENTER_CRITICAL_ISR(&_uclockTimerMux); X; portEXIT_CRITICAL_ISR(&_uclockTimerMux);
|
|
|
|
//#define ATOMIC(X) portENTER_CRITICAL_ISR(&_uclockTimerMux); X; portEXIT_CRITICAL_ISR(&_uclockTimerMux);
|
|
|
|
|
|
|
|
|
|
|
|
// FreeRTOS main clock task size in bytes
|
|
|
|
// FreeRTOS main clock task size in bytes
|
|
|
|
#define CLOCK_STACK_SIZE 2048 |
|
|
|
#define CLOCK_STACK_SIZE 5012 // adjust for your needs, a sequencer with heavy serial handling should be large in size
|
|
|
|
TaskHandle_t taskHandle; |
|
|
|
TaskHandle_t taskHandle; |
|
|
|
// mutex to protect the shared resource
|
|
|
|
// mutex to protect the shared resource
|
|
|
|
SemaphoreHandle_t _mutex; |
|
|
|
SemaphoreHandle_t _mutex; |
|
|
|