From b3e073864fcc93d7f4431a3b9be006bc967f5240 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 16 Mar 2024 20:23:23 -0400 Subject: [PATCH] [stm32][stm32f103-100ask-pro] fix missing drv_gpio.h in spi_flash_init.c --- bsp/stm32/stm32f103-100ask-pro/board/ports/spi_flash_init.c | 4 ++-- 1 file 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 #include "spi_flash.h" #include "spi_flash_sfud.h" -#include "drv_spi.h" +#include +#include #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 -