aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/segger_bindings/segger_systemview.mk
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/segger_bindings/segger_systemview.mk')
-rw-r--r--os/various/segger_bindings/segger_systemview.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/os/various/segger_bindings/segger_systemview.mk b/os/various/segger_bindings/segger_systemview.mk
new file mode 100644
index 0000000..577c6ed
--- /dev/null
+++ b/os/various/segger_bindings/segger_systemview.mk
@@ -0,0 +1,13 @@
+# Compiler options here.
+ifeq ($(SEGGER_RTT_ACTIVE),)
+ $(error "SEGGER SystemView needs segger_rtt.mk")
+endif
+
+# SEGGER RTT files.
+SEGGERSYSTEMVIEWCSRC = $(CHIBIOS_CONTRIB)/ext/SEGGER/SYSTEMVIEW/SEGGER_SYSVIEW.c \
+ $(CHIBIOS_CONTRIB)/os/various/segger_bindings/SYSTEMVIEW/SEGGER_SYSVIEW_ChibiOS.c
+SEGGERSYSTEMVIEWINC = $(CHIBIOS_CONTRIB)/ext/SEGGER/SYSTEMVIEW \
+ $(CHIBIOS_CONTRIB)/os/various/segger_bindings/SYSTEMVIEW
+
+ALLCSRC += $(SEGGERSYSTEMVIEWCSRC)
+ALLINC += $(SEGGERSYSTEMVIEWINC) \ No newline at end of file