This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:12 +01:00
parent 4f1d3b5ff4
commit d9d10f2743
4 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ endif()
if(INTERNAL_GPS)
set(SRC ${SRC} gps.cpp)
set(TARGET_SRC ${TARGET_SRC} gps_driver.cpp)
set(FIRMWARE_TARGET_SRC ${FIRMWARE_TARGET_SRC} gps_driver.cpp)
add_definitions(-DINTERNAL_GPS)
message("Horus: Internal GPS enabled")
endif()
+1
View File
@@ -21,6 +21,7 @@ set(SIMU_SRC
backlight_driver.cpp
gyro_driver.cpp
bt_driver.cpp
gps_driver.cpp
)
if(SIMU_DISKIO)
+23
View File
@@ -0,0 +1,23 @@
/*
* Copyright (C) EdgeTX
*
* Based on code named
* opentx - https://github.com/opentx/opentx
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
void gpsGetByte(unsigned char*) {}
void gpsSendByte(unsigned char) {}
+1
View File
@@ -66,6 +66,7 @@ if(GTEST_INCDIR AND GTEST_SRCDIR AND Qt5Widgets_FOUND)
../targets/simu/backlight_driver.cpp
../targets/simu/gyro_driver.cpp
../targets/simu/bt_driver.cpp
../targets/simu/gps_driver.cpp
)
add_dependencies(gtests-radio ${RADIO_DEPENDENCIES} ${FIRMWARE_DEPENDENCIES} gtests-radio-lib)
if(PCB STREQUAL X12S OR PCB STREQUAL X10)