summaryrefslogtreecommitdiff
path: root/build/scons_tools/tool_selectmcu.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/scons_tools/tool_selectmcu.py')
-rw-r--r--build/scons_tools/tool_selectmcu.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/scons_tools/tool_selectmcu.py b/build/scons_tools/tool_selectmcu.py
index da4b38d..8d7029f 100644
--- a/build/scons_tools/tool_selectmcu.py
+++ b/build/scons_tools/tool_selectmcu.py
@@ -13,6 +13,8 @@ def SelectMCU(env, mcu, variant_dir = None):
)
env.Replace(
+ PLATFORM_SPEC = spec,
+
CC = '${TOOLCHAIN}gcc',
CXX = '${TOOLCHAIN}g++',
AS = '${TOOLCHAIN}gcc',
@@ -32,7 +34,7 @@ def SelectMCU(env, mcu, variant_dir = None):
)
env.Replace(
- LINK_SCRIPT = spec.get('ld_script'),
+ LINK_SCRIPT = 'generated.ld',
)
env.Append(