Skip to content

PSOC6: fix port_write API #9775

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

Merged
merged 1 commit into from
Feb 20, 2019
Merged

PSOC6: fix port_write API #9775

merged 1 commit into from
Feb 20, 2019

Conversation

vmedcy
Copy link
Contributor

@vmedcy vmedcy commented Feb 20, 2019

Description

Fix port_write API to correctly shift the passed value.
This allows the reference application provided in PortOut docs
to work corectly with arbitrary LED_MASK.
https://os.mbed.com/docs/mbed-os/v5.11/apis/portout.html

The fix applies to both PSOC6 and PSOC6_FUTURE HAL implementations.

Pull request type

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

Reviewers

@lrusinowicz

Release Notes

Fix port_write API to correctly shift the passed value.
This allows the reference application provided in PortOut docs
to work corectly with arbitrary LED_MASK.
https://os.mbed.com/docs/mbed-os/v5.11/apis/portout.html

The fix applies to both PSOC6 and PSOC6_FUTURE HAL implementations.
@vmedcy
Copy link
Contributor Author

vmedcy commented Feb 20, 2019

@lrusinowicz: targets/TARGET_Cypress is in temporary state when fixes like this needs to be applied to both TARGET_PSOC6 and TARGET_PSOC6_FUTURE. Please approve d49e2ab#diff-69c6afc669c8a3a9241059b61c2af1e7 update.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 20, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 20, 2019

Test run: SUCCESS

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

@cmonr cmonr merged commit fded363 into ARMmbed:master Feb 20, 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.

4 participants