32 Commits (be4e5b1f872c29b5a3a64397e5ec50d2b0880382)

Author SHA1 Message Date
Damien George f334816df0 stm32/uart: Make sure user IRQs are handled even with a keyboard intr. 6 years ago
Damien George 7bdbea9a0c stm32/uart: Clear overrun error flag after reading RX data register. 6 years ago
Damien George 0d860fdcd0 stm32/uart: Always enable global UART IRQ handler on init. 6 years ago
Damien George a5f7a3022d stm32/uart: Fix uart_rx_any in case of no buffer to return 0 or 1. 6 years ago
Tobias Badertscher 372e7a4dc6 stm32: Implement UART.irq() method with initial support for RX idle IRQ. 6 years ago
Damien George dc23978dde stm32/uart: Add ability to have a static built-in UART object. 6 years ago
Damien George 61ef031687 stm32/uart: Move config of char_width/char_mask to uart.c. 6 years ago
Damien George 6ea45277bf stm32/uart: For UART init, pass in params directly, not via HAL struct. 6 years ago
Damien George e0c2432503 stm32/uart: Simplify deinit of UART, no need to call HAL. 6 years ago
Damien George bc3f0dddac stm32/uart: Remove HAL's UART_HandleTypeDef from UART object struct. 6 years ago
Damien George 7d7f59d78b stm32/uart: Factor out code to set RX buffer to function uart_set_rxbuf. 6 years ago
Damien George 9690757cca stm32/uart: Rework uart_get_baudrate so it doesn't need a UART handle. 6 years ago
Damien George 524e13b006 stm32/uart: Factor out code from machine_uart.c that computes baudrate. 6 years ago
Damien George a2271532be stm32: Split out UART Python bindings from uart.c to machine_uart.c. 6 years ago
Damien George 8007d0bd16 stm32/uart: Add rxbuf keyword arg to UART constructor and init method. 6 years ago
Damien George 9262f54138 stm32/uart: Always show the flow setting when printing a UART object. 6 years ago
Damien George cdc01408c7 stm32/uart: Add support for USART3-8 on F0 MCUs. 6 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George ea7e747979 stm32: Add support for STM32F0 MCUs. 7 years ago
Damien George a03e6c1e05 stm32/irq: Define IRQ priorities directly as encoded hardware values. 7 years ago
Damien George a60efa8202 stm32/uart: Allow ctrl-C to work with UARTs put on REPL via os.dupterm. 7 years ago
Damien George 513e537215 stm32/uart: Allow ctrl-C to issue keyboard intr when REPL is over UART. 7 years ago
Damien George 2dca693c24 stm32: Change pin_X and pyb_pin_X identifiers to be pointers to objects. 7 years ago
Damien George 6b51eb22c8 stm32: Consolidate include of genhdr/pins.h to single location in pin.h. 7 years ago
Damien George e37b8ba5a5 stm32: Use STM32xx macros instead of MCU_SERIES_xx to select MCU type. 7 years ago
iabdalkader b982b95c18 stm32/uart: Add UART support for H7 MCUs. 7 years ago
Damien George 3eb0694b97 stm32: Update HAL macro and constant names to use newer versions. 7 years ago
Damien George d32417c096 stm32/uart: Support board configs with CTS/RTS on UART6. 7 years ago
Peter D. Gray 7a46d9ae73 stm32/uart: Add support for 7-bit modes: 7N1 and 7N2. 7 years ago
Damien George 0eb333e3cf stm32/mphalport: Improve efficiency of mp_hal_stdout_tx_strn_cooked. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 7 years ago
Damien George 2bf5a947b2 stmhal: Make error messages more consistent across peripherals. 8 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 8400351d5a stmhal: Use MICROPY_EVENT_POLL_HOOK instead of __WFI where appropriate. 8 years ago
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