fix for arduinodue "install" target for ocserver sample application.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Wed, 8 Oct 2014 16:25:56 +0000 (12:25 -0400)
committerJoseph Morrow <joseph.l.morrow@intel.com>
Wed, 8 Oct 2014 23:59:54 +0000 (16:59 -0700)
Change-Id: If49a841f5a4a65016bf6493cbf734f6a3d1a51dd

csdk/stack/samples/arduino/SimpleClientServer/ocserver/makefile

index c4bbf57..853c323 100644 (file)
@@ -105,7 +105,7 @@ install: all
 ifeq ($(PLATFORM),arduinomega)
        $(AVR_PROGRAMMER) -C$(ARDUINO_DIR)/hardware/tools/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P$(ARDUINO_PORT) -b115200 -D -Uflash:w:$(OUT_DIR)/$(APP_NAME).hex:i
 else ifeq ($(PLATFORM),arduinodue)
-       stty -F /dev/$(ARDUINO_PORT) speed 1200 cs8 -cstopb -parenb
+       stty -F $(ARDUINO_PORT) speed 1200 cs8 -cstopb -parenb
        $(ARDUINO_DIR)/hardware/tools/bossac -i -d --port=$(ARDUINO_PORT) -U false -e -w -v -b $(OUT_DIR)/$(APP_NAME).hex -R
 else
        $(error Wrong value for PLATFORM !!)