Telemetry/AVR/Unify serial driver

This commit is contained in:
PT_Dreamer
2017-02-04 12:03:20 +01:00
committed by Bertrand Songis
parent 2f9d9c1a99
commit f83aef4606
11 changed files with 181 additions and 392 deletions
+5 -1
View File
@@ -77,7 +77,11 @@ elseif(TELEMETRY STREQUAL JETI)
elseif(TELEMETRY STREQUAL MAVLINK)
add_definitions(-DTELEMETRY_MAVLINK)
include_directories(${THIRDPARTY_DIR} gui/${GUI_DIR} targets/common/avr)
set(SRC ${SRC} telemetry/mavlink.cpp targets/common/avr/serial_driver.cpp)
set(FIRMWARE_SRC
${FIRMWARE_SRC}
targets/common/avr/telemetry_driver.cpp
)
set(SRC ${SRC} telemetry/mavlink.cpp)
set(GUI_SRC ${GUI_SRC} view_mavlink.cpp)
math(EXPR EEPROM_VARIANT ${EEPROM_VARIANT}+${MAVLINK_VARIANT})
elseif(TELEMETRY STREQUAL TELEMETREZ)