diff --git a/bsp/stm32/libraries/HAL_Drivers/SConscript b/bsp/stm32/libraries/HAL_Drivers/SConscript index 874a65a467..11ee4b1b92 100644 --- a/bsp/stm32/libraries/HAL_Drivers/SConscript +++ b/bsp/stm32/libraries/HAL_Drivers/SConscript @@ -8,7 +8,7 @@ group = [] src = ['drv_common.c'] path = [cwd] -if not GetDepend('PKG_CMSIS_CORE'): +if not GetDepend('PKG_USING_CMSIS_CORE'): path += [os.path.join(cwd, 'CMSIS', 'Include')] if GetDepend(['RT_USING_NANO']):