QSPI flash fixes

We had the pin names swapped on the schematic and a different flash was populated.

Signed-off-by: Michael Welling <mwelling@ieee.org>
This commit is contained in:
Michael Welling 2020-02-01 17:23:35 -08:00
parent 3aed0a1fd7
commit d99c2ffe4f
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@
#define MICROPY_HW_MCU_NAME "nRF52840"
#if QSPI_FLASH_FILESYSTEM
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 22)
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 0)
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 0)
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(0, 22)
#define MICROPY_QSPI_DATA2 NRF_GPIO_PIN_MAP(0, 20)
#define MICROPY_QSPI_DATA3 NRF_GPIO_PIN_MAP(1, 2)
#define MICROPY_QSPI_SCK NRF_GPIO_PIN_MAP(1, 1)

View File

@ -7,4 +7,4 @@ MCU_CHIP = nrf52840
QSPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 1
EXTERNAL_FLASH_DEVICES = "W25Q32JV_IQ"
EXTERNAL_FLASH_DEVICES = "W25Q128JV_SQ"