fix bladeRF FPGA loading

This commit is contained in:
Sebastien Bourdeauducq 2020-08-15 19:52:30 +08:00
parent 9ec7c5e794
commit 52e560c090
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
bladerf.conf

View File

@ -1 +0,0 @@
biastee_rx on

View File

@ -39,7 +39,10 @@ in
wrapQtApp "$out/bin/python" wrapQtApp "$out/bin/python"
''; '';
shellHook = '' shellHook = ''
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream} cat > bladerf.conf << EOF
fpga ${bitstream}
biastee_rx on
EOF
''; '';
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
} }