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.
11 years ago
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.
11 years ago
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.
11 years ago
mux
565fdccfd2
Add usb_vcp_connected prototype to usb.h
11 years ago
Damien George
75abee206d
stm: USB host mode working! Restructure stm library directories.
11 years ago
Damien George
3257d3543b
stm: Remove unnecessary #includes; small other changes.
11 years ago
Damien George
b5d13c309f
stm: Fix USART3 init. Small edits to Makefile and other things.
11 years ago
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.
11 years ago
ian-v
5fd8fd2c16
Revert MP_BOOL, etc. and use <stdbool.h> instead
11 years ago
ian-v
7a16fadbf8
Co-exist with C++ (issue #85 )
11 years ago
Damien
58a1b4c6cf
Add USB HID support. Runs as an alternative to VCP+MSC.
11 years ago
Damien
0f6545139b
Implement simple servo control using PWM.
11 years ago
Damien
0c5827fc65
stm: improved GC, and cooked output for VCP.
11 years ago
Damien
3f69aca2e2
Make stm use garbage collector.
11 years ago
Damien
4b6e85ca26
Try to get REPL working, but bug with CDC VCP...
11 years ago
Damien
fb42ec17bc
Try to re-add USB support...
11 years ago