freertos: pass unit tests compilation

This commit is contained in:
Ivan Grokhotkov
2019-06-12 17:13:29 +08:00
parent 25a383c521
commit 04d1ce944d
16 changed files with 29 additions and 255 deletions

View File

@@ -27,6 +27,10 @@
static SemaphoreHandle_t task_delete_semphr;
#if CONFIG_IDF_TARGET_ESP32S2BETA
#warning "Test not ported to esp32s2beta"
#else
static void delaying_task(void* arg)
{
uint64_t ref_prev, ref_current;
@@ -72,3 +76,5 @@ TEST_CASE("Test vTaskDelayUntil", "[freertos]")
vSemaphoreDelete(task_delete_semphr);
ref_clock_deinit();
}
#endif // CONFIG_IDF_TARGET_ESP32S2BETA