I am afraid it is not that simple. You have to write that firmware.hex and then upload it to the ESP.

In what IDE you will do this? In Arduino C or Annex Basic?

If it is going to be #4 or #7 it is up to you. I mean what you did in the previous step.

The serin is the easy part...

Ioannis