We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d7daf commit 088a848Copy full SHA for 088a848
tools/build_script_generator/module.lb
@@ -257,7 +257,7 @@ def post_build(env):
257
has_rtt = env.has_module(":platform:rtt")
258
env.substitutions["has_rtt"] = has_rtt
259
if has_rtt:
260
- env.substitutions["main_ram"] = linkerscript.get("cont_ram_regions", [{"start": 0x20000000, "size": 4096}])[0]
+ env.substitutions["main_ram"] = linkerscript.get("cont_ram", {"start": 0x20000000, "size": 4096})
261
env.substitutions["rtt_channels"] = len(env.get(":platform:rtt:buffer.tx", []))
262
env.template("openocd.cfg.in")
263
0 commit comments