[bsp/stm32] 修复linux下编译的可执行文件无法启动问题 (#10169)

This commit is contained in:
hydevcode
2025-04-03 17:40:14 +08:00
committed by GitHub
parent e131a0011e
commit f422b6a991
246 changed files with 591 additions and 354 deletions

View File

@@ -1,12 +1,15 @@
# for module compiling
import os
Import('RTT_ROOT')
Import('env')
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
env.Append(CPPDEFINES = ['STM32F429xx'])
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):