Skip to content

Commit 2b35285

Browse files
committed
drivers/falsh: stm32h7: configuration check added
STM32H7 QSPI flash driver do not support DMA. Configuration check added to throw compiler error. Signed-off-by: Raphael Löffel <[email protected]>
1 parent 2b8be2c commit 2b35285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/flash/flash_stm32_qspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ LOG_MODULE_REGISTER(flash_stm32_qspi, CONFIG_FLASH_LOG_LEVEL);
3131

3232
#ifdef CONFIG_SOC_SERIES_STM32H7X
3333
#if DT_NODE_HAS_PROP(DT_NODELABEL(quadspi),dmas)
34-
#error "STM32H7 QSPI flash driver do not suppurt DMA"
34+
#error "STM32H7 QSPI flash driver do not support DMA"
3535
#endif
3636
#endif
3737

0 commit comments

Comments
 (0)