Optional
calculateMD5A function to calculate the MD5 hash of the firmware image (optional).
Flag indicating whether to compress the data before flashing.
Flag indicating whether to erase all existing data in the flash memory before flashing.
An array of file objects representing the data to be flashed.
The flash frequency to be used (e.g., 40MHz, 80MHz).
The flash mode to be used (e.g., QIO, QOUT, DIO, DOUT).
The size of the flash memory to be used.
Optional
reportA function to report the progress of the flashing operation (optional).
Options for flashing a device with firmware. FlashOptions