kopia lustrzana https://github.com/espressif/esp-idf
26 wiersze
578 B
CMake
26 wiersze
578 B
CMake
set(srcs
|
|
"adc_periph.c"
|
|
"dac_periph.c"
|
|
"dedic_gpio_periph.c"
|
|
"gpio_periph.c"
|
|
"i2c_periph.c"
|
|
"i2s_periph.c"
|
|
"interrupts.c"
|
|
"lcd_periph.c"
|
|
"ledc_periph.c"
|
|
"pcnt_periph.c"
|
|
"rmt_periph.c"
|
|
"rtc_io_periph.c"
|
|
"sigmadelta_periph.c"
|
|
"spi_periph.c"
|
|
"timer_periph.c"
|
|
"touch_sensor_periph.c"
|
|
"uart_periph.c"
|
|
"usb_periph.c"
|
|
"usb_phy_periph.c")
|
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC . include)
|