arch/xtensa/esp32: Add CONFIG_ESP32_IGNORE_CHIP_REVISION_CHECK

This commit add the option that was missing in the esp32_start.c
to ignore the chip version for boards with old ESP32 silicon tape out.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
This commit is contained in:
Alan Carvalho de Assis
2025-12-20 17:56:18 -03:00
committed by Alan C. Assis
parent a3ada5ce30
commit 3bf8b55d64
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -207,6 +207,19 @@ config ESP32_RUN_IRAM
This loads all of NuttX inside IRAM. Used to test somewhat small This loads all of NuttX inside IRAM. Used to test somewhat small
images that can fit entirely in IRAM. images that can fit entirely in IRAM.
config ESP32_IGNORE_CHIP_REVISION_CHECK
bool "Ignore CHIP Revision Check"
default n
---help---
Some old ESP32 chips (before ESP32 ECO V3) has some issues
related to PSRAM Cache Bug, 32KHz crystal stability and
fault injection regarding security boot. So it is always
recommended to use an ESP32 ECO V3 or new chip. However some
old boards are still available in the market or in some users'
hand and in this case it is necessary to enable this bypass to
use this boards.
WARNING: Use it only for your own board, not in a product.
menu "ESP32 Peripheral Selection" menu "ESP32 Peripheral Selection"
source "arch/xtensa/src/common/espressif/Kconfig" source "arch/xtensa/src/common/espressif/Kconfig"
+1 -1
View File
@@ -300,7 +300,7 @@ static noreturn_function void __esp32_start(void)
if (chip_rev < 300) if (chip_rev < 300)
{ {
#ifndef ESP32_IGNORE_CHIP_REVISION_CHECK #ifndef CONFIG_ESP32_IGNORE_CHIP_REVISION_CHECK
ets_printf("ERROR: NuttX supports ESP32 chip revision >= v3.0" ets_printf("ERROR: NuttX supports ESP32 chip revision >= v3.0"
" (chip revision is v%" PRId32 ".%01ld)\n", " (chip revision is v%" PRId32 ".%01ld)\n",
chip_rev / 100, chip_rev % 100); chip_rev / 100, chip_rev % 100);