mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 08:39:41 +02:00
251a749515
- prod/Common (begin), prod/atben: added clock reference file argument - prod/atben (xtal_ben): use atrf-xtal options -b and -p to determine whether the clock frequency is correct
28 lines
323 B
Bash
Executable File
28 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ./Common
|
|
|
|
|
|
gpio_ben()
|
|
{
|
|
step "GPIO scan"
|
|
todo
|
|
}
|
|
|
|
|
|
xtal_ben()
|
|
{
|
|
step "Crystal frequency"
|
|
cmd "$LOCAL_EXEC atrf-xtal -d $LOCAL_DUT -b \\\`cat $CLKREF\\\` -p 50 100"
|
|
expect_re ppm # we catch any problems via the exit code
|
|
}
|
|
|
|
|
|
begin ben.profile ben.xtal
|
|
# power ?
|
|
gpio_ben
|
|
identify
|
|
xtal_ben
|
|
spectrum
|
|
transmit
|