Skip to content

Conversation

amitchone
Copy link
Contributor

@amitchone amitchone commented Nov 12, 2019

Description (required)

Pins PB_6 and PB_7 had incorrect PinMap_UART_TX/RX definitions. Attempting to initialise a Serial object using these pins ultimately led to vastly increased power consumption (by ~40mA with target default clock settings) and a UART that didn't work.

This pull request stems from this issue.

Summary of change (What the change is for and why)

To correct pins PB_6 and PB_7 Serial PinMap.

Documentation (Details of any document updates required)

Pull request type (required)

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

Test results (required)

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

Reviewers (optional)

@kjbracey-arm


Release Notes (required for feature/major PRs)

Summary of changes
Impact of changes
Migration actions required

Copy link
Collaborator

@jeromecoutant jeromecoutant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code correct in TARGET_DISCO_L072CZ_LRWAN1

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 13, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2019

Test run: SUCCESS

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

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.

5 participants