aboutsummaryrefslogtreecommitdiff
path: root/stm/usb.c
AgeCommit message (Collapse)Author
2014-05-21stm: Remove long-obsolete stm/ port.Damien George
2014-02-24stm: Add option to pyb_usb_dev_init() to use USB HID interface.Damien George
With this option selected, only HID on its own works, not VCP+HID.
2014-02-15Implement proper exception type hierarchy.Damien George
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
2014-02-01Merge branch 'iabdalkader-master'Damien George
Conflicts: stm/usb.c stm/usb.h
2014-02-01stm: Add support for ctrl-C to interrupt running Python.Damien George
Using PendSV interrupt at lowest priority, code can now raise an exception during an interrupt by calling pendsv_nlr_jump. The exception will be raised when all interrupts are finished. This is used to trap ctrl-C from the USB VCP to break out of running Python code.
2014-02-01Detect VCP line state.mux
* Detect VCP line state, based on SET_CONTROL_LINE_STATE request
2014-01-26stm: USB host mode working! Restructure stm library directories.Damien George
2014-01-23stm: Remove unnecessary #includes; small other changes.Damien George
2014-01-22stm: Fix USART3 init. Small edits to Makefile and other things.Damien George
2014-01-13stm: Re-instate C debugging USART port (disabled by default).Damien George
See pyb_usart_global_debug variable. Also did some work on USB OTG, but nothing working yet.
2013-10-25Add USB HID support. Runs as an alternative to VCP+MSC.Damien
2013-10-23Implement simple servo control using PWM.Damien
2013-10-22Board running boot.py, working REPL, soft reboot.Damien
2013-10-22stm: improved GC, and cooked output for VCP.Damien
2013-10-21Make stm use garbage collector.Damien
2013-10-21Implement crude but working REPL for board.Damien
2013-10-21Try to get REPL working, but bug with CDC VCP...Damien
2013-10-19Try to re-add USB support...Damien
2013-10-19Working SysTick, code factoring, some boot-up code.Damien
2013-10-17Fix up linker script; improve startup code; printf to USB.Damien
2013-10-13Implement crude but functional CDC + MSC USB device.Damien
2013-10-13Inital commit of stm32f4xx framework.Damien