mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 13:29:33 +02:00
cd59b8524b
- prod/Common: added section titles - prod/Common (begin): new command to set up and check the test environment - prof/atben: call "begin" to set up the test environment - prod/Common (spectrum): added the profile - prod/Makefile: convenience commands, for development - prod/atben: run "identify" after checking the GPIOs - prod/atusb: test script for ATUSB
59 lines
430 B
Bash
Executable File
59 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ./Common
|
|
|
|
|
|
flash()
|
|
{
|
|
step "Flash boot loader"
|
|
todo
|
|
}
|
|
|
|
|
|
enumerate()
|
|
{
|
|
step "Enumeration"
|
|
todo
|
|
}
|
|
|
|
|
|
led()
|
|
{
|
|
step "LED"
|
|
todo
|
|
}
|
|
|
|
|
|
dfu()
|
|
{
|
|
step "DFU application"
|
|
todo
|
|
}
|
|
|
|
|
|
gpio_usb()
|
|
{
|
|
step "GPIO scan"
|
|
todo
|
|
}
|
|
|
|
|
|
xtal_usb()
|
|
{
|
|
step "Crystal frequency"
|
|
todo
|
|
}
|
|
|
|
|
|
begin usb.profile
|
|
flash
|
|
enumerate
|
|
led
|
|
dfu
|
|
# power ?
|
|
gpio_usb
|
|
# identify # local anomaly (using a 230-based card at the moment)
|
|
xtal_usb
|
|
spectrum
|
|
transmit
|