get qspi work with Feather nrf52840
This commit is contained in:
14 files changed
+105
-135
No files matched your search
@@ -78,9 +78,7 @@ void initVariant()
|
||||
pinMode(PIN_LED2, OUTPUT);
|
||||
ledOff(PIN_LED2);
|
||||
|
||||
#if 0 // disable QSPI flash for now
|
||||
// Init External Flash
|
||||
flash_qspi_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -133,9 +133,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
|
||||
#define PIN_QSPI_DATA3 32
|
||||
|
||||
// On-board QSPI Flash
|
||||
// If EXTERNAL_FLASH_DEVICES is not defined, all supported devices will be used
|
||||
#define EXTERNAL_FLASH_DEVICES GD25Q16C
|
||||
|
||||
#define USB_MSC_BLOCK_SIZE 512
|
||||
#define USB_MSC_BLOCK_COUNT ((2*1024*1024) / USB_MSC_BLOCK_SIZE)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user