aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbd_cdc_interface.h
AgeCommit message (Collapse)Author
2014-07-31stmhal: Add USB_VCP class/object, for direct USB VCP control.Damien George
Before, pyb.stdin/pyb.stdout allowed some kind of access to the USB VCP device, but it was basic access. This patch adds a proper USB_VCP class and object with much more control over the USB VCP device. Create an object with pyb.USB_VCP(), then use this object as if it were a UART object. It has send, recv, read, write, and other methods. send and recv allow a timeout to be specified. Addresses issue 774.
2014-05-03Add license header to (almost) all files.Damien George
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-04-02stmhal: Add timer module; move servo PWM from TIM2 to TIM5.Damien George
As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
2014-03-22stmhal: Add intensity method for blue LED.Damien George
As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
2014-03-22stmhal: Servo driver can move at a given speed.Damien George
2014-03-22stmhal: Tidy up USB CDC+MSC device some more.Damien George
2014-03-15stmhal: Put an array in ROM.Damien George
2014-03-15stmhal: Fix escape sequences in USB CDC input.Damien George
2014-03-15stmhal: Get USB CDC REPL working.Damien George
New USB HAL is quite a bit improved over previous one. Now has better callbacks and flow control. REPL over USB CDC now works as before, except for soft-reset (since USB driver uses malloc...).
2014-03-14stmhal: Get USB enumerating a CDC device.Damien George
Enumerates CDC device over USB, but doesn't transmit/receive yet.