[bsp][stm32] optimize flash driver config

This commit is contained in:
SummerGift 2018-12-10 14:06:17 +08:00
parent c1f20dc458
commit 892ad62983
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ src += ['drv_common.c']
path = [cwd] path = [cwd]
path += [cwd + '/config'] path += [cwd + '/config']
path += [cwd + '/drv_flash']
if GetDepend('BSP_USING_ON_CHIP_FLASH'):
path += [cwd + '/drv_flash']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)