package/uhd: add missing support
PATCH RESEND 1/2 package/uhd: add missing support
From: Gwenhael Goavec-Merou <[email protected]>
Complete uhd package with the rest of USRP, octoclock and python support.
--- package/uhd/Config.in | 63 +++++++++++++++++++++++++++++++++++++++ package/uhd/uhd.mk | 68 ++++++++++++++++++++++++++++++++++++------- 2 files changed, 121 insertions(+), 10 deletions(-)
package/uhd/Config.in +63 -0
@@ -75,6 +75,43 @@ config BR2_PACKAGE_UHD_MPMD help enable MPMD support +config BR2_PACKAGE_UHD_N230 + bool "N230 support" + help + enable N230 support + +config BR2_PACKAGE_UHD_N300 + bool "N300 support" + select BR2_PACKAGE_UHD_MPMD + help + enable N300 support + +config BR2_PACKAGE_UHD_N320 + bool "N320 support" + select BR2_PACKAGE_UHD_MPMD + help + enable N320 support + +config BR2_PACKAGE_UHD_OCTOCLOCK + bool "OctoClock support" + help + enable OctoClock support + +comment "uhd python API needs python3 and a toolchain w/ glibc or musl" + depends on !BR2_PACKAGE_PYTHON3 + depends on !BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_TOOLCHAIN_USES_MUSL) # python-numpy + +config BR2_PACKAGE_UHD_PYTHON + bool "python API support" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_PYTHON_NUMPY + select BR2_PACKAGE_PYTHON_REQUESTS + help + enable python API support + config BR2_PACKAGE_UHD_RFNOC bool "RFNoC support" help
@@ -90,4 +127,30 @@ config BR2_PACKAGE_UHD_USB comment "USB support needs a toolchain w/ gcc >= 4.9" depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 +config BR2_PACKAGE_UHD_USRP1 + bool "USRP1 support" + select BR2_PACKAGE_UHD_USB + help + enable USRP1 support + +config BR2_PACKAGE_UHD_USRP2 + bool "USRP2 support" + help + enable USRP2 support + +comment "uhd utils depends on python API support" + depends on !BR2_PACKAGE_UHD_PYTHON + +config BR2_PACKAGE_UHD_UTILS + bool "uhd-utils" + depends on BR2_PACKAGE_UHD_PYTHON + select BR2_PACKAGE_PYTHON_SIX + help + uhd-utils + +config BR2_PACKAGE_UHD_X300 + bool "X300 support" + help + enable X300 support + endif
package/uhd/uhd.mk +58 -10
92 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH RESEND 2/2 package/gnuradio: add gr-uhd option
From: Gwenhael Goavec-Merou <[email protected]>
GNURadio has a block to use USRP, through UHD, to receive or transmit RF signals.
--- package/gnuradio/Config.in | 9 +++++++++ package/gnuradio/gnuradio.mk | 7 +++++++ 2 files changed, 16 insertions(+)
package/gnuradio/Config.in +9 -0
@@ -156,4 +156,13 @@ config BR2_PACKAGE_GNURADIO_TRELLIS help Trellis coded modulation blocks +config BR2_PACKAGE_GNURADIO_UHD + bool "gr-uhd support" + select BR2_PACKAGE_UHD + select BR2_PACKAGE_GNURADIO_ANALOG + select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GNURADIO_FILTER + help + UHD support + endif
package/gnuradio/gnuradio.mk +7 -0
@@ -149,6 +149,13 @@ else GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=OFF endif +ifeq ($(BR2_PACKAGE_GNURADIO_UHD),y) +GNURADIO_DEPENDENCIES += uhd +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=OFF +endif + ifeq ($(BR2_PACKAGE_GNURADIO_UTILS),y) GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=ON else
Signature · 1 line
2.20.1
PATCH RESEND 2/2 package/gnuradio: add gr-uhd option
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gwenhael" == Gwenhael Goavec-Merou <[email protected]> writes:
From: Gwenhael Goavec-Merou <[email protected]> GNURadio has a block to use USRP, through UHD, to receive or transmit RF signals.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH RESEND 1/2 package/uhd: add missing support
In reply to Gwenhael Goavec-MerouQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gwenhael" == Gwenhael Goavec-Merou <[email protected]> writes:
From: Gwenhael Goavec-Merou <[email protected]> Complete uhd package with the rest of USRP, octoclock and python support.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard