Damien George
55d6218b9a
stmhal: Properly define pyb.usb_mode() semantics.
2015-02-13 14:02:51 +00:00
Damien George
39ce2db181
stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only.
2015-02-13 14:02:51 +00:00
Damien George
d7353fe6fe
stmhal: Change USB PID when in CDC+HID mode.
...
This gets CDC+HID working on Windows, since it needs a different PID for
a different USB configuration.
Thanks to tmbinc and dhylands.
2014-10-25 22:55:07 +01:00
Damien George
04b9147e15
Add license header to (almost) all files.
...
Blanket wide to all .c and .h files. Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.
Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
2014-05-03 23:27:38 +01:00
Damien George
82c7b1b1d5
stmhal: Put a USB structure in ROM; GC doesn't scan the data segment.
2014-04-12 18:50:20 +01:00
Damien George
8913c04831
stmhal: Add support for USB MSC device.
...
This gives a functioning, independent MSC device.
2014-03-21 23:32:01 +00:00
Damien George
b30c02afa0
stmhal: Get USB enumerating a CDC device.
...
Enumerates CDC device over USB, but doesn't transmit/receive yet.
2014-03-14 00:30:37 +00:00