File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ uint8_t rx_buf[DATA_SIZE_1024];
7070
7171
7272// some target defines QSPI pins as integers thus conversion needed
73- #define QPIN_0 static_cast <PinName>(QSPI_FLASH1_IO0 )
74- #define QPIN_1 static_cast <PinName>(QSPI_FLASH1_IO1 )
75- #define QPIN_2 static_cast <PinName>(QSPI_FLASH1_IO2 )
76- #define QPIN_3 static_cast <PinName>(QSPI_FLASH1_IO3 )
77- #define QSCK static_cast <PinName>(QSPI_FLASH1_SCK )
78- #define QCSN static_cast <PinName>(QSPI_FLASH1_CSN )
73+ #define QPIN_0 static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_IO0 )
74+ #define QPIN_1 static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_IO1 )
75+ #define QPIN_2 static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_IO2 )
76+ #define QPIN_3 static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_IO3 )
77+ #define QSCK static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_SCK )
78+ #define QCSN static_cast <PinName>(MBED_CONF_DRIVERS_QSPI_CSN )
7979
8080
8181static uint32_t gen_flash_address ()
You can’t perform that action at this time.
0 commit comments