diff options
3 files changed, 11 insertions, 8 deletions
diff --git a/bsp/stm32/stm32l475-atk-pandora/.ci/attachconfig/sdcard.attach b/bsp/stm32/stm32l475-atk-pandora/.ci/attachconfig/sdcard.attach new file mode 100644 index 0000000000..f2366f15bd --- /dev/null +++ b/bsp/stm32/stm32l475-atk-pandora/.ci/attachconfig/sdcard.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_FS=y +CONFIG_BSP_USING_SDCARD_FATFS=y diff --git a/bsp/stm32/stm32l475-atk-pandora/board/SConscript b/bsp/stm32/stm32l475-atk-pandora/board/SConscript index bf886a10db..cd47c55bc7 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/SConscript +++ b/bsp/stm32/stm32l475-atk-pandora/board/SConscript @@ -17,29 +17,29 @@ path += [cwd + '/CubeMX_Config/Inc'] if not GetDepend(['RT_USING_NANO']): if GetDepend(['BSP_USING_KEY']): - src += os.path.join('ports', 'drv_key.c') + src += [os.path.join('ports', 'drv_key.c')] if GetDepend(['BSP_USING_QSPI_FLASH']): - src += os.path.join('ports', 'drv_qspi_flash.c') + src += [os.path.join('ports', 'drv_qspi_flash.c')] if GetDepend(['BSP_USING_FS']): - src += os.path.join('ports', 'drv_filesystem.c') + src += [os.path.join('ports', 'drv_filesystem.c')] if GetDepend(['BSP_USING_SPI_FLASH_LITTLEFS']): - src += os.path.join('ports', 'fal', 'fal_spi_flash_sfud_port.c') + src += [os.path.join('ports', 'fal', 'fal_spi_flash_sfud_port.c')] path += [cwd + os.path.join('ports', 'fal')] if GetDepend(['RT_USING_SENSOR']): src += os.path.join('ports', 'drv_sensors.c') if GetDepend(['BSP_USING_AUDIO']): - src += os.path.join('ports', 'audio', 'drv_es8388.c') - src += os.path.join('ports', 'audio', 'drv_sound.c') + src += [os.path.join('ports', 'audio', 'drv_es8388.c')] + src += [os.path.join('ports', 'audio', 'drv_sound.c')] if GetDepend(['BSP_USING_AUDIO_RECORD']): - src += os.path.join('ports', 'audio', 'drv_mic.c') + src += [os.path.join('ports', 'audio', 'drv_mic.c')] if GetDepend(['BSP_USING_STM32_SDIO']): - src += os.path.join('ports', 'drv_sdio_adapter.c') + src += [os.path.join('ports', 'drv_sdio_adapter.c')] if GetDepend(['BSP_USING_AUDIO']): path += [cwd + os.path.join('ports', 'audio')] diff --git a/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_filesystem.c b/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_filesystem.c index b368b11aa8..8b7720c189 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_filesystem.c +++ b/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_filesystem.c @@ -10,6 +10,7 @@ */ #include <rtthread.h> +#include <drv_gpio.h> #include <dfs_elm.h> #include <dfs_fs.h> #include <dfs_file.h> |
