From 2357415466bb24cba8ee33109146f6a6a2df0282 Mon Sep 17 00:00:00 2001 From: Marcos Kirsch Date: Wed, 1 Apr 2015 23:14:52 -0500 Subject: [PATCH] Retrofit for newer nodemcu-uploader --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index f48463a..a8ddd25 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ NODEMCU-UPLOADER=../nodemcu-uploader/nodemcu-uploader.py # Serial port PORT=/dev/cu.usbserial-A602HRAZ # Bauds for the serial connection -SPEED=9600 +SPEED=115200 ###################################################################### # End of user config @@ -22,13 +22,13 @@ usage: # Upload HTTP files only upload_http: $(HTTP_FILES) - @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, -f $(f) -d $(f)) + @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, $(f)) # Upload httpserver lua files (init and server module) upload_server: $(LUA_FILES) - @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, -f $(f) -d $(f)) + @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, $(f)) # Upload all upload: $(LUA_FILES) $(HTTP_FILES) - @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, -f $(f) -d $(f)) + @$(NODEMCU-UPLOADER) -b $(SPEED) -p $(PORT) upload $(foreach f, $^, $(f))