From fd234a4b8c4c718962217de543dcc6b29c07cc14 Mon Sep 17 00:00:00 2001 From: EricB-ADI <122300463+EricB-ADI@users.noreply.github.com> Date: Mon, 7 Oct 2024 12:57:34 -0500 Subject: [PATCH 1/3] update return docstring for uart init --- Libraries/PeriphDrivers/Include/MAX32665/uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/PeriphDrivers/Include/MAX32665/uart.h b/Libraries/PeriphDrivers/Include/MAX32665/uart.h index 34f34bd54f5..3aa9abcbe9d 100644 --- a/Libraries/PeriphDrivers/Include/MAX32665/uart.h +++ b/Libraries/PeriphDrivers/Include/MAX32665/uart.h @@ -157,7 +157,7 @@ struct _mxc_uart_req_t { * @param map MAP_A or MAP_B uart pins select, Has no effect incase of * MSDK_NO_GPIO_CLK_INIT has been defined. * - * @return If successful, the actual clock frequency is returned. Otherwise, see + * @return E_NO_ERROR if successful, the actual clock frequency is returned. Otherwise, see * \ref MXC_Error_Codes for a list of return codes. */ int MXC_UART_Init(mxc_uart_regs_t *uart, unsigned int baud, sys_map_t map); From 40bc2e6be52eebe91c71e5519446a79df8a799d0 Mon Sep 17 00:00:00 2001 From: EricB-ADI <122300463+EricB-ADI@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:08:10 -0500 Subject: [PATCH 2/3] fixed supply rail definition of pb on max32690 FTHR --- Libraries/Boards/MAX32690/FTHR/Source/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Boards/MAX32690/FTHR/Source/board.c b/Libraries/Boards/MAX32690/FTHR/Source/board.c index c8c62474926..6ebe35f8b5f 100644 --- a/Libraries/Boards/MAX32690/FTHR/Source/board.c +++ b/Libraries/Boards/MAX32690/FTHR/Source/board.c @@ -36,8 +36,8 @@ extern uint32_t SystemCoreClock; // clang-format off const mxc_gpio_cfg_t pb_pin[] = { - { MXC_GPIO1, MXC_GPIO_PIN_14, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIOH, MXC_GPIO_DRVSTR_0 }, - { MXC_GPIO1, MXC_GPIO_PIN_15, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIOH, MXC_GPIO_DRVSTR_0 }, + { MXC_GPIO1, MXC_GPIO_PIN_14, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }, + { MXC_GPIO1, MXC_GPIO_PIN_15, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }, }; const unsigned int num_pbs = (sizeof(pb_pin) / sizeof(mxc_gpio_cfg_t)); From 9dbeb5e1efea1095628d6344c6194b90b04b57fd Mon Sep 17 00:00:00 2001 From: EricB-ADI <122300463+EricB-ADI@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:13:36 -0500 Subject: [PATCH 3/3] Revert "update return docstring for uart init" This reverts commit fd234a4b8c4c718962217de543dcc6b29c07cc14. --- Libraries/PeriphDrivers/Include/MAX32665/uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/PeriphDrivers/Include/MAX32665/uart.h b/Libraries/PeriphDrivers/Include/MAX32665/uart.h index 3aa9abcbe9d..34f34bd54f5 100644 --- a/Libraries/PeriphDrivers/Include/MAX32665/uart.h +++ b/Libraries/PeriphDrivers/Include/MAX32665/uart.h @@ -157,7 +157,7 @@ struct _mxc_uart_req_t { * @param map MAP_A or MAP_B uart pins select, Has no effect incase of * MSDK_NO_GPIO_CLK_INIT has been defined. * - * @return E_NO_ERROR if successful, the actual clock frequency is returned. Otherwise, see + * @return If successful, the actual clock frequency is returned. Otherwise, see * \ref MXC_Error_Codes for a list of return codes. */ int MXC_UART_Init(mxc_uart_regs_t *uart, unsigned int baud, sys_map_t map);