ESP32-H2: Last MR for g0 component support, (only hal left)

This commit is contained in:
C.S.M
2022-12-05 17:32:21 +08:00
parent bcbb6d2fc2
commit 6b1d4b4d49
32 changed files with 6864 additions and 49 deletions

View File

@@ -24,7 +24,7 @@ void wdt_hal_init(wdt_hal_context_t *hal, wdt_inst_t wdt_inst, uint32_t prescale
}
#endif
else {
#if CONFIG_IDF_TARGET_ESP32C6 // TODO: IDF-5653
#if CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 // ESP32C6-TODO, ESP32H2-TODO: IDF-5653
hal->rwdt_dev = &LP_WDT;
#else
hal->rwdt_dev = &RTCCNTL;