Virtual Flasher¶
Flash memory access is emulated using SPI Flash.
This Component implements make targets to operate on the flash backing file in a similar way to flashing a real device.
Build Variables¶
The following options are interpreted and used to provide command-line parameters to the emulator executable:
-
FLASH_BIN¶ Full path to the flash backing file
-
HOST_FLASH_OPTIONS¶ This defaults to a combination of the above variables, but you can override if necessary.
The size of the flash memory is set via Hardware configuration.
See Esptool for details and other applicable variables.
Build targets¶
make flashinitto clear and reset the file.make flashfsto copy the generated SPIFFS image into the backing file.make flashwrites out all required images to the backing file. For now, this is the same asmake flashfsbut that will change when support is added for custom user images.
References¶
Used by¶
Sming (Host) ,Component