Skip to content

Commit f7c0f6f

Browse files
committed
[Generic_F4x5RG] Define Serial UART instance
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 088081d commit f7c0f6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

variants/Generic_F4x5RG/variant.h

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ extern "C" {
106106
#define TIMER_TONE TIM6
107107
#define TIMER_SERVO TIM7
108108

109+
// UART Definitions
110+
// Define here Serial instance number to map on Serial generic name
111+
#define SERIAL_UART_INSTANCE 2
112+
109113
// Default pin used for 'Serial' instance
110114
// Mandatory for Firmata
111115
#define PIN_SERIAL_RX PA3

0 commit comments

Comments
 (0)