From 2c416522423e821161b4c9210e9bfafcbdc0229b Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Wed, 11 Sep 2024 16:04:21 +0000 Subject: [PATCH] [MIN] Update line spacing. --- .../_Aidge_Arm/templates/configuration/_meminfo.jinja | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja b/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja index a8f10c4..6d0ae15 100644 --- a/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja +++ b/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja @@ -1,8 +1,7 @@ -// MEMINFO CONF - +// MEMINFO {{ name }} {# TODO : Suppose graph input is always connected to first input #} {# Graph input are stored in external memory so giving static values #} -{%if is_input %} +{%- if is_input -%} // GRAPH INPUT MEMINFO #define {{ in_name[0]|upper }}_SIZE {{ in_chan[0] }} #define {{ in_name[0]|upper }}_OFFSET 0 @@ -12,9 +11,7 @@ #define {{ in_name[0]|upper }}_CONT_OFFSET 0 #define {{ in_name[0]|upper }}_WRAP_OFFSET 0 #define {{ in_name[0]|upper }}_WRAP_SIZE 0 -{% endif %} - -// MEMINFO {{ name }} +{% endif -%} {% for outidx in range(nb_out) -%} // OUTPUT {{ outidx }} #define {{ out_name[outidx]|upper }}_SIZE {{ mem_info_size[outidx]}} @@ -25,4 +22,4 @@ #define {{ out_name[outidx]|upper }}_CONT_OFFSET {{ mem_info_cont_offset[outidx]}} #define {{ out_name[outidx]|upper }}_WRAP_OFFSET {{ mem_info_wrap_offset[outidx]}} #define {{ out_name[outidx]|upper }}_WRAP_SIZE {{ mem_info_wrap_size[outidx]}} -{% endfor %} +{% endfor -%} -- GitLab