Skip to content

Commit c37cd51

Browse files
authored
Merge pull request #15239 from pilotak/master
STM32G4: enable QSPI for custom boards
2 parents dcb71e2 + 5c2f103 commit c37cd51

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

targets/TARGET_STM/TARGET_STM32G4/objects.h

+13
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,19 @@ struct trng_s {
155155
RNG_HandleTypeDef handle;
156156
};
157157

158+
#if DEVICE_QSPI
159+
struct qspi_s {
160+
QSPI_HandleTypeDef handle;
161+
QSPIName qspi;
162+
PinName io0;
163+
PinName io1;
164+
PinName io2;
165+
PinName io3;
166+
PinName sclk;
167+
PinName ssel;
168+
};
169+
#endif
170+
158171
//#include "common_objects.h"
159172
#include "gpio_object.h"
160173

0 commit comments

Comments
 (0)