Commit Graph

11469 Commits

Author SHA1 Message Date
Martin Braun
0320e7918d cmake: Skip more files when staging usrp3 HDL sources
These sources are not required when building RFNoC bitfiles, and they
also reference csh, which causes some build systems to produce warnings.

As a consequence, we can also remove csh from the uhd-rfnoc-dev
dependency list.
2025-08-28 16:58:04 +02:00
Frank Dietze
43875c9f25 host: cmake: fix patch version used for packaging
When called from a branch the patch version contained letters
which cmake is not able to process. This change set it to numbers.
2025-08-26 20:11:30 +02:00
Abhishek Verma
b1a00f232e docs: fix b206 seri pdf link in manual 2025-08-26 11:34:26 +02:00
Marian Koop
4b94e35549 images: Correct checksum for re-generated component. 2025-08-26 08:42:20 +02:00
Martin Anderseck
8fb889a7c2 ci: Fix Device or resource busy bug in pipeline
This fixes the Device or resource busy bug in the x4xx hardware test
pipeline step. To enable different bitfiles than the one that were baked
into the file system image, we delete the installed one and install a
different one. This involves bringing up MPM without a bitfile. So when
the next bitfile gets installed, resources from the still running
bitfile cannot be cleaned up properly, like the mtdblocks of the X410
flash memories. To still clean that up, we now unmount these before we
start up MPM without a bitfile again. We ignore any errors that might
come up here as these steps are executed on devices without flash
memories on the daughtercards, too.
2025-08-26 08:35:37 +02:00
Frank Dietze
b2d396d436 Prepare for 4.9.0.0 RC2
Update Changelog
- Add mention of new RFNoC OOT block repository to changelog.
  Add link to RFNoC OOT block github repository to README.
Update Readme with reference to new OOT block repo
Update Manifest

Co-authored-by: Niels Garibaldi <niels.steffen.garibaldi@emerson.com>
Co-authored-by: Marian Koop <marian.koop@emerson.com>
2025-08-23 00:21:06 +02:00
Frank Dietze
6a38b70fb1 ci: utils: Update winusb_drv file mapping in image_package_mapping.py 2025-08-23 00:21:06 +02:00
mhallada-NI
cf0f81079c docs: Rework USRP X4x0 Getting Started Guide
- Improved structure, expanded setup steps and added
helpful diagrams
- Added step-by-step instructions for kit verification,
network setup and host requirements
- Consolidated section for troubleshooting
- Enhanced clarity for stand-alone vs. network modes
- Included security, care and handling guidelines
- Reorganized advanced topics such as serial connection
and microcontroller access
2025-08-23 00:03:44 +02:00
Aki Tomita
9018f578b2 cmake: Adjust the UHD_VERSION check to work with cmake 4.1
UHD_VERSION needs to be also checked against an empty string
since cmake 4.1 sets this variable during project setup, also
if it was undefined before. Furthermore we need to backup and
restore custom UHD_VERSION when defined for e.g. by using option
-DUHD_VERSION=<version>, because project() setup will reset the
version to an empty string.
2025-08-22 16:18:42 +02:00
Martin Braun
aa0c47877d debian: Enable building of uhd-rfnoc-dev
When building Debian packages, we now enable -DENABLE_RFNOC_DEV=ON and
put the HDL source files into a new package (uhd-rfnoc-dev).
2025-08-22 15:56:03 +02:00
mhallada-NI
4e861c4085 example: Fixed order of import in rfnoc_gain example 2025-08-22 15:32:23 +02:00
Clemens Felber
5ad0d3c353 python: fixed warning when uhd.dll was not found
This fixes the silently fail of import uhd when
UHD_LIBRARY_PATH, UHD_PKG_PATH was not set and
UHD_INSTALL_PATH points to an invalid directory
2025-08-22 13:37:00 +02:00
Jörg Hofrichter
e82dcd6518 cmake: deb: add patch to fix UHD package path 2025-08-22 13:36:21 +02:00
Marian Koop
ccf87ebb90 cmake: win: Add winusbdriver packages for NI branded B-Series devices
Co-authored-by: Sascha Hoener <sascha.hoener@emerson.com>
2025-08-21 14:13:35 +02:00
Abhishek Verma
7118e805dd host: devtest: added comments and minor fix 2025-08-21 09:02:58 +02:00
Abhishek Verma
09d056c095 host: devtest: update for ruamel yaml load and dump changes 2025-08-21 09:02:58 +02:00
Marian Koop
8e57519fc8 docs: Update B2xx User Manual section with external document references
- Move B206 jackscrew info from kit content to another section
- Add Additional Documents section to include external (to ni.com)
  links to certification, specs, seri and enclosure assembly instructions
