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

@@ -8,6 +8,12 @@
#include "driver/timer.h"
#include "unity.h"
#ifdef CONFIG_IDF_TARGET_ESP32S2BETA
#define int_clr_timers int_clr
#define update update.update
#define int_st_timers int_st
#endif
#define BIT_CALL (1 << 0)
#define BIT_RESPONSE(TASK) (1 << (TASK+1))
#define ALL_RESPONSE_BITS (((1 << NUM_TASKS) - 1) << 1)