Update ESP32 port files (#92)

Add changes required to support ESP32-S2
This commit is contained in:
Shubham Kulkarni 2020-07-31 09:28:51 +05:30 committed by GitHub
parent 4383c8fae3
commit adbfca5420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 217 additions and 31 deletions

View file

@ -34,7 +34,11 @@
#endif
#include "xtensa_rtos.h"
#include "esp_clk.h"
#if CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/clk.h"
#elif CONFIG_IDF_TARGET_ESP32
#include "esp32/clk.h"
#endif
#ifdef XT_RTOS_TIMER_INT