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 0000000000..7f0a4caa1e Binary files /dev/null and b/dist/tools/cosy/patches/0001-cosy-allow-to-specify-port.patch differ