summaryrefslogtreecommitdiff
path: root/ld_scripts/generated.ld.j2
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2021-09-15 01:14:39 +0200
committerKarl Palsson <karlp@etactica.com>2021-09-16 15:55:29 +0200
commit0b937d47a4abf697dc4c6b9fe8565f9777132474 (patch)
tree937f606258197325869b307fd195adde91ec0877 /ld_scripts/generated.ld.j2
parent5d0dfa078231bf4a7b1cd333d2e834d5baad3bad (diff)
generators: clearly mark generated files
This makes it easier for end users to see where files have come from. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Diffstat (limited to 'ld_scripts/generated.ld.j2')
-rw-r--r--ld_scripts/generated.ld.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/ld_scripts/generated.ld.j2 b/ld_scripts/generated.ld.j2
index 0eb3e8c..ded6f1c 100644
--- a/ld_scripts/generated.ld.j2
+++ b/ld_scripts/generated.ld.j2
@@ -1,3 +1,7 @@
+/*
+ * This file is auto-generated from a template!
+ * You should reconsider editing!
+ */
MEMORY {
{% for name, m in mem.items() %}
{{ name }} ({{ 'rx' if name == 'flash' else 'rwx' }}) : org = {{ m.origin | hex }}, len = {{ m.size | size_prefix }}