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

feat(PeriphDrivers): Add Ability to Set UART Pin Mapping for MAX32672 #783

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

Jake-Carter
Copy link
Contributor

@Jake-Carter Jake-Carter commented Oct 25, 2023

Description

Closes #733

Adds MXC_UART_SetPinMapping and MXC_UART_GetPinMapping for the MAX32672, and pin definitions to pins_me21.c.

Setter should be called before UART_Init...

MXC_UART_SetPinMapping(MXC_UART0, MAP_B);
MXC_UART_Init(MXC_UART0, ...);
// ...

Also fixed UART2A mapping being incorrect. It was pointing to UART2B...

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@github-actions github-actions bot added the MAX32672 Related to the MAX32672 (ME21) label Oct 25, 2023
@sihyung-maxim
Copy link
Contributor

Merge from main, should fix the Verify Register/SVD workflow.

@Jake-Carter Jake-Carter merged commit 182932b into analogdevicesinc:main Nov 2, 2023
10 of 12 checks passed
@Jake-Carter Jake-Carter deleted the fix/gh-733 branch November 2, 2023 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32672 Related to the MAX32672 (ME21)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAX32672 Missing UART Mapping Functionality
3 participants