Hello guys,
just a heads up that you can use esp-serial-flasher as a git submodule instead of just copying it like you have here. Here is description that you can use inspiration from.
There are also many bugfixes and new features since you last updated the port.