Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/espterm/espterm-firmware/commit/fbca81d76fc241601e6baa8cda1274f693c176dd?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Add make httpflash command for commandline ota flashing

pull/30/head
Jeroen Domburg 9 years ago
parent d129c04e87
commit fbca81d76f
  1. 5
      Makefile.ota

@ -89,3 +89,8 @@ flash: $(TARGET_OUT) $(FW_BASE)
blankflash:
$(Q) $(ESPTOOL) $(ESPTOOL_OPTS) write_flash $(ESPTOOL_FLASHDEF) $(BLANKPOS) $(SDK_BASE)/bin/blank.bin $(INITDATAPOS) $(SDK_BASE)/bin/esp_init_data_default.bin
httpflash: $(FW_BASE)
$(Q) curl -X POST --data-binary '@build/httpd.ota' $(ESPIP)/flash/upload > /dev/null
$(Q) curl $(ESPIP)/flash/reboot
$(Q) echo -e '\nDone'

Loading…
Cancel
Save