1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 02:45:00 +02:00

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
This commit is contained in:
Werner Almesberger 2011-05-17 21:58:09 -03:00
parent d0ab9d92c2
commit 32744af2ab

View File

@ -3,17 +3,11 @@
. ./Common . ./Common
flash()
{
step "Flash boot loader"
todo
}
enumerate() enumerate()
{ {
step "Enumeration" step "Enumeration"
todo cmd "usbwait -t 5 20b7:1540 && echo okay"
expect okay
} }
@ -24,13 +18,6 @@ led()
} }
dfu()
{
step "DFU application"
todo
}
gpio_usb() gpio_usb()
{ {
step "GPIO scan" step "GPIO scan"
@ -46,13 +33,11 @@ xtal_usb()
begin usb.profile begin usb.profile
flash
enumerate enumerate
led led
dfu
# power ? # power ?
gpio_usb gpio_usb
# identify # local anomaly (using a 230-based card at the moment) identify
xtal_usb xtal_usb
spectrum spectrum
transmit transmit