Skip to content

Commit bd3c5c3

Browse files
committed
define QSPI pinout
1 parent 88b1e2f commit bd3c5c3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ports/nrf/boards/bastble/mpconfigboard.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55

66
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
77

8+
#if QSPI_FLASH_FILESYSTEM
9+
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 30)
10+
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(0, 29)
11+
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(0, 28)
12+
#define MICROPY_QSPI_DATA3 NRF_GPIO_PIN_MAP(0, 2)
13+
#define MICROPY_QSPI_SCK NRF_GPIO_PIN_MAP(0, 3)
14+
#define MICROPY_QSPI_CS NRF_GPIO_PIN_MAP(0, 26)
15+
#endif
16+
817
#define DEFAULT_I2C_BUS_SCL (&pin_P1_10)
918
#define DEFAULT_I2C_BUS_SDA (&pin_P1_11)
1019

0 commit comments

Comments
 (0)