mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Rename CMake module for gr-iio to a more consistent name. Minor fixes
This commit is contained in:
		| @@ -51,7 +51,7 @@ option(ENABLE_ARRAY "Enable the use of CTTC's antenna array front-end as signal | |||||||
| option(ENABLE_GN3S "Enable the use of the GN3S dongle as signal source (experimental)" OFF) | option(ENABLE_GN3S "Enable the use of the GN3S dongle as signal source (experimental)" OFF) | ||||||
| option(ENABLE_PLUTOSDR "Enable the use of ADALM-PLUTO Evaluation Boards (Analog Devices Inc.), requires gr-iio" OFF) | option(ENABLE_PLUTOSDR "Enable the use of ADALM-PLUTO Evaluation Boards (Analog Devices Inc.), requires gr-iio" OFF) | ||||||
| option(ENABLE_FMCOMMS2 "Enable the use of FMCOMMS4-EBZ + ZedBoard hardware, requires gr-iio" OFF) | option(ENABLE_FMCOMMS2 "Enable the use of FMCOMMS4-EBZ + ZedBoard hardware, requires gr-iio" OFF) | ||||||
| option(ENABLE_AD9361 "Enable the use of AD9361 directo to FPGA hardware, requires gr-iio" OFF) | option(ENABLE_AD9361 "Enable the use of AD9361 directo to FPGA hardware, requires libiio" OFF) | ||||||
| option(ENABLE_RAW_UDP "Enable the use of high-optimized custom UDP packet sample source, requires libpcap" OFF) | option(ENABLE_RAW_UDP "Enable the use of high-optimized custom UDP packet sample source, requires libpcap" OFF) | ||||||
|  |  | ||||||
| # Performance analysis tools | # Performance analysis tools | ||||||
|   | |||||||
| @@ -70,7 +70,7 @@ rtklib_solver::rtklib_solver(int nchannels, std::string dump_filename, bool flag | |||||||
|     count_valid_position = 0; |     count_valid_position = 0; | ||||||
|     this->set_averaging_flag(false); |     this->set_averaging_flag(false); | ||||||
|     rtk_ = rtk; |     rtk_ = rtk; | ||||||
|     for (unsigned int i = 0; i > 4; i++) dop_[i] = 0.0; |     for (unsigned int i = 0; i < 4; i++) dop_[i] = 0.0; | ||||||
|     pvt_sol = {{0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, '0', '0', '0', 0, 0, 0}; |     pvt_sol = {{0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}, '0', '0', '0', 0, 0, 0}; | ||||||
|  |  | ||||||
|     // ############# ENABLE DATA FILE LOG ################# |     // ############# ENABLE DATA FILE LOG ################# | ||||||
|   | |||||||
| @@ -1603,7 +1603,7 @@ void *ftpthread(void *arg) | |||||||
|                                 " --glob=off --passive-ftp " + std::string(proxyopt) + "s-t 1 -T " + std::to_string(FTP_TIMEOUT) + |                                 " --glob=off --passive-ftp " + std::string(proxyopt) + "s-t 1 -T " + std::to_string(FTP_TIMEOUT) + | ||||||
|                                 " -O \"" + std::string(local) + "\""; |                                 " -O \"" + std::string(local) + "\""; | ||||||
|             int k = s_aux.length(); |             int k = s_aux.length(); | ||||||
|             if (k < 2048) |             if (k < 1024]) | ||||||
|                 for (int i = 0; i < k; i++) opt[i] = s_aux[i]; |                 for (int i = 0; i < k; i++) opt[i] = s_aux[i]; | ||||||
|  |  | ||||||
|             // sprintf(cmd, "%s%s %s \"ftp://%s/%s\" 2> \"%s\"\n", env, FTP_CMD, opt, ftp->addr, |             // sprintf(cmd, "%s%s %s \"ftp://%s/%s\" 2> \"%s\"\n", env, FTP_CMD, opt, ftp->addr, | ||||||
|   | |||||||
| @@ -50,11 +50,10 @@ if(ENABLE_RAW_UDP) | |||||||
|    set(OPT_LIBRARIES ${OPT_LIBRARIES} ${PCAP_LIBRARIES}) |    set(OPT_LIBRARIES ${OPT_LIBRARIES} ${PCAP_LIBRARIES}) | ||||||
|    set(OPT_DRIVER_INCLUDE_DIRS ${OPT_DRIVER_INCLUDE_DIRS} ${PCAP_INCLUDE_DIRS}) |    set(OPT_DRIVER_INCLUDE_DIRS ${OPT_DRIVER_INCLUDE_DIRS} ${PCAP_INCLUDE_DIRS}) | ||||||
|    set(OPT_DRIVER_SOURCES ${OPT_DRIVER_SOURCES} custom_udp_signal_source.cc) |    set(OPT_DRIVER_SOURCES ${OPT_DRIVER_SOURCES} custom_udp_signal_source.cc) | ||||||
|     |  | ||||||
| endif(ENABLE_RAW_UDP) | endif(ENABLE_RAW_UDP) | ||||||
|  |  | ||||||
| if(ENABLE_PLUTOSDR OR ENABLE_FMCOMMS2) | if(ENABLE_PLUTOSDR OR ENABLE_FMCOMMS2) | ||||||
|    find_package(iio REQUIRED) |    find_package(Griio REQUIRED) | ||||||
|    if(NOT IIO_FOUND) |    if(NOT IIO_FOUND) | ||||||
|       message(STATUS "gnuradio-iio not found, its installation is required.") |       message(STATUS "gnuradio-iio not found, its installation is required.") | ||||||
|       message(STATUS "Please build and install the following projects:") |       message(STATUS "Please build and install the following projects:") | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ | |||||||
| # | # | ||||||
|  |  | ||||||
| if(ENABLE_PLUTOSDR OR ENABLE_FMCOMMS2) | if(ENABLE_PLUTOSDR OR ENABLE_FMCOMMS2) | ||||||
|      find_package(iio REQUIRED) |      find_package(Griio REQUIRED) | ||||||
|           if(NOT IIO_FOUND) |           if(NOT IIO_FOUND) | ||||||
|                message(STATUS "gnuradio-iio not found, its installation is required.") |                message(STATUS "gnuradio-iio not found, its installation is required.") | ||||||
|                message(STATUS "Please build and install the following projects:") |                message(STATUS "Please build and install the following projects:") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez