Move command registry from components/command/ into components/core/. New modules: mod_canbus, mod_honeypot, mod_fallback, mod_redteam, mod_ota. Replace mod_proxy with tun_core (multiplexed SOCKS5 tunnel). Kconfig extended with per-module settings and async worker config.
28 lines
488 B
CMake
28 lines
488 B
CMake
set(CANBUS_SRCS
|
|
cmd_canbus.c
|
|
canbus_driver.c
|
|
canbus_config.c
|
|
)
|
|
|
|
if(CONFIG_CANBUS_ISO_TP)
|
|
list(APPEND CANBUS_SRCS canbus_isotp.c)
|
|
endif()
|
|
|
|
if(CONFIG_CANBUS_UDS)
|
|
list(APPEND CANBUS_SRCS canbus_uds.c)
|
|
endif()
|
|
|
|
if(CONFIG_CANBUS_OBD)
|
|
list(APPEND CANBUS_SRCS canbus_obd.c)
|
|
endif()
|
|
|
|
if(CONFIG_CANBUS_FUZZ)
|
|
list(APPEND CANBUS_SRCS canbus_fuzz.c)
|
|
endif()
|
|
|
|
idf_component_register(
|
|
SRCS ${CANBUS_SRCS}
|
|
INCLUDE_DIRS .
|
|
REQUIRES core nvs_flash freertos driver
|
|
)
|