Damien George
2ee55c312d
stm: Add option to pyb_usb_dev_init() to use USB HID interface.
...
With this option selected, only HID on its own works, not VCP+HID.
2014-02-24 01:12:04 +00:00
Damien George
754a8dd827
stm: Put REPL functions in own file; add raw REPL mode.
...
Raw REPL mode is activated by CTRL-A, and allows you to more easily
communicate with the pyboard over the serial channel. In particular,
automated communication using, eg, pyserial on the PC side.
2014-02-16 21:36:03 +00:00
Damien George
d71cd86dc1
Merge branch 'iabdalkader-master'
...
Conflicts:
stm/usb.c
stm/usb.h
2014-02-01 16:17:06 +00:00
Damien George
01156d510c
stm: Add support for ctrl-C to interrupt running Python.
...
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-01 16:04:34 +00:00
mux
565fdccfd2
Add usb_vcp_connected prototype to usb.h
2014-02-01 15:49:16 +02:00
Damien George
75abee206d
stm: USB host mode working! Restructure stm library directories.
2014-01-26 17:41:01 +00:00
Damien George
3257d3543b
stm: Remove unnecessary #includes; small other changes.
2014-01-23 22:16:15 +00:00
Damien George
b5d13c309f
stm: Fix USART3 init. Small edits to Makefile and other things.
2014-01-22 22:55:07 +00:00
Damien George
328708eb25
stm: Re-instate C debugging USART port (disabled by default).
...
See pyb_usart_global_debug variable.
Also did some work on USB OTG, but nothing working yet.
2014-01-13 00:20:06 +00:00
Damien
58a1b4c6cf
Add USB HID support. Runs as an alternative to VCP+MSC.
2013-10-25 20:53:54 +01:00
Damien
0f6545139b
Implement simple servo control using PWM.
2013-10-23 20:39:20 +01:00
Damien
0c5827fc65
stm: improved GC, and cooked output for VCP.
2013-10-22 21:13:36 +01:00
Damien
3f69aca2e2
Make stm use garbage collector.
2013-10-21 23:46:04 +01:00
Damien
4b6e85ca26
Try to get REPL working, but bug with CDC VCP...
2013-10-21 09:56:56 +01:00
Damien
fb42ec17bc
Try to re-add USB support...
2013-10-19 15:37:09 +01:00