diff --git a/targets/TARGET_STM/TARGET_STM32G4/objects.h b/targets/TARGET_STM/TARGET_STM32G4/objects.h index 201d6671dd..647c45253d 100644 --- a/targets/TARGET_STM/TARGET_STM32G4/objects.h +++ b/targets/TARGET_STM/TARGET_STM32G4/objects.h @@ -155,6 +155,19 @@ struct trng_s { RNG_HandleTypeDef handle; }; +#if DEVICE_QSPI +struct qspi_s { + QSPI_HandleTypeDef handle; + QSPIName qspi; + PinName io0; + PinName io1; + PinName io2; + PinName io3; + PinName sclk; + PinName ssel; +}; +#endif + //#include "common_objects.h" #include "gpio_object.h"