The esp-idf bootloader configures the frequency of the SPI flash based on the app header. espflash and probe-rs are able to change this config, and does it correctly (at least where I've tested it), but the defaults it applies are not necessarily the best. We should add a config option that lets users select a faster frequency (e.g. 80MHz instead of 40MHz), while explaining that going above 40MHz may be unstable. The selected option should be passed to espflash as --flash-freq <X>mhz, and probe-rs as --idf-flash-freq <X>mhz.
The esp-idf bootloader configures the frequency of the SPI flash based on the app header.
espflashandprobe-rsare able to change this config, and does it correctly (at least where I've tested it), but the defaults it applies are not necessarily the best. We should add a config option that lets users select a faster frequency (e.g. 80MHz instead of 40MHz), while explaining that going above 40MHz may be unstable. The selected option should be passed toespflashas--flash-freq <X>mhz, andprobe-rsas--idf-flash-freq <X>mhz.