I’ve just upgraded to pio 6.0. I’m using an ESP32-C3 risc-v board similar to DevKitM-1, but slightly different. It now fails to recognise the SPI Flash device during boot. The chip is on the ESP32-C3-32S module. It comes back with a JEDEC device id of 0x5e6015.
This is not recognised by the spi_flash boot code. It tries a series of known devices, then says it is a generic device, then it fails as the device is 4Mb, but it expects a 2Mb part. I’ve changed the flash size in menuconfig, but this makes no difference.
It looks like the Flash chip is not in the database. Perhaps the manufacturer is using different parts due to the chip shortage?
This means that my project that was working fine with pio < 6.0 is now broken, stuck in a boot loop. How can I add a new device into the SPI Flash database? How can I find data on the device 0x5e6015?