From 1dc555e36289e8116d78e7ac42faff7ddce812b0 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sat, 11 Jun 2022 14:44:21 +0200 Subject: [PATCH] dist/tools/cosy: allow to specify port --- Makefile.include | 3 ++- .../0001-cosy-allow-to-specify-port.patch | Bin 0 -> 1199 bytes 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 dist/tools/cosy/patches/0001-cosy-allow-to-specify-port.patch diff --git a/Makefile.include b/Makefile.include index d8fd372480..63183234a0 100644 --- a/Makefile.include +++ b/Makefile.include @@ -854,8 +854,9 @@ preflash: $(BUILD_BEFORE_FLASH) # graphical memory usage analyzer COSY_TOOL ?= $(PKGDIRBASE)/cosy/cosy.py +COSY_PORT ?= 12345 cosy: $(ELFFILE) $(COSY_TOOL) - $(COSY_TOOL) --riot-base $(RIOTBASE) $(APPDIR) $(BOARD) $(ELFFILE) $(MAPFILE) + $(COSY_TOOL) --port $(COSY_PORT) --riot-base $(RIOTBASE) $(APPDIR) $(BOARD) $(ELFFILE) $(MAPFILE) ifneq (,$(TERMLOG)$(TERMTEE)) TERMTEE ?= | tee -a $(TERMLOG) diff --git a/dist/tools/cosy/patches/0001-cosy-allow-to-specify-port.patch b/dist/tools/cosy/patches/0001-cosy-allow-to-specify-port.patch new file mode 100644 index 0000000000000000000000000000000000000000..7f0a4caa1e95c45848fbdbc479b63bba37590bfe GIT binary patch literal 1199 zcma)5ZEKuB5dOZuVz3`h@uj|;cNgiEv<;yYN5uQMUXqef z=yABaqt7$X%rkpB$PVH-DwEYFN|QR~oUhHYTrZ0vIjYm;dXuDe#d%o4S1I5Udx+K$ zhS~IoI1D3pN;DaKL~+ZzM!+}TqR_N?R~$mY-63?`wSLcoQg-jz3D=mxCD$HA5qud1 zk;O4Y%Pcv{q7}Fyk+aLOxW!Uu@csP5)u+!tpp^qEAOVDgG!trLj>5Q`J)vWyu z;Da7W?Bu7Z4qI|VRM7E$s&X=68LmAV;d%KV69&p}tFh<@S)x)wxx?~jE=S#u+O~~` zpa&Ngrl||hBsCL5^HO0cE3~aq*Z#(Go`jO^Led>D$SPz0qg5{kG@!QHW