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

CLI does not have necessary defines for MAX32665/32666 #1177

Open
JordanAceto opened this issue Sep 13, 2024 · 1 comment
Open

CLI does not have necessary defines for MAX32665/32666 #1177

JordanAceto opened this issue Sep 13, 2024 · 1 comment

Comments

@JordanAceto
Copy link

The CLI lib seems to be missing the defines to call the correct MXC_UART_Init(...) function, near the top of cli.c:

// Macro to call MXC_UART_Init function with appropriate parameters

We manually edited the #if chain to choose the definition #define UART_INIT(uart) MXC_UART_Init(uart, UART_BAUD, MAP_A) when (TARGET_NUM == 32665) and did get a basic CLI app working.

Is there any other reason for the CLI to be excluded from the MAX32665/6, or is this just an oversight?

Thank you

@Jake-Carter
Copy link
Contributor

Hi @JordanAceto, just an oversight! The CLI should be fully compatible with any micro that's got a UART interface.

Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants