However, at boot the (2 Mbyte) ESP32 chip that the build had previously worked on complains:
Code: Select all
E (341) spi_flash: failed to get chip size
assertion "flash_ret == ESP_OK" failed: file "C:/Users/rob/esp/esp-idf/components/esp32/cpu_start.c", line 401, function: start_cpu0_default
Can anyone suggest what might be going wrong and how to fix it?
FYI, I've tried enabling the legacy SPI driver but then the build fails to link because it can't find esp_flash_default_chip. I've also tried disabling flash size checking by esp_tool.py but that made no difference (the download process correctly identifies the flash as 2 MB anyway).