We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f4bcff commit dbbe1f4Copy full SHA for dbbe1f4
tools/mcconfig/nmake.esp.mk
@@ -322,6 +322,7 @@ LIB_ARCHIVE = $(LIB_DIR)\libxslib.a
322
all: $(LAUNCH)
323
324
debug: $(LIB_DIR) $(LIB_ARCHIVE) $(APP_ARCHIVE) $(BIN_DIR)\main.bin
325
+ -tasklist /nh /fi "imagename eq serial2xsbug.exe" | (find /i "serial2xsbug.exe" > nul) && taskkill /f /t /im "serial2xsbug.exe" >nul 2>&1
326
tasklist /nh /fi "imagename eq xsbug.exe" | find /i "xsbug.exe" > nul || (start $(BUILD_DIR)\bin\win\release\xsbug.exe)
327
$(ESPTOOL) $(UPLOAD_VERB) -cd $(UPLOAD_RESET) -cb $(UPLOAD_SPEED) -cp $(UPLOAD_PORT) -ca 0x00000 -cf $(BIN_DIR)\main.bin
328
$(BUILD_DIR)\bin\win\release\serial2xsbug $(UPLOAD_PORT) 460800 8N1 $(TMP_DIR)\main.elf
0 commit comments