esp32, esp32s2: remove dependency of cache err int init on freertos

This commit is contained in:
Renz Christian Bagaporo
2020-02-16 18:20:58 +05:00
committed by Angus Gratton
parent 4d094eccca
commit 20d17e648b
3 changed files with 19 additions and 12 deletions

View File

@@ -33,12 +33,7 @@
#include "hal/wdt_hal.h"
#include "freertos/xtensa_api.h"
#if CONFIG_IDF_TARGET_ESP32
#include "esp32/cache_err_int.h"
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/cache_err_int.h"
#endif
/* "inner" restart function for after RTOS, interrupts & anything else on this
* core are already stopped. Stalls other core, resets hardware,