summaryrefslogtreecommitdiff
path: root/ports/nrf
diff options
context:
space:
mode:
authorsabas1080 <sabasjimenez@gmail.com>2020-12-20 14:57:10 -0600
committersabas1080 <sabasjimenez@gmail.com>2020-12-20 14:57:10 -0600
commitbd3c5c33fb0d49f420410e3a949a093d235db81c (patch)
tree2f3cb5b1587522a6c7ee50a8a8bc98f7ed91800f /ports/nrf
parent88b1e2fe61d68c4a4d2ef9e48147c20a929e779e (diff)
define QSPI pinout
Diffstat (limited to 'ports/nrf')
-rw-r--r--ports/nrf/boards/bastble/mpconfigboard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/nrf/boards/bastble/mpconfigboard.h b/ports/nrf/boards/bastble/mpconfigboard.h
index 67a62e915..e36227c6b 100644
--- a/ports/nrf/boards/bastble/mpconfigboard.h
+++ b/ports/nrf/boards/bastble/mpconfigboard.h
@@ -5,6 +5,15 @@
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
+#if QSPI_FLASH_FILESYSTEM
+#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 30)
+#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(0, 29)
+#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(0, 28)
+#define MICROPY_QSPI_DATA3 NRF_GPIO_PIN_MAP(0, 2)
+#define MICROPY_QSPI_SCK NRF_GPIO_PIN_MAP(0, 3)
+#define MICROPY_QSPI_CS NRF_GPIO_PIN_MAP(0, 26)
+#endif
+
#define DEFAULT_I2C_BUS_SCL (&pin_P1_10)
#define DEFAULT_I2C_BUS_SDA (&pin_P1_11)