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

Fix for pwmout & serial fuart in TMPM46B #8239

Merged
merged 1 commit into from Oct 8, 2018
Merged

Fix for pwmout & serial fuart in TMPM46B #8239

merged 1 commit into from Oct 8, 2018

Conversation

ghost
Copy link

@ghost ghost commented Sep 25, 2018

Description

Fix pwmout clock frequency to handle 560ms pulse width with varying duty cycle
Fix to return correct serial from pinmap_peripheral() if more than one serial have same CTS pin

Greentea test for IAR toolchain is attached.
M46B_IAR_Greentea_Test_Results.txt

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change

pwmout:
Used SystemCoreClock

Serial fuart:
SERIAL_5 & SERIAL_3 have same CTS pin (PA7), only function register is different (4 & 2).
pinmap_peripheral() will always return first match from the map.
Hence changed as, if SERIAL_5 is used, then pinmap_peripheral() should return SERIAL_5 (function register 2 to be set).
@NirSonnenschein
Copy link
Contributor

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 7, 2018

Build : SUCCESS

Build number : 3266
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8239/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Oct 7, 2018

@mbed-ci
Copy link

mbed-ci commented Oct 7, 2018

@cmonr cmonr merged commit 8aa65fa into ARMmbed:master Oct 8, 2018
@ghost ghost deleted the m46b_pwmout_serial-fuart branch October 9, 2018 05:21
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