mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-23 03:10:38 +02:00
32744af2ab
- 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
|