mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
This commit is contained in:
		| @@ -36,12 +36,43 @@ set(ACQ_ADAPTER_SOURCES | ||||
|     glonass_l2_ca_pcps_acquisition.cc | ||||
| ) | ||||
|  | ||||
| set(ACQ_ADAPTER_HEADERS | ||||
|     gps_l1_ca_pcps_acquisition.h | ||||
|     gps_l1_ca_pcps_assisted_acquisition.h | ||||
|     gps_l1_ca_pcps_acquisition_fine_doppler.h | ||||
|     gps_l1_ca_pcps_tong_acquisition.h | ||||
|     gps_l1_ca_pcps_quicksync_acquisition.h | ||||
|     gps_l2_m_pcps_acquisition.h | ||||
|     gps_l5i_pcps_acquisition.h | ||||
|     galileo_e1_pcps_ambiguous_acquisition.h | ||||
|     galileo_e1_pcps_cccwsr_ambiguous_acquisition.h | ||||
|     galileo_e1_pcps_quicksync_ambiguous_acquisition.h | ||||
|     galileo_e1_pcps_tong_ambiguous_acquisition.h | ||||
|     galileo_e1_pcps_8ms_ambiguous_acquisition.h | ||||
|     galileo_e5a_noncoherent_iq_acquisition_caf.h | ||||
|     galileo_e5a_pcps_acquisition.h | ||||
|     glonass_l1_ca_pcps_acquisition.h | ||||
|     glonass_l2_ca_pcps_acquisition.h | ||||
| ) | ||||
|  | ||||
|  | ||||
| if(ENABLE_FPGA) | ||||
|     set(ACQ_ADAPTER_SOURCES ${ACQ_ADAPTER_SOURCES} gps_l1_ca_pcps_acquisition_fpga.cc gps_l2_m_pcps_acquisition_fpga.cc galileo_e1_pcps_ambiguous_acquisition_fpga.cc galileo_e5a_pcps_acquisition_fpga.cc gps_l5i_pcps_acquisition_fpga.cc) | ||||
|     set(ACQ_ADAPTER_SOURCES ${ACQ_ADAPTER_SOURCES} gps_l1_ca_pcps_acquisition_fpga.cc  | ||||
|                                                    gps_l2_m_pcps_acquisition_fpga.cc | ||||
|                                                    galileo_e1_pcps_ambiguous_acquisition_fpga.cc | ||||
|                                                    galileo_e5a_pcps_acquisition_fpga.cc | ||||
|                                                    gps_l5i_pcps_acquisition_fpga.cc) | ||||
|  | ||||
|     set(ACQ_ADAPTER_HEADERS ${ACQ_ADAPTER_HEADERS} gps_l1_ca_pcps_acquisition_fpga.h  | ||||
|                                                    gps_l2_m_pcps_acquisition_fpga.h | ||||
|                                                    galileo_e1_pcps_ambiguous_acquisition_fpga.h | ||||
|                                                    galileo_e5a_pcps_acquisition_fpga.h | ||||
|                                                    gps_l5i_pcps_acquisition_fpga.h)                                                    | ||||
| endif(ENABLE_FPGA) | ||||
|      | ||||
| if(OPENCL_FOUND) | ||||
|     set(ACQ_ADAPTER_SOURCES ${ACQ_ADAPTER_SOURCES} gps_l1_ca_pcps_opencl_acquisition.cc) | ||||
|     set(ACQ_ADAPTER_HEADERS ${ACQ_ADAPTER_HEADERS} gps_l1_ca_pcps_opencl_acquisition.h) | ||||
| endif(OPENCL_FOUND) | ||||
|  | ||||
| include_directories( | ||||
| @@ -61,8 +92,8 @@ include_directories( | ||||
|      ${VOLK_GNSSSDR_INCLUDE_DIRS} | ||||
| ) | ||||
|  | ||||
| file(GLOB ACQ_ADAPTER_HEADERS "*.h") | ||||
| list(SORT ACQ_ADAPTER_HEADERS) | ||||
| list(SORT ACQ_ADAPTER_SOURCES) | ||||
| add_library(acq_adapters ${ACQ_ADAPTER_SOURCES} ${ACQ_ADAPTER_HEADERS}) | ||||
| source_group(Headers FILES ${ACQ_ADAPTER_HEADERS}) | ||||
| target_link_libraries(acq_adapters acquisition_lib gnss_sp_libs gnss_sdr_flags acq_gr_blocks ${Boost_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} ${GNURADIO_BLOCKS_LIBRARIES}) | ||||
|   | ||||
| @@ -26,14 +26,27 @@ set(ACQ_GR_BLOCKS_SOURCES | ||||
|     pcps_quicksync_acquisition_cc.cc | ||||
|     galileo_pcps_8ms_acquisition_cc.cc | ||||
|     galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc | ||||
| ) | ||||
|  | ||||
| set(ACQ_GR_BLOCKS_HEADERS | ||||
|     pcps_acquisition.h | ||||
|     pcps_assisted_acquisition_cc.h | ||||
|     pcps_acquisition_fine_doppler_cc.h | ||||
|     pcps_tong_acquisition_cc.h | ||||
|     pcps_cccwsr_acquisition_cc.h | ||||
|     pcps_quicksync_acquisition_cc.h | ||||
|     galileo_pcps_8ms_acquisition_cc.h | ||||
|     galileo_e5a_noncoherent_iq_acquisition_caf_cc.h | ||||
| )  | ||||
|  | ||||
| if(ENABLE_FPGA) | ||||
|     set(ACQ_GR_BLOCKS_SOURCES ${ACQ_GR_BLOCKS_SOURCES} pcps_acquisition_fpga.cc) | ||||
|     set(ACQ_GR_BLOCKS_HEADERS ${ACQ_GR_BLOCKS_HEADERS} pcps_acquisition_fpga.h) | ||||
| endif(ENABLE_FPGA) | ||||
|      | ||||
| if(OPENCL_FOUND) | ||||
|     set(ACQ_GR_BLOCKS_SOURCES ${ACQ_GR_BLOCKS_SOURCES} pcps_opencl_acquisition_cc.cc) | ||||
|     set(ACQ_GR_BLOCKS_HEADERS ${ACQ_GR_BLOCKS_HEADERS} pcps_opencl_acquisition_cc.h) | ||||
| endif(OPENCL_FOUND) | ||||
|  | ||||
| include_directories( | ||||
| @@ -61,8 +74,8 @@ if(OPENCL_FOUND) | ||||
|     endif(OS_IS_MACOSX) | ||||
| endif(OPENCL_FOUND) | ||||
|  | ||||
| file(GLOB ACQ_GR_BLOCKS_HEADERS "*.h") | ||||
| list(SORT ACQ_GR_BLOCKS_HEADERS) | ||||
| list(SORT ACQ_GR_BLOCKS_SOURCES) | ||||
| add_library(acq_gr_blocks ${ACQ_GR_BLOCKS_SOURCES} ${ACQ_GR_BLOCKS_HEADERS}) | ||||
| source_group(Headers FILES ${ACQ_GR_BLOCKS_HEADERS}) | ||||
|  | ||||
|   | ||||
| @@ -78,7 +78,7 @@ pcps_acquisition_fpga::pcps_acquisition_fpga(pcpsconf_fpga_t conf_) : gr::block( | ||||
|     d_single_doppler_flag = false; | ||||
|  | ||||
|     d_downsampling_factor = acq_parameters.downsampling_factor; | ||||
|     //printf("downsampling_factor = %f\n", d_downsampling_factor); | ||||
|     //printf("AAAAAAAAAA downsampling_factor = %f\n", d_downsampling_factor); | ||||
|     d_select_queue_Fpga = acq_parameters.select_queue_Fpga; | ||||
|     //printf("zzzz acq_parameters.code_length = %d\n", acq_parameters.code_length); | ||||
|     //printf("zzzz acq_parameters.samples_per_ms = %d\n", acq_parameters.samples_per_ms); | ||||
|   | ||||
| @@ -18,6 +18,7 @@ | ||||
|  | ||||
| if(ENABLE_FPGA) | ||||
|    set(ACQUISITION_LIB_SOURCES fpga_acquisition.cc ) | ||||
|    set(ACQUISITION_LIB_HEADERS fpga_acquisition.h ) | ||||
|    include_directories( | ||||
|      ${CMAKE_CURRENT_SOURCE_DIR} | ||||
|      ${CMAKE_SOURCE_DIR}/src/core/system_parameters | ||||
| @@ -29,15 +30,14 @@ if(ENABLE_FPGA) | ||||
|      ${GFlags_INCLUDE_DIRS} | ||||
|      ${VOLK_GNSSSDR_INCLUDE_DIRS} | ||||
|    ) | ||||
|  | ||||
|    file(GLOB ACQUISITION_LIB_HEADERS "*.h") | ||||
| endif(ENABLE_FPGA) | ||||
|  | ||||
| set(ACQUISITION_LIB_HEADERS ${ACQUISITION_LIB_HEADERS} acq_conf.h) | ||||
| list(SORT ACQUISITION_LIB_HEADERS) | ||||
|  | ||||
| set(ACQUISITION_LIB_SOURCES ${ACQUISITION_LIB_SOURCES} acq_conf.cc) | ||||
|  | ||||
| list(SORT ACQUISITION_LIB_HEADERS) | ||||
| list(SORT ACQUISITION_LIB_SOURCES) | ||||
|  | ||||
| add_library(acquisition_lib ${ACQUISITION_LIB_SOURCES} ${ACQUISITION_LIB_HEADERS}) | ||||
| source_group(Headers FILES ${ACQUISITION_LIB_HEADERS}) | ||||
| target_link_libraries(acquisition_lib ${VOLK_LIBRARIES} ${VOLK_GNSSSDR_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Marc Majoral
					Marc Majoral