1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-19 07:06:16 +02:00
ben-wpan/prod/atben
Werner Almesberger cd59b8524b prod/: on-going development
- 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
2011-04-20 08:13:27 -03:00

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