Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fix hang on usart read overrun.

This is improved on the previous patch: if we get an ORE without
RXNE when we don't write a junk byte to our buffer.  It also avoids
the strange-looking blind read.

See issue #107 for more info.

Signed-off-by: Joseph Birr-Pixton <jpixton@gmail.com>
latest commit e1314f6466
@ctz ctz authored
..
Failed to load latest commit information.
include/libmaple nvic.h: silence some GCC inline warnings
stm32f1 stm32f1: gpio.h: silence yet more __always_inline warnings
stm32f2-f4 stm32f2-f4: refactor <series/stm32.h>
usb libmaple/usb/stm32f1/usb.c: cosmetics.
adc.c Add some missing LeafLabs copyright notices.
dac.c Bring back libmaple/dac.h.
dma.c DMA: prep for F2 with new "tube" API.
dma_private.h Revert "always clear ISR DMA bit before even calling handler"
exc.S comment fix
exti.c exti.c: Use exti_num enumerators instead of magic values.
exti_private.h Bring back EXTI on F1, with deprecations for gpio.h on F1.
flash.c Add some missing LeafLabs copyright notices.
gpio.c Add some missing LeafLabs copyright notices.
i2c.c Revert "- tx and rx callbacks for each module"
i2c_private.h i2c_dev: deprecate .gpio_port.
iwdg.c Fix a bunch of Doxygen file-level comments.
nvic.c Add some missing LeafLabs copyright notices.
pwr.c Fix a bunch of Doxygen file-level comments.
rcc.c libmaple/rcc.c: Fix typo.
rcc_private.h RCC: Break out some portable functionality from stm32f1/.
rules.mk I2C: Restore on F1, refactoring prep for F2.
spi.c libmaple/spi: Fixups, move nonportable bits into libmaple/stm32f1.
spi_private.h Bring back <libmaple/spi.h>.
stm32_private.h Add stm32_private.h.
systick.c Add some missing LeafLabs copyright notices.
timer.c libmaple/timer.c: Sync enable_irq() declaration with it's definition
timer_private.h Tweak some timer_private APIs.
usart.c Add some missing LeafLabs copyright notices.
usart_private.c libmaple/usart_private.c: Add missing include.
usart_private.h Fix hang on usart read overrun.
util.c Add some missing LeafLabs copyright notices.
Something went wrong with that request. Please try again.