I use this:
*** To flash a 512KB esp8266 (e.g. esp-01) using the serial port use: esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash \ --flash_freq 40m --flash_mode qio --flash_size 4m \ 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin \ 0x7C000 esp_init_data_default.bin 0x7E000 blank.bin
because it is only 512KB
@Frida started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I use this:
because it is only 512KB