Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit433f4fe

Browse files
zfieldsfpistm
authored andcommitted
feat: Name Swan Virtual COM Port pins
1 parent5818d75 commit433f4fe

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
#defineTIMER_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+
#ifndefPIN_SERIAL_VCP_RX
229+
#definePIN_SERIAL_VCP_RX PG8
230+
#endif
231+
#ifndefPIN_SERIAL_VCP_TX
232+
#definePIN_SERIAL_VCP_TX PG7
233+
#endif
234+
225235
// UART Definitions
226236
#ifndefSERIAL_UART_INSTANCE
227237
#defineSERIAL_UART_INSTANCE 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp