Fixed unity fixture for ESP32/S2

* Created compile switch for UNITY_MAIN
  since it was using exit() syscall leading to
  abort() on ESP
This commit is contained in:
Jakob Hasse
2020-07-23 14:32:06 +08:00
committed by Fu Hanxi
parent f789380e19
commit 40d80b981a
6 changed files with 25 additions and 4 deletions
@@ -18,6 +18,7 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "unity.h"
#include "unity_test_runner.h"
#include "test_utils.h"
#include "esp_newlib.h"