Difference between Upload Filesystem Image and Upload Filesystem Image OTA

Dear PIO Team,

I wanted to know what is the difference between:

a) Upload Filesystem Image
and
b) Upload Filesystem Image OTA

Because when I use the option b) I get an error with my Wemos D1.

I created a “OTA” Board like that and can use the option a) and it works fine.

[env:d1_mini-OTA]
board = d1_mini
board_build.ldscript = eagle.flash.4m2m.ld
; Debug Flag Serial or Serial1
build_flags =
  -Wall
  -Wextra
  -Werror
;  -DDEBUG_ESP_PORT=Serial1

upload_protocol = espota
upload_speed = 921600
upload_port = 192.168.178.24
;upload_port = 192.168.178.61
upload_flags =
  --port=8266
;  --auth=admin

But for what is then the option b)?

Is it possible to add the Upload Filsystem to the toolsbar in vsCode?

1 Like