2022-08-08 09:56:49 -04:00
|
|
|
set(srcs
|
|
|
|
"adc_periph.c"
|
|
|
|
"dedic_gpio_periph.c"
|
|
|
|
"gdma_periph.c"
|
|
|
|
"gpio_periph.c"
|
|
|
|
"sdm_periph.c"
|
|
|
|
"interrupts.c"
|
|
|
|
"spi_periph.c"
|
|
|
|
"ledc_periph.c"
|
2022-08-31 06:31:47 -04:00
|
|
|
"pcnt_periph.c"
|
2022-09-05 02:40:58 -04:00
|
|
|
"mcpwm_periph.c"
|
2022-08-08 09:56:49 -04:00
|
|
|
"rmt_periph.c"
|
|
|
|
"i2s_periph.c"
|
|
|
|
"i2c_periph.c"
|
|
|
|
"uart_periph.c"
|
|
|
|
"temperature_sensor_periph.c"
|
2022-10-27 06:22:52 -04:00
|
|
|
"timer_periph.c"
|
|
|
|
"twai_periph.c")
|
2022-08-08 09:56:49 -04:00
|
|
|
|
|
|
|
# ESP32C6-TODO
|
|
|
|
list(REMOVE_ITEM srcs
|
|
|
|
"adc_periph.c" # TODO: IDF-5310
|
|
|
|
)
|
|
|
|
|
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
|
|
|
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
|
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC . include)
|