diff --git a/bsp/stm32/stm32l476-st-nucleo/SConscript b/bsp/stm32/stm32l476-st-nucleo/SConscript index fe0ae941ae..c6932b3c6f 100644 --- a/bsp/stm32/stm32l476-st-nucleo/SConscript +++ b/bsp/stm32/stm32l476-st-nucleo/SConscript @@ -1,8 +1,8 @@ -# for module compiling +# RT-Thread scons bridge import os -Import('RTT_ROOT') +from building import * -cwd = str(Dir('#')) +cwd = GetCurrentDir() objs = [] list = os.listdir(cwd)