Skip to content

Commit

Permalink
[bsp][stm32pandora] fix SConscript gramma issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Mar 17, 2024
1 parent 9ac8b47 commit aa49e8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bsp/stm32/stm32l475-atk-pandora/board/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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']):
Expand All @@ -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')]
Expand All @@ -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

Expand Down

0 comments on commit aa49e8a

Please sign in to comment.