Skip to content

Commit

Permalink
Remove firmware and drivers folders
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Jun 9, 2016
1 parent d490191 commit 81093e3
Show file tree
Hide file tree
Showing 187 changed files with 99 additions and 61,814 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ Cloning the GNSS-SDR repository as in the line above will create a folder named
|---conf <- Configuration files. Each file defines one particular receiver.
|---data <- Populate this folder with your captured data.
|---docs <- Contains documentation-related files.
|---drivers <- Drivers for some RF front-ends.
|---firmware <- Firmware for some front-ends.
|---install <- Executables will be placed here.
|---src <- Source code folder.
|-----algorithms <- Signal processing blocks.
Expand Down Expand Up @@ -298,11 +296,11 @@ and then import the created project file into Eclipse:

###### Build GN3S V2 Custom firmware and driver (OPTIONAL):

Go to GR-GN3S root directory, compile and install the driver (read the drivers/gr-gn3s/README for more information):
Install the GNU Radio module:

~~~~~~
$ cd gnss-sdr/drivers/gr-gn3s
$ cd build
$ git clone http://github.com/gnss-sdr/gr-gn3s
$ cd gr-gn3s/build
$ cmake ../
$ make
$ sudo make install
Expand All @@ -318,11 +316,11 @@ $ sudo make install
~~~~~~

In order to gain access to USB ports, gnss-sdr should be used as root. In addition, the driver requires access to the GN3S firmware binary file. It should be available in the same path where the application is called.
GNSS-SDR comes with a pre-compiled custom GN3S firmware available at gnss-sdr/firmware/GN3S_v2/bin/gn3s_firmware.ihx. Please copy this file to the application path. The GNSS-SDR default path is gnss-sdr/install
GNSS-SDR comes with a pre-compiled custom GN3S firmware available at gr-gn3s/firmware/GN3S_v2/bin/gn3s_firmware.ihx. Please copy this file to the application path.

(in order to disable the GN3S_Signal_Source compilation, you can pass -DENABLE_GN3S=OFF to cmake and build GNSS-SDR again).

More info at [drivers/gr-gn3s/README.md](./drivers/gr-gn3s/README.md)
More info at https://github.com/gnss-sdr/gr-gn3s


###### Build OSMOSDR support (OPTIONAL):
Expand Down
33 changes: 33 additions & 0 deletions cmake/Modules/FindGrDbfcttc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
########################################################################
# Find GR-DBFCTTC Module
########################################################################

INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(PC_GR_DBFCTTC gr-dbfcttc)

FIND_PATH(
GR_DBFCTTC_INCLUDE_DIRS
NAMES dbfcttc/api.h
HINTS $ENV{GR_DBFCTTC_DIR}/include
${PC_GR_DBFCTTC_INCLUDEDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/include
/usr/include
/usr/local/include
)

FIND_LIBRARY(
GR_DBFCTTC_LIBRARIES
NAMES gnuradio-dbfcttc
HINTS $ENV{GR_DBFCTTC_DIR}/lib
${PC_GR_DBFCTTC_LIBDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
/usr/lib
/usr/lib64
/usr/local/lib
/usr/local/lib64
)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GR_DBFCTTC DEFAULT_MSG GR_DBFCTTC_LIBRARIES GR_DBFCTTC_INCLUDE_DIRS)
MARK_AS_ADVANCED(GR_DBFCTTC_LIBRARIES GR_DBFCTTC_INCLUDE_DIRS)
33 changes: 33 additions & 0 deletions cmake/Modules/FindGrGN3S.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
########################################################################
# Find GR-GN3S Module
########################################################################

INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(PC_GR_GN3S gr-gn3s)

FIND_PATH(
GR_GN3S_INCLUDE_DIRS
NAMES gn3s/gn3s_api.h
HINTS $ENV{GR_GN3S_DIR}/include
${PC_GR_GN3S_INCLUDEDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/include
/usr/local/include
/usr/include
)

FIND_LIBRARY(
GR_GN3S_LIBRARIES
NAMES gr-gn3s
HINTS $ENV{GR_GN3S_DIR}/lib
${PC_GR_GN3S_LIBDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
/usr/local/lib
/usr/local/lib64
/usr/lib
/usr/lib64
)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GR_GN3S DEFAULT_MSG GR_GN3S_LIBRARIES GR_GN3S_INCLUDE_DIRS)
MARK_AS_ADVANCED(GR_GN3S_LIBRARIES GR_GN3S_INCLUDE_DIRS)
188 changes: 0 additions & 188 deletions drivers/gr-dbfcttc/CMakeLists.txt

This file was deleted.

7 changes: 0 additions & 7 deletions drivers/gr-dbfcttc/README

This file was deleted.

25 changes: 0 additions & 25 deletions drivers/gr-dbfcttc/apps/CMakeLists.txt

This file was deleted.

4 changes: 0 additions & 4 deletions drivers/gr-dbfcttc/build/.gitignore

This file was deleted.

Loading

0 comments on commit 81093e3

Please sign in to comment.