Browse Source

Retrofit for newer nodemcu-uploader

Marcos Kirsch 9 years ago
parent
commit
2357415466
1 changed files with 4 additions and 4 deletions
  1. 4 4
      makefile

+ 4 - 4
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))