Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions bsp/stm32/libraries/HAL_Drivers/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ from building import *
cwd = GetCurrentDir()

# add the general drivers.
src = Split("""
""")
src = []

if GetDepend(['RT_USING_PIN']):
src += ['drv_gpio.c']
Expand Down Expand Up @@ -111,6 +110,9 @@ src += ['drv_common.c']
path = [cwd]
path += [cwd + '/config']

if not GetDepend('PKG_CMSIS_CORE'):
path += [cwd + '/CMSIS/Include']

if GetDepend('BSP_USING_ON_CHIP_FLASH'):
path += [cwd + '/drv_flash']

Expand Down
3 changes: 0 additions & 3 deletions bsp/stm32/libraries/STM32F0xx_HAL/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
path = [cwd + '/CMSIS/Device/ST/STM32F0xx/Include',
cwd + '/STM32F0xx_HAL_Driver/Inc']

if not GetDepend('PKG_CMSIS_CORE'):
path += [cwd + '/CMSIS/Include']

CPPDEFINES = ['USE_HAL_DRIVER']
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

Expand Down
Loading