esp8266: flash compiled and signed firmware (.bin) – 1

An important features that simplify the sharing of firmware (and It is used by the most productor) is to generate pre-compiled binary file with only the sketch part (or filesystem).
In this article we will see how to generate the binary firmware and how to sign it.