Skip to content

Commit 0e1cda0

Browse files
committed
Fix Adafruit board compile errors.
Former-commit-id: f345c3c
1 parent fdf731f commit 0e1cda0

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

variants/circuitplayground_nrf52840/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ static const uint8_t A9 = PIN_A9 ;
9797
*/
9898
#define PIN_SERIAL1_RX (0)
9999
#define PIN_SERIAL1_TX (1)
100+
#define USB_CDC_DEFAULT_SERIAL 1
100101

101102
/*
102103
* SPI Interfaces

variants/clue_nrf52840/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ static const uint8_t A7 = PIN_A7 ;
9292
*/
9393
#define PIN_SERIAL1_RX (0)
9494
#define PIN_SERIAL1_TX (1)
95+
#define USB_CDC_DEFAULT_SERIAL 1
9596

9697
/*
9798
* SPI Interfaces

variants/feather_nrf52840_express/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ static const uint8_t AREF = PIN_AREF;
9696
*/
9797
#define PIN_SERIAL1_RX (1)
9898
#define PIN_SERIAL1_TX (0)
99+
#define USB_CDC_DEFAULT_SERIAL 1
99100

100101
/*
101102
* SPI Interfaces

variants/feather_nrf52840_sense/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ static const uint8_t AREF = PIN_AREF;
100100
*/
101101
#define PIN_SERIAL1_RX (1)
102102
#define PIN_SERIAL1_TX (0)
103+
#define USB_CDC_DEFAULT_SERIAL 1
103104

104105
/*
105106
* SPI Interfaces

variants/itsybitsy_nrf52840_express/variant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static const uint8_t A6 = PIN_A6 ;
9191
*/
9292
#define PIN_SERIAL1_RX (0)
9393
#define PIN_SERIAL1_TX (1)
94+
#define USB_CDC_DEFAULT_SERIAL 1
9495

9596
/*
9697
* SPI Interfaces

0 commit comments

Comments
 (0)