Skip to content

Commit 6edafea

Browse files
committed
fix(esptool): Fix esp32c61 flash frequency config
1 parent 138660b commit 6edafea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

esptool/targets/esp32c61.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ class ESP32C61ROM(ESP32C6ROM):
4545
EFUSE_SECURE_BOOT_EN_REG = EFUSE_BASE + 0x034
4646
EFUSE_SECURE_BOOT_EN_MASK = 1 << 26
4747

48+
FLASH_FREQUENCY = {
49+
"80m": 0xF,
50+
"40m": 0x0,
51+
"20m": 0x2,
52+
}
53+
4854
MEMORY_MAP = [
4955
[0x00000000, 0x00010000, "PADDING"],
5056
[0x41800000, 0x42000000, "DROM"],

0 commit comments

Comments
 (0)