mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-23 01:07:31 +02:00
cd59b8524b
- prod/Common: added section titles - prod/Common (begin): new command to set up and check the test environment - prof/atben: call "begin" to set up the test environment - prod/Common (spectrum): added the profile - prod/Makefile: convenience commands, for development - prod/atben: run "identify" after checking the GPIOs - prod/atusb: test script for ATUSB
28 lines
274 B
Bash
Executable File
28 lines
274 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 100"
|
|
expect_re '4350[012]\.' # @@@ very crude ...
|
|
}
|
|
|
|
|
|
begin ben.profile
|
|
# power ?
|
|
gpio_ben
|
|
identify
|
|
xtal_ben
|
|
spectrum
|
|
transmit
|