1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 23:43:43 +02:00
ben-wpan/prod/atusb

47 lines
342 B
Plaintext
Raw Normal View History

#!/bin/sh
. ./Common
USB_ID=20b7:1540
enumerate()
{
step "Enumeration"
cmd "usbwait -t 5 $USB_ID && 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