feat: add U-BLOX GPS support (#4689)
This commit is contained in:
@@ -77,7 +77,7 @@ if (PCB STREQUAL X10)
|
||||
add_definitions(-DRADIO_FAMILY_T16)
|
||||
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
|
||||
option(BLUETOOTH "Support for bluetooth module" OFF)
|
||||
option(INTERNAL_GPS "Support for internal NMEA GPS" ON)
|
||||
option(INTERNAL_GPS "Support for internal GPS" ON)
|
||||
add_definitions(-DMANUFACTURER_JUMPER)
|
||||
if (NOT BLUETOOTH)
|
||||
set(AUX2_SERIAL ON)
|
||||
@@ -90,7 +90,7 @@ if (PCB STREQUAL X10)
|
||||
add_definitions(-DRADIO_FAMILY_T16)
|
||||
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
|
||||
option(BLUETOOTH "Support for bluetooth module" OFF)
|
||||
option(INTERNAL_GPS "Support for internal NMEA GPS" ON)
|
||||
option(INTERNAL_GPS "Support for internal GPS" ON)
|
||||
set(SWSERIALPOWER YES)
|
||||
set(USB_CHARGER YES)
|
||||
set(DEFAULT_THEME "DARKBLUE")
|
||||
@@ -107,7 +107,7 @@ if (PCB STREQUAL X10)
|
||||
add_definitions(-DRADIO_FAMILY_T16)
|
||||
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
|
||||
option(BLUETOOTH "Support for bluetooth module" OFF)
|
||||
option(INTERNAL_GPS "Support for internal NMEA GPS" ON)
|
||||
option(INTERNAL_GPS "Support for internal GPS" ON)
|
||||
add_definitions(-DMANUFACTURER_JUMPER)
|
||||
if (NOT BLUETOOTH)
|
||||
set(AUX2_SERIAL ON)
|
||||
@@ -199,7 +199,7 @@ if(DISK_CACHE)
|
||||
endif()
|
||||
|
||||
if(INTERNAL_GPS)
|
||||
set(SRC ${SRC} gps.cpp)
|
||||
set(SRC ${SRC} gps.cpp gps_nmea.cpp gps_ubx.cpp)
|
||||
add_definitions(-DINTERNAL_GPS)
|
||||
message("-- Internal GPS enabled")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user