Compilation fix

This commit is contained in:
Bertrand Songis
2016-03-02 23:37:01 +01:00
parent dee5a510f5
commit f41ac20051
+2
View File
@@ -182,6 +182,7 @@ elseif(PCB STREQUAL TARANIS)
endif()
elseif(PCB STREQUAL SKY9X OR PCB STREQUAL 9XRPRO OR PCB STREQUAL AR9X)
set(ARCH ARM)
set(LUA NO)
if(PCB STREQUAL 9XRPRO)
add_definitions(-Dat91sam3s8 -DREVX)
set(FLAVOUR 9xrpro)
@@ -547,6 +548,7 @@ else()
option(BATTGRAPH "Battery graph" OFF)
option(HAPTIC "Haptic support" OFF)
set(LCD "DEFAULT" CACHE STRING "LCD type (DEFAULT/ST7565P/ST7565R/ERC12864FSF/ST7920)")
set(LUA NO)
set(PULSES_SRC pulses_avr.cpp)
set(SRC ${SRC} main_avr.cpp)
set(FIRMWARE_SRC ${FIRMWARE_SRC} targets/common_avr/adc_driver.cpp)