From 7cbdf9e4a92cb767eaae595b3808fca6457d34d4 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 6 Jun 2019 07:43:17 +0800 Subject: [PATCH] Update SConscript --- bsp/stm32/stm32f072-st-nucleo/applications/SConscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bsp/stm32/stm32f072-st-nucleo/applications/SConscript b/bsp/stm32/stm32f072-st-nucleo/applications/SConscript index 04f04dd543..5efd37ed23 100644 --- a/bsp/stm32/stm32f072-st-nucleo/applications/SConscript +++ b/bsp/stm32/stm32f072-st-nucleo/applications/SConscript @@ -1,10 +1,8 @@ -Import('RTT_ROOT') -Import('rtconfig') from building import * cwd = GetCurrentDir() -src = Glob('*.c') -CPPPATH = [cwd, str(Dir('#'))] +src = Glob('*.c') + Glob('*.cpp') +CPPPATH = [cwd] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)