We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47a7bd commit 430943bCopy full SHA for 430943b
cores/esp32/esp32-hal-cpu.c
@@ -206,8 +206,11 @@ const char *getSupportedCpuFrequencyMhz(uint8_t xtal) {
206
int pos = 0;
207
208
#if TARGET_CPU_FREQ_MAX_400
209
- // P4 does not support 400MHz yet
+#if CONFIG_IDF_TARGET_ESP32P4 && CONFIG_ESP32P4_REV_MIN_FULL < 300
210
pos += snprintf(supported_frequencies + pos, 256 - pos, "360");
211
+#else
212
+ pos += snprintf(supported_frequencies + pos, 256 - pos, "400");
213
+#endif
214
#elif TARGET_CPU_FREQ_MAX_240
215
#if CONFIG_IDF_TARGET_ESP32
216
if (!REG_GET_BIT(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_CPU_FREQ_RATED) || !REG_GET_BIT(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_CPU_FREQ_LOW)) {
0 commit comments