mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +08:00
boards/xtensa/esp32s3: modify ARCH_CHIP for psram_usrheap
Change the ESP32S3-WROOM-2-N16R8V to ESP32S3-WROOM-1-N8R2. Reason: not testing on 16MB but successfully tested smaller flash and PSRAM. Also updated documentation on this defconfig. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
238e0c05ac
commit
e0e562360e
@@ -471,6 +471,40 @@ psram_octal
|
|||||||
Similar to the ```psram_quad``` configuration but using the SPIRAM
|
Similar to the ```psram_quad``` configuration but using the SPIRAM
|
||||||
interface in octal mode.
|
interface in octal mode.
|
||||||
|
|
||||||
|
psram_usrheap
|
||||||
|
-------------
|
||||||
|
|
||||||
|
This configuration enables allocating the userspace heap into SPI RAM and reserves the
|
||||||
|
internal RAM for kernel heap.
|
||||||
|
|
||||||
|
Important: this config defaults to flash QUAD mode, and should be changed if the board
|
||||||
|
runs on OCTAL mode by setting ``CONFIG_ESP32S3_SPIRAM_MODE_OCT``. If wrong, a SPIRAM error
|
||||||
|
will appear during boot.
|
||||||
|
|
||||||
|
To check the flash type, run the following command::
|
||||||
|
|
||||||
|
$ esptool.py flash_id
|
||||||
|
esptool.py v4.8.1
|
||||||
|
Found 33 serial ports
|
||||||
|
Serial port /dev/ttyUSB0
|
||||||
|
Connecting....
|
||||||
|
Detecting chip type... ESP32-S3
|
||||||
|
Chip is ESP32-S3 (QFN56) (revision v0.1)
|
||||||
|
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
|
||||||
|
Crystal is 40MHz
|
||||||
|
MAC: 7c:df:a1:e5:d8:5c
|
||||||
|
Uploading stub...
|
||||||
|
Running stub...
|
||||||
|
Stub running...
|
||||||
|
Manufacturer: 20
|
||||||
|
Device: 4017
|
||||||
|
Detected flash size: 8MB
|
||||||
|
Flash type set in eFuse: quad (4 data lines)
|
||||||
|
Flash voltage set by eFuse to 3.3V
|
||||||
|
Hard resetting via RTS pin...
|
||||||
|
|
||||||
|
The flash type can be seen on the "Flash type set in eFuse: quad" line.
|
||||||
|
|
||||||
pwm
|
pwm
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -431,7 +431,7 @@ config ARCH_BOARD_FRANZININHO_WIFI
|
|||||||
|
|
||||||
config ARCH_BOARD_ESP32S3_DEVKIT
|
config ARCH_BOARD_ESP32S3_DEVKIT
|
||||||
bool "Espressif ESP32-S3 DevKit"
|
bool "Espressif ESP32-S3 DevKit"
|
||||||
depends on ARCH_CHIP_ESP32S3WROOM1N4 || ARCH_CHIP_ESP32S3MINI1N8 || ARCH_CHIP_ESP32S3WROOM1N16R8 || ARCH_CHIP_ESP32S3WROOM2N16R8V || ARCH_CHIP_ESP32S3WROOM2N32R8V || ARCH_CHIP_ESP32S3CUSTOM || ARCH_CHIP_ESP32S3WROOM1N8R8
|
depends on ARCH_CHIP_ESP32S3WROOM1N4 || ARCH_CHIP_ESP32S3MINI1N8 || ARCH_CHIP_ESP32S3WROOM1N8R2 || ARCH_CHIP_ESP32S3WROOM1N16R8 || ARCH_CHIP_ESP32S3WROOM2N16R8V || ARCH_CHIP_ESP32S3WROOM2N32R8V || ARCH_CHIP_ESP32S3CUSTOM || ARCH_CHIP_ESP32S3WROOM1N8R8
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS if ESP32S3_GPIO_IRQ
|
select ARCH_HAVE_IRQBUTTONS if ESP32S3_GPIO_IRQ
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ CONFIG_ARCH_BOARD_COMMON=y
|
|||||||
CONFIG_ARCH_BOARD_ESP32S3_DEVKIT=y
|
CONFIG_ARCH_BOARD_ESP32S3_DEVKIT=y
|
||||||
CONFIG_ARCH_CHIP="esp32s3"
|
CONFIG_ARCH_CHIP="esp32s3"
|
||||||
CONFIG_ARCH_CHIP_ESP32S3=y
|
CONFIG_ARCH_CHIP_ESP32S3=y
|
||||||
CONFIG_ARCH_CHIP_ESP32S3WROOM2N16R8V=y
|
CONFIG_ARCH_CHIP_ESP32S3WROOM1N8R2=y
|
||||||
CONFIG_ARCH_INTERRUPTSTACK=2048
|
CONFIG_ARCH_INTERRUPTSTACK=2048
|
||||||
CONFIG_ARCH_STACKDUMP=y
|
CONFIG_ARCH_STACKDUMP=y
|
||||||
CONFIG_ARCH_XTENSA=y
|
CONFIG_ARCH_XTENSA=y
|
||||||
@@ -23,7 +23,6 @@ CONFIG_BUILTIN=y
|
|||||||
CONFIG_ESP32S3_FLASH_FREQ_80M=y
|
CONFIG_ESP32S3_FLASH_FREQ_80M=y
|
||||||
CONFIG_ESP32S3_SPIFLASH=y
|
CONFIG_ESP32S3_SPIFLASH=y
|
||||||
CONFIG_ESP32S3_SPIRAM=y
|
CONFIG_ESP32S3_SPIRAM=y
|
||||||
CONFIG_ESP32S3_SPIRAM_MODE_OCT=y
|
|
||||||
CONFIG_ESP32S3_SPIRAM_USER_HEAP=y
|
CONFIG_ESP32S3_SPIRAM_USER_HEAP=y
|
||||||
CONFIG_ESP32S3_SPI_FLASH_SUPPORT_PSRAM_STACK=y
|
CONFIG_ESP32S3_SPI_FLASH_SUPPORT_PSRAM_STACK=y
|
||||||
CONFIG_ESP32S3_UART0=y
|
CONFIG_ESP32S3_UART0=y
|
||||||
|
|||||||
Reference in New Issue
Block a user