# idf_component_register(SRCS "uart_example.c" "main.c" # "modbus-tcp.c" # "can_network.c" # "./stm32/ads1220.c" # "./stm32/bl0939.c" # "./stm32/capture.c" # "./stm32/comm.c" # "./stm32/depth.c" # "./stm32/fram.c" # "./stm32/flow.c" # "./stm32/utils.c" # "./stm32/config.c" # "./stm32/ModbusS.c" # "./stm32/ModbusM.c" # "./stm32/uart0_modbus_slave.c" # "wifi_softap.c" # "bt_server.c" # INCLUDE_DIRS ".") set(SRCS "uart_example.c" "main.c" "modbus-tcp.c" "can_network.c" "./stm32/ads1220.c" "./stm32/bl0939.c" "./stm32/capture.c" "./stm32/comm.c" "./stm32/depth.c" "./stm32/fram.c" "./stm32/flow.c" "./stm32/utils.c" "./stm32/config.c" "./stm32/ModbusS.c" "./stm32/ModbusM.c" "./stm32/uart0_modbus_slave.c" "wifi_softap.c" "bt_server.c" #"C:\Espressif\frameworks\esp-idf-v4.4.5\components\bt\include" ) set(INCLUDE_DIRS ".") idf_component_register(SRCS ${SRCS} INCLUDE_DIRS ${INCLUDE_DIRS})