Skip to content

Commit c826514

Browse files
committed
Adds pin description for FLASH_MISO pin on teh Redboard Turbo, updates the number of pins in the variant.h file
1 parent f8f4c16 commit c826514

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: sparkfun/samd/variants/SparkFun_RedBoard_Turbo/variant.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ const PinDescription g_APinDescription[]=
198198

199199
// 44 - RGB LED
200200
{ PORTA, 30, PIO_DIGITAL, (PIN_ATTR_DIGITAL), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE } // 44: RGB LED
201+
202+
//45
203+
{ PORTB, 3, PIO_SERCOM_ALT, PIN_ATTR_NONE, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE }, // 31/RX: SERCOM5/PAD[3]
204+
201205
} ;
202206

203207
const void* g_apTCInstances[TCC_INST_NUM+TC_INST_NUM]={ TCC0, TCC1, TCC2, TC3, TC4, TC5 } ;

Diff for: sparkfun/samd/variants/SparkFun_RedBoard_Turbo/variant.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ extern "C"
5353
*----------------------------------------------------------------------------*/
5454

5555
// Number of pins defined in PinDescription array
56-
#define PINS_COUNT (26u)
56+
#define PINS_COUNT (45u)
5757
#define NUM_DIGITAL_PINS (20u)
5858
#define NUM_ANALOG_INPUTS (6u)
5959
#define NUM_ANALOG_OUTPUTS (1u)

0 commit comments

Comments
 (0)