Skip to content

Commit 764fe46

Browse files
committed
config: Add RAM1 memory region parameters to mbed_config.cmake
Add ARM1 memory region defines to mbed_config.tmpl as most of the targets in targets.json has both RAM and RAM1 configurations
1 parent ec83fe0 commit 764fe46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/mbed_tools/build/_internal/templates/mbed_config.tmpl

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ set(MBED_TARGET_DEFINITIONS{% for component in components %}
6666
{%- endif %}
6767
{% if mbed_ram_size is defined %}
6868
MBED_RAM_SIZE={{ mbed_ram_size | to_hex }}
69+
{%- endif %}
70+
{% if mbed_ram1_start is defined %}
71+
MBED_RAM1_START={{ mbed_ram1_start | to_hex }}
72+
{%- endif %}
73+
{% if mbed_ram1_size is defined %}
74+
MBED_RAM1_SIZE={{ mbed_ram1_size | to_hex }}
6975
{%- endif %}
7076
TARGET_LIKE_MBED
7177
__MBED__=1

0 commit comments

Comments
 (0)