add reliable BLE telemetry transport

This commit is contained in:
Jay
2026-08-18 06:24:10 -04:00
parent 00f52ecf0f
commit 7617010d8e
26 changed files with 1499 additions and 47 deletions
+14 -4
View File
@@ -1,7 +1,17 @@
set(trikke_sources
"trikke_sensor_main.c" "trikke_protocol.c" "trikke_transport.c")
set(trikke_requires
adxl345 l3g4200d esp_timer esp_driver_gpio esp_driver_i2c
bt nvs_flash esp_driver_usb_serial_jtag vfs)
if(CONFIG_TRIKKE_TRANSPORT_BLE)
list(APPEND trikke_sources "trikke_ble_protocol.c" "trikke_ble_transport.c")
else()
list(APPEND trikke_sources "trikke_usb_transport.c")
endif()
idf_component_register(
SRCS "trikke_sensor_main.c" "trikke_protocol.c" "trikke_transport.c"
"trikke_usb_transport.c"
SRCS ${trikke_sources}
INCLUDE_DIRS "."
REQUIRES adxl345 l3g4200d esp_timer esp_driver_gpio esp_driver_i2c
esp_driver_usb_serial_jtag vfs
REQUIRES ${trikke_requires}
)