We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612ea67 commit 7538026Copy full SHA for 7538026
drivers/flash/flash_stm32_xspi.c
@@ -2163,6 +2163,7 @@ static int flash_stm32_xspi_init(const struct device *dev)
2163
2164
#endif /* XSPIM */
2165
2166
+#if defined(XSPI_DCR1_DLYBYP)
2167
#if defined(DLYB_XSPI1) || defined(DLYB_XSPI2) || defined(DLYB_OCTOSPI1) || defined(DLYB_OCTOSPI2)
2168
/* XSPI delay block init Function */
2169
HAL_XSPI_DLYB_CfgTypeDef xspi_delay_block_cfg = {0};
@@ -2178,6 +2179,7 @@ static int flash_stm32_xspi_init(const struct device *dev)
2178
2179
2180
LOG_DBG("Delay Block Init");
2181
#endif /* DLYB_ */
2182
+#endif /* XSPI_DCR1_DLYBYP */
2183
2184
#if STM32_XSPI_USE_DMA
2185
/* Configure and enable the DMA channels after XSPI config */
0 commit comments