aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-01-08 16:17:15 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-01-08 16:17:15 +0100
commitc3a258460e54103e74fcff1843511683fcd7aa39 (patch)
tree803dedafa5ad32f8bd2adf04798004066e2ba6fa
parent212dfb23548ed79ba759cbe1d9f1cc189dab9f5a (diff)
downloadfl2k_ampliphase-c3a258460e54103e74fcff1843511683fcd7aa39.tar.gz
fl2k_ampliphase-c3a258460e54103e74fcff1843511683fcd7aa39.tar.bz2
fl2k_ampliphase-c3a258460e54103e74fcff1843511683fcd7aa39.zip
Mention release build
-rw-r--r--README.md2
-rwxr-xr-xgensine.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 72c551d..66291b5 100644
--- a/README.md
+++ b/README.md
@@ -8,3 +8,5 @@ This does ampliphase modulation using the Red and Green DACs of FL2K VGA dongles
1. Install clang (Debian: `apt install llvm-dev libclang-dev clang`, others see
https://rust-lang.github.io/rust-bindgen/requirements.html)
1. Install libusb 1.0 (include -dev package)
+1. Run `cargo build --release`
+
diff --git a/gensine.py b/gensine.py
index f8b5161..d313891 100755
--- a/gensine.py
+++ b/gensine.py
@@ -19,6 +19,6 @@ plt.plot(sine_table)
plt.show()
print("Now run:")
-print(f"target/debug/fl2k_ampliphase -D -c 2000 -s {dac_rate} -i {sample_rate} -f sine.dat -w sine")
+print(f"target/release/fl2k_ampliphase -D -c 2000 -s {dac_rate} -i {sample_rate} -f sine.dat -w sine")
print("And then")
print("./plot.py")