mirror of https://github.com/RT-Thread/rt-thread
[bsp/stm32] 修复linux下编译的可执行文件无法启动问题 (#10169)
This commit is contained in:
parent
e131a0011e
commit
f422b6a991
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F030x6 || STM32F030x8 || STM32F031x6
|
||||
# STM32F038xx || STM32F042x6 || STM32F048xx
|
||||
# STM32F070x6 || STM32F051x8 || STM32F058xx
|
||||
# STM32F071xB || STM32F072xB || STM32F078xx
|
||||
# STM32F070xB || STM32F091xC || STM32F098xx || STM32F030xC
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F072xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -13,14 +13,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
# STM32F030x6 || STM32F030x8 || STM32F031x6
|
||||
# STM32F038xx || STM32F042x6 || STM32F048xx
|
||||
# STM32F070x6 || STM32F051x8 || STM32F058xx
|
||||
# STM32F071xB || STM32F072xB || STM32F078xx
|
||||
# STM32F070xB || STM32F091xC || STM32F098xx || STM32F030xC
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F072xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F030x6 || STM32F030x8 || STM32F031x6
|
||||
# STM32F038xx || STM32F042x6 || STM32F048xx
|
||||
# STM32F070x6 || STM32F051x8 || STM32F058xx
|
||||
# STM32F071xB || STM32F072xB || STM32F078xx
|
||||
# STM32F070xB || STM32F091xC || STM32F098xx || STM32F030xC
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES=['STM32F091xC'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -13,14 +13,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
# STM32F030x6 || STM32F030x8 || STM32F031x6
|
||||
# STM32F038xx || STM32F042x6 || STM32F048xx
|
||||
# STM32F070x6 || STM32F051x8 || STM32F058xx
|
||||
# STM32F071xB || STM32F072xB || STM32F078xx
|
||||
# STM32F070xB || STM32F091xC || STM32F098xx || STM32F030xC
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F091xC']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -28,12 +28,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -31,12 +31,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -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 = ['STM32F103xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -28,6 +28,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s']
|
||||
|
||||
CPPDEFINES = ['STM32F103xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -31,12 +31,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rtthread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -34,12 +34,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map rt-thread.map'])
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -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 = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -34,6 +34,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xB'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,6 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xB']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -32,12 +32,6 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -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 = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -27,6 +27,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F103xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F103xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F107xC'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,12 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F1xx_HAL/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f107xc.s']
|
||||
|
||||
# STM32F100xB || STM32F100xE || STM32F101x6
|
||||
# STM32F101xB || STM32F101xE || STM32F101xG
|
||||
# STM32F102x6 || STM32F102xB || STM32F103x6
|
||||
# STM32F103xB || STM32F103xE || STM32F103xG
|
||||
# STM32F105xC || STM32F107xC)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F107xC']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# STM32F205xx || STM32F207xx || STM32F215xx
|
||||
# STM32F217xx
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F207xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,9 +24,5 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/startup_stm32f207xx.s']
|
||||
|
||||
# STM32F205xx || STM32F207xx || STM32F215xx
|
||||
# STM32F217xx
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F207xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# (STM32F301x8) || (STM32F302x8) || (STM32F318xx)
|
||||
# (STM32F302xC) || (STM32F303xC) || (STM32F358xx)
|
||||
# (STM32F303x8) || (STM32F334x8) || (STM32F328xx)
|
||||
# (STM32F302xE) || (STM32F303xE) || (STM32F398xx)
|
||||
# (STM32F373xC) || (STM32F378xx)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F302x8'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,13 +24,6 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/iar/startup_stm32f302x8.s']
|
||||
|
||||
# (STM32F301x8) || (STM32F302x8) || (STM32F318xx)
|
||||
# (STM32F302xC) || (STM32F303xC) || (STM32F358xx)
|
||||
# (STM32F303x8) || (STM32F334x8) || (STM32F328xx)
|
||||
# (STM32F302xE) || (STM32F303xE) || (STM32F398xx)
|
||||
# (STM32F373xC) || (STM32F378xx)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F302x8']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
# for module compiling
|
||||
import os
|
||||
Import('RTT_ROOT')
|
||||
Import('env')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
objs = []
|
||||
list = os.listdir(cwd)
|
||||
|
||||
# (STM32F301x8) || (STM32F302x8) || (STM32F318xx)
|
||||
# (STM32F302xC) || (STM32F303xC) || (STM32F358xx)
|
||||
# (STM32F303x8) || (STM32F334x8) || (STM32F328xx)
|
||||
# (STM32F302xE) || (STM32F303xE) || (STM32F398xx)
|
||||
# (STM32F373xC) || (STM32F378xx)
|
||||
# You can select chips from the list above
|
||||
env.Append(CPPDEFINES = ['STM32F334x8'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -31,6 +31,7 @@ if rtconfig.PLATFORM in ['iccarm']:
|
|||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('env')
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
|
|
|
@ -24,13 +24,6 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += [startup_path_prefix + '/STM32F3xx_HAL/CMSIS/Device/ST/STM32F3xx/Source/Templates/iar/startup_stm32f334x8.s']
|
||||
|
||||
# (STM32F301x8) || (STM32F302x8) || (STM32F318xx)
|
||||
# (STM32F302xC) || (STM32F303xC) || (STM32F358xx)
|
||||
# (STM32F303x8) || (STM32F334x8) || (STM32F328xx)
|
||||
# (STM32F302xE) || (STM32F303xE) || (STM32F398xx)
|
||||
# (STM32F373xC) || (STM32F378xx)
|
||||
# You can select chips from the list above
|
||||
CPPDEFINES = ['STM32F334x8']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -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 = ['STM32F401xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F401xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F401xC'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F401xC']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F405xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -13,8 +13,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F405xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F405xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,8 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F405xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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=['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F407xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F407xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F410Rx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F410Rx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F411xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F411xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F411xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F411xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F411xE'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -11,9 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F411xE']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F412Zx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,8 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F412Zx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F413xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F413xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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 = ['STM32F427xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F427xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
|
|
|
@ -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')):
|
||||
|
|
|
@ -11,7 +11,6 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F429xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -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')):
|
||||
|
|
|
@ -11,8 +11,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F429xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
|
@ -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')):
|
||||
|
|
|
@ -12,8 +12,7 @@ CubeMX_Config/Src/stm32f4xx_hal_msp.c
|
|||
path = [cwd]
|
||||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
CPPDEFINES = ['STM32F429xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
|
@ -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')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F429xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
|
@ -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 = ['STM32F446xx'])
|
||||
|
||||
for d in list:
|
||||
path = os.path.join(cwd, d)
|
||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||
|
|
|
@ -12,8 +12,7 @@ path = [cwd]
|
|||
path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
|
||||
|
||||
|
||||
CPPDEFINES = ['STM32F446xx']
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
# if os.path.isfile(os.path.join(cwd, "ports", 'SConscript')):
|
||||
# group = group + SConscript(os.path.join("ports", 'SConscript'))
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue