feat(esp32h21): finnal introduce hello world support

This commit is contained in:
gaoxu
2024-12-30 20:14:40 +08:00
parent 2e6a6c0dd5
commit 25731d0c1e
63 changed files with 3087 additions and 2289 deletions

View File

@@ -42,9 +42,10 @@ if(NOT non_os_build)
"port/esp_clk_tree_common.c"
"dma/esp_dma_utils.c"
"dma/gdma_link.c"
"spi_share_hw_ctrl.c"
"spi_bus_lock.c")
if(CONFIG_SOC_GPSPI_SUPPORTED)
list(APPEND srcs "spi_share_hw_ctrl.c")
endif()
if(CONFIG_SOC_ADC_SUPPORTED)
list(APPEND srcs "adc_share_hw_ctrl.c")
endif()
@@ -157,6 +158,12 @@ set(public_include_dirs "include" "include/soc" "include/soc/${target}"
"dma/include" "ldo/include" "debug_probe/include"
"mspi_timing_tuning/include")
if(CONFIG_IDF_TARGET_ESP32H21)
list(REMOVE_ITEM srcs
"sleep_modes.c" # TODO: [ESP32H21] IDF-11515, IDF-11517
)
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${public_include_dirs}
PRIV_INCLUDE_DIRS port/include include/esp_private