mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-20 22:23:49 +00:00
16 lines
339 B
Bash
Executable File
16 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
|
|
home_dir=$(pwd)
|
|
|
|
set -x
|
|
if test -d "/sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr"; then
|
|
cd /sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr
|
|
else
|
|
cd /sys/devices/soc0/fpga-axi\@0/fpga-axi\@0\:sdr
|
|
fi
|
|
|
|
cat ~/openwifi/arbitrary_iq_gen/iq_single_carrier_1000000Hz_512.bin > tx_intf_iq_data
|
|
cat tx_intf_iq_data
|
|
|
|
cd $home_dir
|