Merge branch 'refactor/common_rom_rtc_apis' into 'master'

soc: define reset reasons in soc component

Closes IDF-1993

See merge request espressif/esp-idf!9829
This commit is contained in:
morris
2021-07-13 07:05:25 +00:00
47 changed files with 624 additions and 314 deletions

View File

@@ -8,7 +8,8 @@
#include "esp_flash_partitions.h"
#include "esp_image_format.h"
#include "esp_app_format.h"
// RESET_REASON is declared in rom/rtc.h
// [refactor-todo]: we shouldn't expose ROM header files in a public API header, remove them in v5.0
// Tracked in IDF-1968
#if CONFIG_IDF_TARGET_ESP32
#include "esp32/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32S2