Support ESP32S3 (beta2) WiFi

This commit is contained in:
Chen Jian Xing
2021-01-25 00:18:42 +08:00
committed by Jiang Jiang Jian
parent 06f22fc4b0
commit f71adec8fb
10 changed files with 989 additions and 19 deletions
+4 -1
View File
@@ -71,7 +71,10 @@ menu "ESP System Settings"
config ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP
bool "Enable RTC fast memory for dynamic allocations"
default y
default y if IDF_TARGET_ESP32
default y if IDF_TARGET_ESP32S2
default y if IDF_TARGET_ESP32C3
default n if IDF_TARGET_ESP32S3 # TODO
depends on ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK
help
This config option allows to add RTC fast memory region to system heap with capability
@@ -308,6 +308,7 @@ __attribute__((weak)) void esp_perip_clk_init(void)
/* Disable WiFi/BT/SDIO clocks. */
CLEAR_PERI_REG_MASK(SYSTEM_WIFI_CLK_EN_REG, wifi_bt_sdio_clk);
SET_PERI_REG_MASK(SYSTEM_WIFI_CLK_EN_REG, SYSTEM_WIFI_CLK_EN);
/* Enable RNG clock. */
periph_module_enable(PERIPH_RNG_MODULE);