AUX2 added
This commit is contained in:
3djc
2020-05-15 14:51:36 +02:00
committed by GitHub
parent 1cad34eb73
commit f0d8d340fd
32 changed files with 323 additions and 17 deletions
+7 -1
View File
@@ -64,8 +64,9 @@ if (PCB STREQUAL X10)
set(HARDWARE_TOUCH YES)
set(USB_CHARGER YES)
set(DEFAULT_THEME "DARKBLUE")
set(AUX_SERIAL ON)
if (NOT BLUETOOTH)
set(AUX_SERIAL ON)
set(AUX2_SERIAL ON)
endif()
else()
set(FLAVOUR x10)
@@ -238,6 +239,11 @@ if (AUX_SERIAL)
set(AUX_SERIAL_DRIVER ../common/arm/stm32/aux_serial_driver.cpp)
endif()
if (AUX2_SERIAL)
add_definitions(-DAUX2_SERIAL)
set(AUX_SERIAL_DRIVER ../common/arm/stm32/aux_serial_driver.cpp)
endif()
set(FIRMWARE_TARGET_SRC
${FIRMWARE_TARGET_SRC}
${LCD_DRIVER}