summaryrefslogtreecommitdiff
path: root/interrupt
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 /interrupt
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 'interrupt')
-rw-r--r--interrupt/default_handlers.cpp.j22
-rw-r--r--interrupt/interrupt_enums.h.j22
-rw-r--r--interrupt/vectors_nvic.cpp.j22
3 files changed, 6 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();