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

Add BufferedSerial class to replace UARTSerial #12207

Merged
merged 3 commits into from
Jan 16, 2020

Conversation

hugueskamba
Copy link
Collaborator

Summary of changes

Implement the BufferedSerial class to replace UARTSerial. BufferedSerial is UARTSerial renamed to convey the original purpose of the class. Also remove usage of UARTSerial in Mbed OS Core diretories

Impact of changes

Migration actions required

Documentation


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[X] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[X] Tests supplied as part of this PR

Reviewers

@evedon @kjbracey-arm


@ciarmcom
Copy link
Member

ciarmcom commented Jan 8, 2020

@hugueskamba, thank you for your changes.
@kjbracey-arm @evedon @ARMmbed/mbed-os-maintainers @ARMmbed/mbed-os-test @ARMmbed/mbed-os-core please review.

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 8, 2020

Please review astyle failures

0xc0170
0xc0170 previously requested changes Jan 8, 2020
drivers/source/BufferedSerial.cpp Outdated Show resolved Hide resolved
drivers/source/BufferedSerial.cpp Show resolved Hide resolved
drivers/BufferedSerial.h Outdated Show resolved Hide resolved
drivers/BufferedSerial.h Show resolved Hide resolved
@hugueskamba
Copy link
Collaborator Author

Please review astyle failures

Done.

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2020

scheduled first CI job, there are few other PRs depending on this one. Please review

@mbed-ci
Copy link

mbed-ci commented Jan 9, 2020

Test run: SUCCESS

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

drivers/BufferedSerial.h Outdated Show resolved Hide resolved
drivers/BufferedSerial.h Show resolved Hide resolved
drivers/source/BufferedSerial.cpp Show resolved Hide resolved
drivers/source/BufferedSerial.cpp Outdated Show resolved Hide resolved
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class.
Replace with BufferedSerial as UARTSerial has been deprecated.
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 15, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 15, 2020

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 15, 2020

One target io serial error, restarted tests

@0xc0170 0xc0170 requested a review from bulislaw January 15, 2020 14:28
@0xc0170 0xc0170 added release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0 needs: review and removed needs: CI labels Jan 15, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 15, 2020

@bulislaw @kjbracey-arm Please review, CI passed for the latest update

@adbridge
Copy link
Contributor

@hugueskamba shouldn't there be documentation changes to go along with this ?
@bulislaw @0xc0170 this is adding and removing APIs so should this be a breaking change ?

@hugueskamba
Copy link
Collaborator Author

hugueskamba commented Feb 17, 2020

@hugueskamba shouldn't there be documentation changes to go along with this ?

The documentation is currently being reviewed.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 17, 2020

@bulislaw @0xc0170 this is adding and removing APIs so should this be a breaking change ?

I've checked, this only deprecates the older object, it should be backward compatible. However, release notes should be added for this feature update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants