Skip to content

Commit 433f4fe

Browse files
zfieldsfpistm
authored andcommitted
feat: Name Swan Virtual COM Port pins
1 parent 5818d75 commit 433f4fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/variant_SWAN_R5.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@
222222
#define TIMER_SERVO TIM7
223223
#endif
224224

225+
// Pin used for Virtual COM Port
226+
// Note that a developer would add this to their Arduino project:
227+
// HardwareSerial SerialVCP(PIN_SERIAL_VCP_RX, PIN_SERIAL_VCP_TX);
228+
#ifndef PIN_SERIAL_VCP_RX
229+
#define PIN_SERIAL_VCP_RX PG8
230+
#endif
231+
#ifndef PIN_SERIAL_VCP_TX
232+
#define PIN_SERIAL_VCP_TX PG7
233+
#endif
234+
225235
// UART Definitions
226236
#ifndef SERIAL_UART_INSTANCE
227237
#define SERIAL_UART_INSTANCE 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy