Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 039f372

Browse files
committedApr 22, 2021
config: Add memory regions to mbed_config.tmpl
1 parent 1d9a212 commit 039f372

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)
Please sign in to comment.