get qspi work with Feather nrf52840

This commit is contained in:
hathach committed 2019-04-17 13:25:00 +07:00
1 parent 6cb638ca8f
commit 523dee3ba9
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
}
+3 -1
View File
@@ -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