Add support in Nimble for ESP32H2

This commit is contained in:
Rahul Tank
2021-12-06 15:08:11 +05:30
parent 5963de1caf
commit f376bb5d05
34 changed files with 1819 additions and 198 deletions

View File

@@ -36,6 +36,8 @@ __attribute__((weak)) void bootloader_clock_configure(void)
DPORT_REG_GET_FIELD(DPORT_CPU_PER_CONF_REG, DPORT_CPUPERIOD_SEL) == DPORT_CPUPERIOD_SEL_240) {
cpu_freq_mhz = 240;
}
#elif CONFIG_IDF_TARGET_ESP32H2
cpu_freq_mhz = 64;
#endif
if (rtc_clk_apb_freq_get() < APB_CLK_FREQ || esp_rom_get_reset_reason(0) != RESET_REASON_CPU0_SW) {