annotate python/lsusb.py @ 125:1ee5f36b34ed

Added tag stm32f4discovery flash with python for changeset d38729d35c4d
author Windel Bouwman
date Sun, 13 Jan 2013 10:42:03 +0100
parents 056face59ee7
children 654093a9a1e3
rev   line source
112
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/python
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
2
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
3 from usb import UsbContext
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
4
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
5 context = UsbContext()
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
6 for d in context.DeviceList:
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
7 print(d)
056face59ee7 Added lsusb script
Windel Bouwman
parents:
diff changeset
8