From c3a258460e54103e74fcff1843511683fcd7aa39 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 8 Jan 2023 16:17:15 +0100 Subject: Mention release build --- README.md | 2 ++ gensine.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3