diff --git a/dist/tools/usb-serial/README.md b/dist/tools/usb-serial/README.md index 15463573d7b12cb095a43d0ab3c5c881ef036624..ffa21ad76c04c6fa3dbf015d9e23c5d285b3bfa8 100644 --- a/dist/tools/usb-serial/README.md +++ b/dist/tools/usb-serial/README.md @@ -45,7 +45,7 @@ solution): ifeq ($(PORT),) # try to find tty name by serial number, only works on Linux currently. ifeq ($(OS),Linux) - PORT := $(firstword $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh "^$(PROGRAMMER_SERIAL)$$")) + PORT := $(firstword $(shell $(RIOTTOOLS)/usb-serial/find-tty.sh "^$(PROGRAMMER_SERIAL)$$")) endif endif endif @@ -53,7 +53,7 @@ solution): # Fallback PORT if no serial was specified or if the specified serial was not found ifeq ($(PORT),) ifeq ($(OS),Linux) - PORT := $(firstword $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh)) + PORT := $(firstword $(shell $(RIOTTOOLS)/usb-serial/find-tty.sh)) else ifeq ($(OS),Darwin) PORT := $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1) endif