- Add getting started subsection to link to getting started tutorials
2025-08-21 09:02:14 +02:00
Marian Koop
893fbb2a50 doc: Update User Manual Binary Installation section for Windows
Change binary installation instructions for Windows to reflect that
installation of Windows USB driver packages is now fully integrated
into UHD installer and this previous post installation step is
no longer needed.
2025-08-20 16:06:40 +02:00
Niels Garibaldi
b3b64f3fed fpga: rfnoc: ddc: fix strobe_dds_clip assignment
Fixes an issue, where data got corrupted in the DDC following an
overflow, leading to data streaming not restarting correctly.
2025-08-19 17:55:08 +02:00
Jörg Hofrichter
9ab7d07b37 images: update filesystems to v4.9.0.0-rc1 2025-08-12 18:03:55 +02:00
Marian Koop
d2f401da2f Prepare for 4.9.0.0 release
- Updated version string
- Updated CHANGELOG
- Updated Debian-related files
- Updated manifest
2025-08-11 19:12:16 +02:00
fdietze-ni
b8bf41c04a ci: fpga: fix build condition for e320 FPGA 2025-08-11 16:34:52 +02:00
Jörg Hofrichter
652108ff95 cmake: deb: Fix linting errors for Ubuntu 24.04
Starting from Ubuntu 24.04 (noble), the following package dependencies need to
be adopted:

    libncurses5-dev => libncurses-dev
    pkg-config => pkgconf
2025-08-08 10:22:44 +02:00
Jörg Hofrichter
7223c59625 tools: debs: support for version-specific files
Some debian control files (e.g. "control") may need to be adopted
for specific Debian/Ubuntu version being used. However, instead of
copying the whole debian directory for each Debian/Ubuntu version,
support having a version-specific ending (e.g. ".noble") which
takes preference over the default file.

Example: when building for "noble", the file "control.noble" will
be copied to "control" before executing the debuild commands.
2025-08-08 10:22:44 +02:00
ahmedsalman-ni
055db05b8e host: utils: fix cast from str to size_t
This will cast str to unsigned long if size_t is
of same size, otherwise unsigned long long

Co-authored-by: Grant Meyerhoff <grant.meyerhoff@emerson.com>
2025-08-07 13:49:16 +02:00
Abhishek Verma
c2dfe7d421 docs: update user manual devtest section
-merged device specific procedures into one section
-updated table to include x4xx and n3xx
-added usage of EXTRA_DEV_ARGS using make test_<devtest-pattern>
-extended devtest table with more devices
2025-08-06 16:28:39 +02:00
Clemens Felber
ea5850393a host: added python 3.13 build support under windows
Changed Python dependency definition in Poetry toml file to ">=3.10,<3.14"
to allow Python 3.13 source builds under Windows OS.
2025-08-05 19:21:52 +02:00
Marian Koop
b455560a4e cmake: tests: Fixed syntax warning in macro UHD_ADD_RFNOC_BLOCK_NONAPI_TEST
Matched macroend tag with macro name.
2025-08-05 09:58:37 +02:00
Marian Koop
9ba99b5799 host: cpack: windows: Integrated applying inf win drivers into NSIS template
- Adds calling pnpdriver util to apply all installed inf win drivers
- Change installer to be aware of the target proc architecture of
  installed files. This reults into a 64-bit installer to default
  installing registry keys into the 64-bit registry hive.
- Extended file info of installer executable to incl. publisher and
  copyright and make installer binary version match version of
  deployed binaries.
- Add custom icon to installer and uninstaller binaries as well as
  ARP entry.
