70367f53ca
- Created CMakeLists.txt for the OpenKNX IDF component, ensuring dependencies on OpenKNX and TPUart submodules. - Implemented Arduino compatibility header for basic functions like millis, delay, pinMode, and digitalRead. - Developed EspIdfPlatform class for network interface management and multicast communication. - Added EtsMemoryLoader for loading ETS memory snapshots and managing associations. - Introduced TpuartUartInterface for UART communication with methods for reading, writing, and managing callbacks. - Implemented arduino_compat.cpp for Arduino-like functionality on ESP-IDF. - Created source files for platform and memory loader implementations. - Updated submodules for knx, knx_dali_gw, and tpuart. Signed-off-by: Tony <tonylu@tony-cloud.com>
24 lines
438 B
CMake
24 lines
438 B
CMake
set(GATEWAY_BRIDGE_REQUIRES
|
|
dali_domain
|
|
dali_cpp
|
|
espressif__cjson
|
|
esp_driver_uart
|
|
freertos
|
|
gateway_cache
|
|
gateway_knx
|
|
gateway_modbus
|
|
log
|
|
lwip
|
|
nvs_flash
|
|
openknx_idf
|
|
)
|
|
|
|
idf_component_register(
|
|
SRCS "src/gateway_bridge.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES ${GATEWAY_BRIDGE_REQUIRES}
|
|
PRIV_REQUIRES gateway_bacnet
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)
|