Test the RTC and BURTC tickless implementations on the Gecko parts, and make correct as appropriate.

Replace some references to the older portTICK_RATE_MS macro with the newer pdMS_TO_TICKS() macro in the standard demo files.
This commit is contained in:
Richard Barry 2016-02-03 11:58:30 +00:00
parent 556de14a1d
commit 732778a971
11 changed files with 190 additions and 56 deletions

View file

@ -122,7 +122,7 @@ that synchronise with the xEventGroupSync() function. */
#define ebDONT_BLOCK ( 0 )
/* A 5ms delay. */
#define ebSHORT_DELAY ( 5 / portTICK_PERIOD_MS )
#define ebSHORT_DELAY pdMS_TO_TICKS( ( TickType_t ) 5 )
/* Used in the selective bits test which checks no, one or both tasks blocked on
event bits in a group are unblocked as appropriate as different bits get set. */