Commit 26361d2d authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: fix init-sdr for recent version of amarisoft

TODO: fix the check, it should check the PCB number and not the
Amarisoft version.
parent eb4701a6
Pipeline #36088 failed with stage
in 0 seconds
......@@ -7,7 +7,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
$AMARISOFT_PATH/trx_sdr/sdr_util version && exit;
lsof /dev/sdr0 && exit;
lsmod | grep -q sdr && rmmod sdr;
if echo $AMARISOFT_PATH | grep -q 2023; then
if echo $AMARISOFT_PATH | grep -q '2023\|2024'; then
cd $OLD_AMARISOFT_PATH/trx_sdr/kernel;
make clean && make && bash init.sh;
rmmod sdr;
......
  • Checking the PCB number seems a bit complicated since I guess we would need to check which are v3 and which have broken VCXO, so for now I will not implement it yet. However I changed it so that it checks if version is not 2021 (2022 versions do not work anyway because of tdd_tx_mod issue so I ignore these), that way the script will continue working for versions >= 2025 : c6cd6bd5

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment