mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-08-23 16:57:08 +03:00
- 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
44 lines
325 B
Bash
Executable File
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
|