examples: rfnoc-gain: correct cmake command in README

When running cmake, the FPGA directory must be provided as
variable UHD_FPGA_DIR.
This commit is contained in:
Jörg Hofrichter 2025-07-09 14:54:31 +02:00
parent bc76d5166e
commit f37e61c882

View File

@ -127,7 +127,7 @@ For example, the following workflow is valid:
```sh
cd /path/to/rfnoc-gain # Switch to this file's directory
mkdir build && cd build && cmake .. -F /path/to/uhd/fpga/usrp3 # Configure the project
mkdir build && cd build && cmake .. -DUHD_FPGA_DIR=/path/to/uhd/fpga # Configure the project
# Now, launch an image build and use all files from this directory:
rfnoc_image_builder -y ../icores/x310_rfnoc_image_core.yml -I ../rfnoc
make install # Install software and gateware