mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
983cca8b27
Copy the esp32c3 code without any change: * components/driver/esp32h2 * components/esp32h2 * components/hal/esp32h2 * components/soc/esp32h2
21 lines
474 B
CMake
21 lines
474 B
CMake
set(srcs
|
|
"adc_periph.c"
|
|
"gdma_periph.c"
|
|
"gpio_periph.c"
|
|
"interrupts.c"
|
|
"spi_periph.c"
|
|
"ledc_periph.c"
|
|
"rmt_periph.c"
|
|
"soc_memory_layout.c"
|
|
"sigmadelta_periph.c"
|
|
"soc_memory_layout.c"
|
|
"i2s_periph.c"
|
|
"i2c_periph.c"
|
|
"uart_periph.c"
|
|
"timer_periph.c")
|
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC . include)
|