esp32: App can boot on FPGA image

Includes fix for detecting ESP32 ECO3 on FPGA
This commit is contained in:
Angus Gratton
2020-08-27 19:12:00 +10:00
parent bbbbd5cf0c
commit 1a626ef6ca
5 changed files with 19 additions and 5 deletions

View File

@@ -27,6 +27,11 @@ uint8_t bootloader_common_get_chip_revision(void)
case 3:
chip_ver = 2;
break;
#if CONFIG_IDF_ENV_FPGA
case 4: /* Empty efuses, but APB_CTRL_DATE_REG bit is set */
chip_ver = 3;
break;
#endif
case 7:
chip_ver = 3;
break;