Skip to content

Commit 06c3d83

Browse files
authored
Disable ESP32-P4 revision checks
Comment out ESP32-P4 revision checks in CMakeLists.txt.
1 parent aed14ca commit 06c3d83

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

components/esp_hw_support/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ if(CONFIG_IDF_TARGET_ESP32H4)
199199
endif()
200200

201201

202-
if(CONFIG_ESP32P4_SELECTS_REV_LESS_V3)
203-
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
204-
idf_build_set_property(COMPILE_OPTIONS "-march=rv32imafc_zicsr_zifencei_xesppie" APPEND)
205-
endif()
206-
elseif(CONFIG_IDF_TARGET_ESP32P4)
207-
if(CMAKE_C_COMPILER_ID MATCHES "Clang") # TODO: LLVM-478
208-
message(FATAL_ERROR "ESP32-P4 rev. 3.0 or higher is not supported in Clang-based toolchain")
209-
endif()
210-
endif()
202+
#if(CONFIG_ESP32P4_SELECTS_REV_LESS_V3)
203+
# if(CMAKE_C_COMPILER_ID MATCHES "GNU")
204+
# idf_build_set_property(COMPILE_OPTIONS "-march=rv32imafc_zicsr_zifencei_xesppie" APPEND)
205+
# endif()
206+
#elseif(CONFIG_IDF_TARGET_ESP32P4)
207+
# if(CMAKE_C_COMPILER_ID MATCHES "Clang") # TODO: LLVM-478
208+
# message(FATAL_ERROR "ESP32-P4 rev. 3.0 or higher is not supported in Clang-based toolchain")
209+
# endif()
210+
#endif()
211211

212212
idf_component_register(SRCS ${srcs}
213213
INCLUDE_DIRS ${public_include_dirs}

0 commit comments

Comments
 (0)