2025-08-05 09:58:37 +02:00
Frank Dietze
c39ea17ca7 ci: devtest: temporarily excluding E320 tests 2025-08-01 12:09:28 +02:00
Abhishek Verma
91761b4be6 host: example: documentation fix 2025-07-31 11:35:36 +02:00
Frank Dietze
5274a6b5d7 ci: docker: adding cpu_host_type as demand for windows
Add demands for windows docker build, installer and image test jobs
to improve build success rate and reduce need for job re-runs.
2025-07-31 10:34:16 +02:00
Martin Braun
509dfffc1b rfnoc_modtool: Render IO ports for new blocks
When calling `rfnoc_modtool add`, the newly generated block will now
include the IO ports as defined in the block YAML.
2025-07-30 13:59:26 +02:00
Martin Braun
25aa30871f python: rfnoc_utils: Move render_wire_width() to template
This function should be usable by others outside of builder_config.py,
besides, that files is really long.
2025-07-30 13:59:26 +02:00
Martin Braun
a95e5634ff Revert "ci: docker: pin gcc version to 15.0.1 for Fedora 42 builder"
This reverts commit 2d9c94ef00.
2025-07-30 01:59:01 +02:00
Martin Braun
b58808fecf uhd: Add asio abstraction header
This adds uhdlib/asio.hpp, which makes it possible for UHD to use either
Boost.Asio or regular asio. Note that for using regular asio, additional
CMake changes are required, which are not part of this changeset, and
all C++ sources would need to reference namespace asio:: instead of
boost::asio::, which is also not part of this changeset.

However, the boost/asio.hpp include statement is now limited to a single
location, which makes it possible to set custom include preferences for
this file. Here, we allow gcc builds to allow some warnings when
including Boost.Asio.
2025-07-30 01:59:01 +02:00
Martin Braun
52396f7e20 examples: Remove network_relay
This example is getting a bit dusty. Besides, it only works for
USRP2/N210. Instead of overhauling it, it will therefore get deprecated.
2025-07-28 15:47:58 +02:00
Grant Meyerhoff
c52889b356 usrp: Add support for OBX daughterboard
This adds support for the OBX daughterboard, a new daughterboard
compatible with the USRP X3x0 series.

- Includes both UHD and CPLD codebases
- Includes CI hooks

Co-authored-by: Javier Valenzuela <javier.valenzuela@emerson.com>
2025-07-28 09:33:14 +02:00
Grant Meyerhoff
b4f180da86 experts: add print for device_addr_t 2025-07-28 09:33:14 +02:00
Abhishek Verma
a8093d5fd6 host: test: fix devtest x4xx make targets 2025-07-25 15:29:04 +02:00
Grant Meyerhoff
ddb4c2bdda rfnoc: fix function documentation typo 2025-07-23 15:43:16 +02:00
Abhishek Verma
7dc14ed806 docs: extended manual with b2xx getting started section 2025-07-22 09:13:13 +02:00
Marian Koop
61723eac13 host: example: Add new python example that uses matplotlib for spectrum 2025-07-22 09:11:45 +02:00
Max Köhler
761323113d fpga: chdr: Mask stream_info of recv pkt in chdr_stream_endpoint_tb 2025-07-18 14:46:02 +02:00
Lars Amsel
8812898bf3 host: add retransmission capabilities to tx streamer
With this commit the host enables retranmit capabilities to tx
streamer. This can be used for host to FPGA transmission that
are real time depended but need absolut reliability. The main
use case will be transmissions from host to replay block. The
current implementation supports only single channel transmissions.
To enable retransmissions the streamer has to change the op mode
using the new STREAM_MODE_STOP_ON_SEQ_ERROR. The streamer will
check whether the FPGA reports that this mode was enabled before
proceeding. When enabled on the FPGA the FPGA will reject data
from the host when it detects a sequence error. Only after a new
initialize stream command is sent the host can transfer more data
to the FPGA. When the tx streamer detects a sequence error from the
FPGA it will stop the current send command and return the samples
sent so far. Note: This might be more than the FPGA has actually
processed. It is up to the user logic to determine if and where
the transmission has to restart (e.g. query the replay block for
arrived samples). If the tx streamer calls send again the
reinitialization is triggered automatically.
2025-07-18 11:19:52 +02:00
Lars Amsel
bf65ddecf4 host: Add missing Python binding for replay_block_control::get_record_position 2025-07-18 11:19:52 +02:00
Max Köhler
08e019e609 fpga: rfnoc: add option to stop chdr stream input on sequence error 2025-07-18 11:19:52 +02:00
Lars Amsel
bfaa556600 Move ignore of build folders into top level
Move ignored build folder to into top level and ignore all folders
that starts with build.
2025-07-18 11:19:52 +02:00
Lars Amsel
4708d01d9e host: allow multiple repeats for play command of replay block
Add a new play command that accepts a size_t for iterations. This
allows arbritrary iteration on the signal as well as continous
play (max value of iteration). Use the CONTINOUS_PLAY command for
that.

The old play command (using bool) is deprecated but stays in
for backward capabilities.
2025-07-18 11:19:41 +02:00
Aki Tomita
bf8c552e34 ci: Remove rhombus-labgrid files 2025-07-18 11:11:34 +02:00