aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/segger_bindings/segger_systemview.mk
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian@gmail.com>2019-09-29 12:37:06 -0300
committerDiego Ismirlian <dismirlian@gmail.com>2019-09-29 12:37:06 -0300
commit741626dc8f9037397abe35a2c5d4d64504129776 (patch)
tree3aca860e9120a891dbac89d4a365daf3b101fc0e /os/various/segger_bindings/segger_systemview.mk
parent8db69eb38c86b7078e4d1ab055704e11a47bb573 (diff)
downloadChibiOS-Contrib-741626dc8f9037397abe35a2c5d4d64504129776.tar.gz
ChibiOS-Contrib-741626dc8f9037397abe35a2c5d4d64504129776.tar.bz2
ChibiOS-Contrib-741626dc8f9037397abe35a2c5d4d64504129776.zip
Add SEGGER RTT and SystemView bindings for ChibiOS
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