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 @@ -66,12 +66,12 @@ uint8_t rx_buf[DATA_SIZE_1024];
66
66
67
67
68
68
// some target defines QSPI pins as integers thus conversion needed
69
- #define QPIN_0 static_cast <PinName>(QSPI_PIN_IO0 )
70
- #define QPIN_1 static_cast <PinName>(QSPI_PIN_IO1 )
71
- #define QPIN_2 static_cast <PinName>(QSPI_PIN_IO2 )
72
- #define QPIN_3 static_cast <PinName>(QSPI_PIN_IO3 )
73
- #define QSCK static_cast <PinName>(QSPI_PIN_SCK )
74
- #define QCSN static_cast <PinName>(QSPI_PIN_CSN )
69
+ #define QPIN_0 static_cast <PinName>(QSPI_FLASH1_IO0 )
70
+ #define QPIN_1 static_cast <PinName>(QSPI_FLASH1_IO1 )
71
+ #define QPIN_2 static_cast <PinName>(QSPI_FLASH1_IO2 )
72
+ #define QPIN_3 static_cast <PinName>(QSPI_FLASH1_IO3 )
73
+ #define QSCK static_cast <PinName>(QSPI_FLASH1_SCK )
74
+ #define QCSN static_cast <PinName>(QSPI_FLASH1_CSN )
75
75
76
76
77
77
static void log_data (const char *str, uint8_t *data, uint32_t size)
You can’t perform that action at this time.
0 commit comments