Skip to content

Commit 9d44543

Browse files
committed
update pins
1 parent 019494c commit 9d44543

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/boards/moddable_xiao/board.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
/* LED
3232
*------------------------------------------------------------------*/
3333
#define LEDS_NUMBER 2
34-
#define LED_PRIMARY_PIN 13
35-
#define LED_SECONDARY_PIN 14
36-
#define LED_STATE_ON 0
34+
#define LED_PRIMARY_PIN 26
35+
#define LED_SECONDARY_PIN 6
36+
#define LED_STATE_ON 1
3737

3838
/*------------------------------------------------------------------*/
3939
/* BUTTON
4040
*------------------------------------------------------------------*/
4141
#define BUTTONS_NUMBER 2
42-
#define BUTTON_1 11
43-
#define BUTTON_2 12
42+
#define BUTTON_1 3
43+
#define BUTTON_2 6
4444
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4545

4646
/*------------------------------------------------------------------*/
@@ -51,12 +51,12 @@
5151
#define USE_QSPI 0
5252
#define USE_DFU_UART 0
5353

54-
#define QSPI_SCK_PIN NRF_GPIO_PIN_MAP(1,1)
55-
#define QSPI_CSN_PIN NRF_GPIO_PIN_MAP(1,2)
56-
#define QSPI_IO0_PIN NRF_GPIO_PIN_MAP(1,3)
57-
#define QSPI_IO1_PIN NRF_GPIO_PIN_MAP(1,4)
58-
#define QSPI_IO2_PIN NRF_GPIO_PIN_MAP(1,5)
59-
#define QSPI_IO3_PIN NRF_GPIO_PIN_MAP(1,6)
54+
#define QSPI_SCK_PIN 21
55+
#define QSPI_CSN_PIN 25
56+
#define QSPI_IO0_PIN 20
57+
#define QSPI_IO1_PIN 24
58+
#define QSPI_IO2_PIN 22
59+
#define QSPI_IO3_PIN 23
6060

6161
#define QSPI_XIP_START_ADDR 0x12000000
6262

0 commit comments

Comments
 (0)