CI: gps test hackrf support (#26364)
* first ignore * init gps test * make LimeGPS git clone * revert ignore * . * remove prebuilt bins * gps test v1 * add static signal gen script * update readme * remove LD_PRELOAD by using rpath, update values after testing * . * remove LD_PRELOAD * . * fix README * . * . * . * gps test v1 * cleanUp * init * update fuzzy tests * . * finalize qcom gps tests * . * . * . * add downloader * finalize unit tests * . * . * inc limeGPS startup time * tmp * loosen init time * . * . * . * add ublox warmstart test * . * improve location tests * . * . * . * . * . * . * . * . * last cleanUp * . * . * add hackrf support * hackrf support * . * . * . * . * . * . Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>pull/26616/head
parent
12ecc7b4bc
commit
a48ec655ac
4 changed files with 145 additions and 34 deletions
@ -1,2 +1,4 @@ |
||||
LimeGPS/ |
||||
LimeSuite/ |
||||
hackrf/ |
||||
gps-sdr-sim/ |
||||
|
@ -0,0 +1,44 @@ |
||||
diff --git a/host/hackrf-tools/src/CMakeLists.txt b/host/hackrf-tools/src/CMakeLists.txt
|
||||
index 7115151c..a51388ba 100644
|
||||
--- a/host/hackrf-tools/src/CMakeLists.txt
|
||||
+++ b/host/hackrf-tools/src/CMakeLists.txt
|
||||
@@ -23,20 +23,20 @@
|
||||
|
||||
set(INSTALL_DEFAULT_BINDIR "bin" CACHE STRING "Appended to CMAKE_INSTALL_PREFIX")
|
||||
|
||||
-find_package(FFTW REQUIRED)
|
||||
-include_directories(${FFTW_INCLUDES})
|
||||
-get_filename_component(FFTW_LIBRARY_DIRS ${FFTW_LIBRARIES} DIRECTORY)
|
||||
-link_directories(${FFTW_LIBRARY_DIRS})
|
||||
+#find_package(FFTW REQUIRED)
|
||||
+#include_directories(${FFTW_INCLUDES})
|
||||
+#get_filename_component(FFTW_LIBRARY_DIRS ${FFTW_LIBRARIES} DIRECTORY)
|
||||
+#link_directories(${FFTW_LIBRARY_DIRS})
|
||||
|
||||
SET(TOOLS
|
||||
hackrf_transfer
|
||||
- hackrf_spiflash
|
||||
- hackrf_cpldjtag
|
||||
+ #hackrf_spiflash
|
||||
+ #hackrf_cpldjtag
|
||||
hackrf_info
|
||||
- hackrf_debug
|
||||
- hackrf_clock
|
||||
- hackrf_sweep
|
||||
- hackrf_operacake
|
||||
+ #hackrf_debug
|
||||
+ #hackrf_clock
|
||||
+ #hackrf_sweep
|
||||
+ #hackrf_operacake
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
@@ -45,7 +45,7 @@ if(MSVC)
|
||||
)
|
||||
LIST(APPEND TOOLS_LINK_LIBS ${FFTW_LIBRARIES})
|
||||
else()
|
||||
- LIST(APPEND TOOLS_LINK_LIBS m fftw3f)
|
||||
+ LIST(APPEND TOOLS_LINK_LIBS m)# fftw3f)
|
||||
endif()
|
||||
|
||||
if(NOT libhackrf_SOURCE_DIR)
|
@ -0,0 +1,21 @@ |
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" |
||||
cd $DIR |
||||
|
||||
if [ ! -d gps-sdr-sim ]; then |
||||
git clone https://github.com/osqzss/gps-sdr-sim.git |
||||
cd gps-sdr-sim |
||||
make |
||||
cd .. |
||||
fi |
||||
|
||||
if [ ! -d hackrf ]; then |
||||
git clone https://github.com/greatscottgadgets/hackrf.git |
||||
cd hackrf/host |
||||
git apply ../../patches/hackrf.patch |
||||
cmake . |
||||
make |
||||
fi |
||||
|
Loading…
Reference in new issue