From aa49e8ada93680ba16d92d9d288097064624d899 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 16 Mar 2024 19:48:20 -0400 Subject: [PATCH] [bsp][stm32pandora] fix SConscript gramma issues --- bsp/stm32/stm32l475-atk-pandora/board/SConscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/stm32/stm32l475-atk-pandora/board/SConscript b/bsp/stm32/stm32l475-atk-pandora/board/SConscript index cd47c55bc7..6696c08f7f 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/SConscript +++ b/bsp/stm32/stm32l475-atk-pandora/board/SConscript @@ -13,7 +13,7 @@ CubeMX_Config/Src/stm32l4xx_hal_msp.c ''') path = [cwd] -path += [cwd + '/CubeMX_Config/Inc'] +path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')] if not GetDepend(['RT_USING_NANO']): if GetDepend(['BSP_USING_KEY']): @@ -26,10 +26,10 @@ if not GetDepend(['RT_USING_NANO']): 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')] - path += [cwd + os.path.join('ports', 'fal')] + path += [os.path.join(cwd, 'ports', 'fal')] if GetDepend(['RT_USING_SENSOR']): - src += os.path.join('ports', 'drv_sensors.c') + src += [os.path.join('ports', 'drv_sensors.c')] if GetDepend(['BSP_USING_AUDIO']): src += [os.path.join('ports', 'audio', 'drv_es8388.c')] @@ -42,7 +42,7 @@ if not GetDepend(['RT_USING_NANO']): src += [os.path.join('ports', 'drv_sdio_adapter.c')] if GetDepend(['BSP_USING_AUDIO']): - path += [cwd + os.path.join('ports', 'audio')] + path += [os.path.join(cwd, 'ports', 'audio')] startup_path_prefix = SDK_LIB