msdk
msdk copied to clipboard
CLI does not have necessary defines for MAX32665/32666
The CLI lib seems to be missing the defines to call the correct MXC_UART_Init(...) function, near the top of cli.c:
https://github.com/analogdevicesinc/msdk/blob/5c1a33233865e77368c8c6ca65489a3aadf12b2d/Libraries/CLI/src/cli.c#L50
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
Hi @JordanAceto, just an oversight! The CLI should be fully compatible with any micro that's got a UART interface.
Thanks for reporting