Root/usrp/evscan

Source at commit 464ab40e3932a83b30626b99c4b658b4916fc24c created 5 years 6 months ago.
By Stefan Schmidt, Revert "atusb/fw/usb/: enable MCU reset on USB bus reset after config selection"
1#!/bin/sh
2
3usage()
4{
5    echo "usage: $0 [options] base-dir" 1>&2
6    exit 1
7}
8
9
10[ "$1" ] || usage
11opts=
12while [ "$2" ]; do
13    opts="$opts $1"
14    shift
15done
16[ -d "$1" ] || usage
17
18for f in "$1"/24*; do
19    echo -n `basename "$f"` ''
20    for n in "$f"/data*; do
21    ./fft $opts -s 100 0 20 70 <"$n" || echo "fft failed for $n" 1>&1
22    done | ./range -v 5
23done
24

Archive Download this file



interactive