Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flush ESP8266 serial input buffers after HW reset #9341

Merged
merged 1 commit into from
Jan 14, 2019

Conversation

SeppoTakalo
Copy link
Contributor

Description

Flush ESP8266 serial input buffers after HW reset.

Without flushing the input buffers, there was a sight change that partially outputted lines were already in UARTSerial buffers, causing some wrong OOB handlers to be called and leading to parsing failures.

Problem reported in https://jira.arm.com/browse/ONME-4120

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@VeijoPesonen @michalpasztamobica

@NirSonnenschein
Copy link
Contributor

starting CI

@mbed-ci
Copy link

mbed-ci commented Jan 13, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit 23d7565 into ARMmbed:master Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants