Skip to content

Commit dd7c062

Browse files
committed
config: Add memory regions to mbed_config.tmpl
1 parent ff6cf08 commit dd7c062

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mbed_tools/build/_internal/templates/mbed_config.tmpl

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ set(MBED_CONFIG_DEFINITIONS
7575
"-D{{setting_name}}={{value}}"
7676
{% endif -%}
7777
{%- endfor -%}
78+
{% for memory in memories %}
79+
"-DMBED_{{memory.name}}_START={{memory.start}}"
80+
"-DMBED_{{memory.name}}_SIZE={{memory.size}}"
81+
{%- endfor -%}
7882
{% for macro in macros %}
7983
"{{macro|replace("\"", "\\\"")}}"
8084
{%- endfor %}

0 commit comments

Comments
 (0)