From ca56810321b878fdfbf0b6686af0e8167468a883 Mon Sep 17 00:00:00 2001 From: James Munns Date: Wed, 26 Nov 2025 19:07:37 +0100 Subject: Add LPUART5 pin mappings (#53) Closes #48. --- src/lpuart/mod.rs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lpuart/mod.rs b/src/lpuart/mod.rs index 911c2a8e9..317274a79 100644 --- a/src/lpuart/mod.rs +++ b/src/lpuart/mod.rs @@ -517,9 +517,17 @@ impl_rts_pin!(LPUART4, P3_16, Mux2); impl_rts_pin!(LPUART4, P3_30, Mux3); // LPUART 5 -// -// TODO: The datasheet doesn't list tx/rx/cts/rts pins for LPUART5 -// See https://github.com/OpenDevicePartnership/embassy-mcxa/issues/48 +impl_tx_pin!(LPUART5, P1_10, Mux8); +impl_tx_pin!(LPUART5, P1_17, Mux8); + +impl_rx_pin!(LPUART5, P1_11, Mux8); +impl_rx_pin!(LPUART5, P1_16, Mux8); + +impl_cts_pin!(LPUART5, P1_12, Mux8); +impl_cts_pin!(LPUART5, P1_19, Mux8); + +impl_rts_pin!(LPUART5, P1_13, Mux8); +impl_rts_pin!(LPUART5, P1_18, Mux8); // ============================================================================ // ERROR TYPES AND RESULTS -- cgit