diff options
| author | Meco Man <[email protected]> | 2023-12-26 22:06:30 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-12-26 23:13:08 +0800 |
| commit | ed4d037d7b09cee8e53810affd215ae504c79fc7 (patch) | |
| tree | 9681079ecfc7308e8f61b16a32ba9861256941e6 /bsp | |
| parent | 6e02914c2b5bac2f6b948a5ba8b71ad6cf63319d (diff) | |
[ci][stm32f407] add attach config CI check
Diffstat (limited to 'bsp')
9 files changed, 12 insertions, 1 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_soft_spi.c b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_soft_spi.c index fae3841a6f..ad186e3bcd 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_soft_spi.c +++ b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_soft_spi.c @@ -8,6 +8,7 @@ * 2022-6-14 solar first version */ #include <board.h> +#include <string.h> #include "drv_soft_spi.h" #include "drv_config.h" diff --git a/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/eeprom.attach b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/eeprom.attach new file mode 100644 index 0000000000..fc5e97f3b7 --- /dev/null +++ b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/eeprom.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_EEPROM=y diff --git a/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/esp8266.attach b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/esp8266.attach new file mode 100644 index 0000000000..4a388a990a --- /dev/null +++ b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/esp8266.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_AT_ESP8266=y diff --git a/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/ethernet.attach b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/ethernet.attach new file mode 100644 index 0000000000..d99c88a071 --- /dev/null +++ b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/ethernet.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ETH=y diff --git a/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/lvgl.attach b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/lvgl.attach new file mode 100644 index 0000000000..d90eeb40ae --- /dev/null +++ b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/lvgl.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_LVGL=y +CONFIG_BSP_USING_LVGL_DEMO=y diff --git a/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/sdcard.attach b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/sdcard.attach new file mode 100644 index 0000000000..d87e0ee665 --- /dev/null +++ b/bsp/stm32/stm32f407-atk-explorer/.ci/attachconfig/sdcard.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_FS=y +BSP_USING_SDCARD_FATFS=y diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index c8302e8c87..a00d5ddafd 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -127,6 +127,7 @@ menu "Onboard Peripheral Drivers" bool "Enable File System" select RT_USING_DFS select RT_USING_DFS_ROMFS + select RT_USING_DFS_ROMFS_USER_ROOT default n if BSP_USING_FS diff --git a/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_lcd.c b/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_lcd.c index fcabf1a814..48ed4c22e9 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_lcd.c +++ b/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_lcd.c @@ -12,7 +12,8 @@ #include <board.h> #include "drv_lcd.h" -#include "string.h" +#include <drv_gpio.h> +#include <string.h> //#define DRV_DEBUG #define LOG_TAG "drv.lcd" diff --git a/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c b/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c index ec5c61f1b0..0620ed1de0 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c +++ b/bsp/stm32/stm32f407-atk-explorer/board/ports/phy_reset.c @@ -9,6 +9,7 @@ */ #include <board.h> +#include <drv_gpio.h> #define RESET_IO GET_PIN(D, 3) |
