57 Commits (95635ade8b8b848554e577250256145d65de9608)

Author SHA1 Message Date
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Damien George e81116d07d stmhal/uart: Increase inter-character timeout by 1ms. 8 years ago
Damien George 16a584d7cf stmhal/uart: Provide a custom function to transmit over UART. 8 years ago
Damien George 4c7d799b82 stmhal/uart: Add check that UART id is valid for the given board. 8 years ago
Damien George aaab6a9921 stmhal/uart: Add support for UART7 and UART8 on F7 MCUs. 8 years ago
Rami Ali 27a503f632 stmhal: Refactor UART configuration to use pin objects. 8 years ago
Damien George 304cfda8c4 py/stream: Move ad-hoc ioctl constants to stream.h and rename them. 8 years ago
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Tobias Badertscher 1191ec6a14 stmhal/uart.c: Fix wrong baudrate calculation for stm32l4 series. 9 years ago
Damien George 5ab98d5c41 stmhal: Convert to use internal errno symbols; enable uerrno module. 9 years ago
Damien George 53521152a8 stmhal: L4: Modify uart.c to support L4 MCU. 9 years ago
Peter Hinch 22cbcd55f0 stmhal: Properly handle RTS/CTS flow control for buf/unbuf transfers. 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
Damien George 36ccdc952c stmhal: Make uart init use struct instead of array for parsing args. 9 years ago
Ryan Shaw c03dd3b2f9 stmhal: Fix uart off by 1 circular buffer size. 9 years ago
Damien George 0d9b450701 stmhal: Make uart.write() function correctly for timeout=0. 9 years ago
Ryan Shaw f99491cbf7 stmhal: uart.any() function now returns number of bytes available. 9 years ago
Dave Hylands 364bb61df3 stmhal: Allow make DEBUG=1 to build 9 years ago
Dave Curtis 32b3549cce stmhal: Add symbolic #defines for interrupt levels in irq.h. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Paul Sokolovsky bedab235f9 stmhal/uart: If char is not received within timeout, return EAGAIN error. 9 years ago
Dave Hylands 8f59bacb92 stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 9 years ago
Damien George 751485fe6b stmhal: Add support for USART1 and conditional pins in make-pins.py. 9 years ago
Damien George a632037866 stmhal: Add better support for UART having Tx and Rx on different ports. 9 years ago
Damien George 0851751615 stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. 9 years ago
Dave Hylands 92d4b51ad5 stmhal: Add STM32F7DISC and associated changes. 9 years ago
Dave Hylands 3ac2d06bd1 stmhal: Add support for UART5 10 years ago
Damien George 1775b65e07 stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. 10 years ago
Eero af Heurlin 2378be4e93 stmhal: Allow to configure UART pins completely via mpconfigboard.h. 10 years ago
Damien George 8892f71dd0 stmhal: Exclude code for UARTs that don't exist in hardware. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 77fc276c08 stmhal: For UART, check that baudrate is within 5% of desired value. 10 years ago
Damien George baafb290ad stmhal: Add uart.sendbreak() method, to send a break condition. 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
Paul Sokolovsky f4a6a577ab stream: Convert .ioctl() to take fixed number of args. 10 years ago
Damien George 4029f51842 stmhal: Fix UART so bits counts number of data bits, not incl parity. 10 years ago
Damien George 4ef67d30f1 stmhal: Implement support for RTS/CTS hardware flow control in UART. 10 years ago
Damien George e294bee45b stmhal: Use stream's readinto. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 10 years ago
Damien George 481d714bd5 stmhal: Overhaul UART class to use read/write, and improve it. 10 years ago
Damien George 5fc6aa8100 stmhal: Set is_enabled=false when creating UART object; fix doc typo. 10 years ago
Damien George 5c00757a5c stmhal: uart ioctl uses EINVAL, and checks TXE bit for write-ability. 10 years ago
Damien George e2a618615d stmhal: Fix modselect so non-hashable objects can be polled. 10 years ago
Damien George a2f55fe12b stmhal: Add polling ability to UART object. 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 951ed9d02f stmhal: Fix REPL printing by cooking output sent to stdout_obj. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago