45 Commits (918851e8365d0dac79eb2fa370c22f12379ff458)

Author SHA1 Message Date
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Damien George 5ab98d5c41 stmhal: Convert to use internal errno symbols; enable uerrno module. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Dave Hylands 8c936edeb2 stmhal: Fix USB on the STM32F429DISC board 9 years ago
neilh10 1be0fde45c stmhal: Enable two USB phys to be supported together. 9 years ago
Damien George 79f404a287 stmhal: Fix USB_VCP.recv so that it returns actual amount of bytes read. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Dave Hylands 01d64914c5 stmhal: Fix USB CDC-only mode under Windows. 9 years ago
Tony Abboud 8d8fdcb4be stmhal: add option to query for the current usb mode 9 years ago
Damien George 1511dd4f84 stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP(). 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1f68685ec stmhal: In USB HID driver, make polling interval configurable. 10 years ago
Damien George 55d6218b9a stmhal: Properly define pyb.usb_mode() semantics. 10 years ago
Damien George 39ce2db181 stmhal: Add "CDC" option to pyb.usb_mode, for CDC device only. 10 years ago
Damien George d39c7aa517 stmhal: Add Python-configurable USB HID mode. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George 3b51b3e90f stmhal: Collect all root pointers together in 1 place. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 19fb1b4dd7 stmhal: Add USB_VCP.setinterrupt method, to disable CTRL-C. 10 years ago
Damien George 5cbc9e0db0 stmhal: Reduce coupling between USB driver and readline. 10 years ago
Paul Sokolovsky f4a6a577ab stream: Convert .ioctl() to take fixed number of args. 10 years ago
Damien George 9a41b32b3f stmhal: Add ioctl to USB_VCP object, so it works with select. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 10 years ago
Damien George d7353fe6fe stmhal: Change USB PID when in CDC+HID mode. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George 3bb7efc943 stmhal: Hookup USB_VCP.any(). 10 years ago
Damien George ccacdf44b6 stmhal: Clean up reset/soft-reset code; fix bug init'ing VCP exc. 10 years ago
Damien George 2e41646eb7 stmhal: Add more documentation for USB_VCP. 10 years ago
Damien George 87bbb388db stmhal: Add documentation for LCD; update docs for USB_VCP. 10 years ago
Damien George 3c4db9f91c stmhal: Add USB_VCP class/object, for direct USB VCP control. 10 years ago
Damien George 951ed9d02f stmhal: Fix REPL printing by cooking output sent to stdout_obj. 10 years ago
Damien George 34ab8dd6dd stmhal: Update and improve LCD driver. 11 years ago
Damien George 6d197740cf stmhal: Stop USB before entering DFU by software. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 82c7b1b1d5 stmhal: Put a USB structure in ROM; GC doesn't scan the data segment. 11 years ago
Damien George 09d207785c stmhal: Unify naming of HW config; make SD detect configurable. 11 years ago
Damien George 038df43183 stmhal: Implement selector for USB device mode; improve boot up. 11 years ago
Damien George 64563e39b3 stmhal: Add CDC+HID USB device. 11 years ago
Damien George 2fb37847a7 stmhal: Tidy up USB CDC+MSC device some more. 11 years ago
Damien George fb25c2d95f stmhal: USB CDC and MSC device work together. 11 years ago
Damien George 8913c04831 stmhal: Add support for USB MSC device. 11 years ago
Damien George 6c2455f481 stmhal: Put an array in ROM. 11 years ago
Damien George 07174c6fca stmhal: Fix escape sequences in USB CDC input. 11 years ago
Damien George e285511a23 stmhal: Get USB CDC REPL working. 11 years ago
Damien George b30c02afa0 stmhal: Get USB enumerating a CDC device. 11 years ago
Damien George 2ee55c312d stm: Add option to pyb_usb_dev_init() to use USB HID interface. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George 01156d510c stm: Add support for ctrl-C to interrupt running Python. 11 years ago
mux b2269b610e Detect VCP line state. 11 years ago
Damien George 75abee206d stm: USB host mode working! Restructure stm library directories. 11 years ago