1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 19:04:36 +02:00
ben-wpan/prod/atusb
Werner Almesberger 0372d7d6cd prod/: moved more configurable items to variables
- Makefile: define driver names depending on device role
- Makefile: changed title comment to indicate that this Makefile is no
  longer considered just a convenience hack
- atusb: define USB_ID via a variable instead of hard-coding it
2011-05-28 07:03:20 -03:00

47 lines
342 B
Bash
Executable File

#!/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