[ci][stm32l475-pandora] add attach CI checking for sdcard

This commit is contained in:
Meco Man 2023-12-27 17:53:51 +08:00 committed by Rbb666
parent 32ada5eed1
commit 7b4592c2d1
3 changed files with 11 additions and 8 deletions

View File

@ -0,0 +1,2 @@
CONFIG_BSP_USING_FS=y
CONFIG_BSP_USING_SDCARD_FATFS=y

View File

@ -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')]

View File

@ -10,6 +10,7 @@
*/
#include <rtthread.h>
#include <drv_gpio.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_file.h>