Skip to content

Commit e54988f

Browse files
authored
Merge pull request #29 from pennam/qspi-init-cleanup
Cleanup: remove ArduinoCore-mbed backward compatible QSPI flash initialization
2 parents a8fee68 + 51635f5 commit e54988f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Arduino_Portenta_OTA_QSPI.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ Arduino_Portenta_OTA_QSPI::Arduino_Portenta_OTA_QSPI(StorageTypePortenta const s
4646

4747
bool Arduino_Portenta_OTA_QSPI::init()
4848
{
49-
#if defined (COMPONENT_4343W_FS)
5049
_bd_raw_qspi = mbed::BlockDevice::get_default_instance();
51-
#else
52-
_bd_raw_qspi = new QSPIFBlockDevice(PD_11, PD_12, PF_7, PD_13, PF_10, PG_6, QSPIF_POLARITY_MODE_1, 40000000);
53-
#endif
5450
if (_bd_raw_qspi->init() != QSPIF_BD_ERROR_OK) {
5551
Serial1.println("Error: QSPI init failure.");
5652
return false;

0 commit comments

Comments
 (0)