Skip to content

Commit

Permalink
Add configuration for MGM210L
Browse files Browse the repository at this point in the history
  • Loading branch information
lienbacher committed Feb 18, 2024
1 parent 6ce4f0c commit ac70e08
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
--- a/config/sl_uartdrv_usart_vcom_config.h 2023-03-16 01:55:55.270307126 +0100
+++ b/config/sl_uartdrv_usart_vcom_config.h 2023-03-16 02:00:15.095622384 +0100
@@ -76,21 +76,21 @@
// <<< sl:start pin_tool >>>
// <usart signal=TX,RX,(CTS),(RTS)> SL_UARTDRV_USART_VCOM
// $[USART_SL_UARTDRV_USART_VCOM]
-#warning "UARTDRV USART peripheral not configured"
-// #define SL_UARTDRV_USART_VCOM_PERIPHERAL USART0
-// #define SL_UARTDRV_USART_VCOM_PERIPHERAL_NO 0
+// #warning "UARTDRV USART peripheral not configured"
+#define SL_UARTDRV_USART_VCOM_PERIPHERAL USART0
+#define SL_UARTDRV_USART_VCOM_PERIPHERAL_NO 0

-// #define SL_UARTDRV_USART_VCOM_TX_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_TX_PIN 0
+#define SL_UARTDRV_USART_VCOM_TX_PORT gpioPortC
+#define SL_UARTDRV_USART_VCOM_TX_PIN 0

-// #define SL_UARTDRV_USART_VCOM_RX_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_RX_PIN 1
+#define SL_UARTDRV_USART_VCOM_RX_PORT gpioPortC
+#define SL_UARTDRV_USART_VCOM_RX_PIN 1

-// #define SL_UARTDRV_USART_VCOM_CTS_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_CTS_PIN 2
+//#define SL_UARTDRV_USART_VCOM_CTS_PORT gpioPortC
+//#define SL_UARTDRV_USART_VCOM_CTS_PIN 3

-// #define SL_UARTDRV_USART_VCOM_RTS_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_RTS_PIN 3
+//#define SL_UARTDRV_USART_VCOM_RTS_PORT gpioPortC
+//#define SL_UARTDRV_USART_VCOM_RTS_PIN 2
// [USART_SL_UARTDRV_USART_VCOM]$
// <<< sl:end pin_tool >>>

5 changes: 5 additions & 0 deletions manifests/mgm210l.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "MGM210L",
"target": "mgm210l",
"device": "MGM210LA22JIF"
}

0 comments on commit ac70e08

Please sign in to comment.