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];
70
70
71
71
72
72
// 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 )
79
79
80
80
81
81
static uint32_t gen_flash_address ()
You can’t perform that action at this time.
0 commit comments