1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-29 23:15:00 +02:00
ben-wpan/prod/atusb
Werner Almesberger 32744af2ab prod/atusb: separated flashing from testing; added enumeration and ID test
- atusb (flash, dfu): removed (to be handled by separate script)
- atusb (enumerate): implemented enumeration test
- atusb: enabled "identify", since the local anomaly has been solved
2011-05-17 21:58:09 -03:00

44 lines
325 B
Bash
Executable File

#!/bin/sh
. ./Common
enumerate()
{
step "Enumeration"
cmd "usbwait -t 5 20b7:1540 && echo okay"
expect okay
}
led()
{
step "LED"
todo
}
gpio_usb()
{
step "GPIO scan"
todo
}
xtal_usb()
{
step "Crystal frequency"
todo
}
begin usb.profile
enumerate
led
# power ?
gpio_usb
identify
xtal_usb
spectrum
transmit