esp_timer: initial support on esp32-s3

This commit is contained in:
morris
2020-08-14 11:36:58 +08:00
parent 75a372a9f0
commit cc66334014
5 changed files with 53 additions and 32 deletions

View File

@@ -34,6 +34,8 @@
#include "esp32/rom/ets_sys.h" // for ETSTimer type
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32S3
#include "esp32s3/rom/ets_sys.h"
#endif
/* We abuse 'timer_arg' field of ETSTimer structure to hold a pointer to esp_timer */