diff options
author | Karl Palsson <karlp@tweak.net.au> | 2021-09-15 01:14:39 +0200 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2021-09-16 15:55:29 +0200 |
commit | 0b937d47a4abf697dc4c6b9fe8565f9777132474 (patch) | |
tree | 937f606258197325869b307fd195adde91ec0877 | |
parent | 5d0dfa078231bf4a7b1cd333d2e834d5baad3bad (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>
-rw-r--r-- | interrupt/default_handlers.cpp.j2 | 2 | ||||
-rw-r--r-- | interrupt/interrupt_enums.h.j2 | 2 | ||||
-rw-r--r-- | interrupt/vectors_nvic.cpp.j2 | 2 | ||||
-rw-r--r-- | ld_scripts/generated.ld.j2 | 4 | ||||
-rw-r--r-- | rcc/rcc_enums.h.j2 | 2 | ||||
-rw-r--r-- | templates/periph_instances.h.j2 | 2 |
6 files changed, 14 insertions, 0 deletions
diff --git a/interrupt/default_handlers.cpp.j2 b/interrupt/default_handlers.cpp.j2 index a072f7f..a85ccf9 100644 --- a/interrupt/default_handlers.cpp.j2 +++ b/interrupt/default_handlers.cpp.j2 @@ -1,3 +1,5 @@ +// This file is auto-generated from a template! +// You should reconsider editing! #include "interrupt.h" extern "C" void default_blocking_handler() { diff --git a/interrupt/interrupt_enums.h.j2 b/interrupt/interrupt_enums.h.j2 index 4d58077..cfca5c7 100644 --- a/interrupt/interrupt_enums.h.j2 +++ b/interrupt/interrupt_enums.h.j2 @@ -1,3 +1,5 @@ +// This file is auto-generated from a template! +// You should reconsider editing! #pragma once namespace interrupt { diff --git a/interrupt/vectors_nvic.cpp.j2 b/interrupt/vectors_nvic.cpp.j2 index 962efce..89d6546 100644 --- a/interrupt/vectors_nvic.cpp.j2 +++ b/interrupt/vectors_nvic.cpp.j2 @@ -1,3 +1,5 @@ +// This file is auto-generated from a template! +// You should reconsider editing! #include "interrupt.h" void entry(); 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 }} diff --git a/rcc/rcc_enums.h.j2 b/rcc/rcc_enums.h.j2 index 1d8bed8..1b0abd0 100644 --- a/rcc/rcc_enums.h.j2 +++ b/rcc/rcc_enums.h.j2 @@ -1,3 +1,5 @@ +// This file is auto-generated from a template! +// You should reconsider editing! #pragma once namespace rcc { diff --git a/templates/periph_instances.h.j2 b/templates/periph_instances.h.j2 index 3d236b7..ddbff34 100644 --- a/templates/periph_instances.h.j2 +++ b/templates/periph_instances.h.j2 @@ -1,3 +1,5 @@ +// This file is auto-generated from a template! +// You should reconsider editing! #pragma once {% for header in (headers if headers else []) %} |