xTaskGetTickCount with critical section on 16 bit mcu

I would think that adding the #define portTICK_TYPE_IS_ATOMIC 1 in the port’s macro.h for the cases where the tick type IS being defined to be a type that the processor will access atomically (single instruction Read/Write) should be safe. My guess is this port just predates that capability, so doesn’t advertise that fact.

1 Like