Skip to content

Commit 0ce2527

Browse files
committed
[ASME] Fix to match arduino/ArduinoCore-samd#24
1 parent 03beade commit 0ce2527

File tree

1 file changed

+6
-0
lines changed
  • hardware/AMEL/samd/variants/AMEL_SmartEverything

1 file changed

+6
-0
lines changed

hardware/AMEL/samd/variants/AMEL_SmartEverything/variant.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ static const uint8_t A5 = PIN_A5 ;
160160
#define PIN_SPI_MISO (22u)
161161
#define PIN_SPI_MOSI (23u)
162162
#define PIN_SPI_SCK (24u)
163+
#define PERIPH_SPI sercom4
164+
#define PAD_SPI_TX SPI_PAD_2_SCK_3
165+
#define PAD_SPI_RX SERCOM_RX_PAD_0
166+
163167
#define PIN_SPI_SS (25u)
164168

165169
static const uint8_t SS = PIN_SPI_SS ;
@@ -174,6 +178,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
174178

175179
#define PIN_WIRE_SDA (20u)
176180
#define PIN_WIRE_SCL (21u)
181+
#define PERIPH_WIRE sercom3
182+
#define WIRE_IT_HANDLER SERCOM3_Handler
177183

178184
/*
179185
* USB

0 commit comments

Comments
 (0)