diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..facb804 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bladerf.conf diff --git a/bladerf.conf b/bladerf.conf deleted file mode 100644 index 72df70d..0000000 --- a/bladerf.conf +++ /dev/null @@ -1 +0,0 @@ -biastee_rx on diff --git a/shell.nix b/shell.nix index 83586e4..2819bb0 100644 --- a/shell.nix +++ b/shell.nix @@ -39,7 +39,10 @@ in wrapQtApp "$out/bin/python" ''; shellHook = '' - ${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream} + cat > bladerf.conf << EOF + fpga ${bitstream} + biastee_rx on + EOF ''; QT_QPA_PLATFORM = "wayland"; }