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
b2269b610e
Detect VCP line state.
* Detect VCP line state, based on SET_CONTROL_LINE_STATE request
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
e9f1e50be4
Board running boot.py, working REPL, soft reboot.
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
f48cf67108
Implement crude but working REPL for board.
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
Damien
00ff04fc49
Working SysTick, code factoring, some boot-up code.
11 years ago
Damien
4a175e1f11
Fix up linker script; improve startup code; printf to USB.
11 years ago
Damien
fee89d520f
Implement crude but functional CDC + MSC USB device.
11 years ago
Damien
ed65605edc
Inital commit of stm32f4xx framework.
11 years ago