Skip to content

Commit 7008558

Browse files
committed
fix(clk): 400MHz CPU should still be selectable on ESP32-P4 less than rev3
1 parent c17644a commit 7008558

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/esp_system/port/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ endif()
66

77
target_include_directories(${COMPONENT_LIB} PRIVATE ${INCLUDE_FILES} include/private)
88

9+
if(CONFIG_ESP32P4_SELECTS_REV_LESS_V3 AND CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_400)
10+
message(WARNING "400 MHz CPU frequency is not guaranteed to work on all chips with revision prior to rev 3!")
11+
endif()
12+
913
set(srcs "cpu_start.c" "panic_handler.c" "esp_system_chip.c")
1014

1115
if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP)

components/esp_system/port/soc/esp32p4/Kconfig.cpu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ choice ESP_DEFAULT_CPU_FREQ_MHZ
1414
depends on ESP32P4_SELECTS_REV_LESS_V3
1515
config ESP_DEFAULT_CPU_FREQ_MHZ_400
1616
bool "400 MHz"
17-
depends on !ESP32P4_SELECTS_REV_LESS_V3
1817
endchoice
1918

2019
config ESP_DEFAULT_CPU_FREQ_MHZ

0 commit comments

Comments
 (0)