summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-03-16 20:23:23 -0400
committerMeco Man <[email protected]>2024-03-16 23:31:40 -0400
commitb3e073864fcc93d7f4431a3b9be006bc967f5240 (patch)
tree8a0458c4e64dd8c4125ee6660826c809a2ded7f0 /bsp/stm32
parentd7b66c62de755c7a501c35ed4ab6fb96f51f58dd (diff)
[stm32][stm32f103-100ask-pro] fix missing drv_gpio.h in spi_flash_init.c
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c b/bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c
index 6d472b1404..2ac12abb73 100644
--- a/bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c
+++ b/bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c
@@ -11,7 +11,8 @@
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
-#include "drv_spi.h"
+#include <drv_spi.h>
+#include <drv_gpio.h>
#if defined(BSP_USING_SPI_FLASH)
static int rt_hw_spi_flash_init(void)
@@ -28,4 +29,3 @@ static int rt_hw_spi_flash_init(void)
}
INIT_COMPONENT_EXPORT(rt_hw_spi_flash_init);
#endif
-