mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
arch/xtensa/esp32s3: Fix bug regarding SPI flash operation mode
SPI flash operation modes - Dual Output (dout), Dual I/O (dio), Quad Output (qout), Quad I/O (qio) and Octal (opi) were not being properly selected. This commit fixes this behavior and the device is now able to boot and initialize the proper SPI flash mode. Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
b81c4d3aa6
commit
622355b5c3
@@ -42,6 +42,8 @@ else ifeq ($(CONFIG_ESP32S3_FLASH_MODE_QIO),y)
|
||||
FLASH_MODE := qio
|
||||
else ifeq ($(CONFIG_ESP32S3_FLASH_MODE_QOUT),y)
|
||||
FLASH_MODE := qout
|
||||
else ifeq ($(CONFIG_ESP32S3_FLASH_MODE_OCT),y)
|
||||
FLASH_MODE := qio
|
||||
endif
|
||||
|
||||
FLASH_FREQ := $(CONFIG_ESPRESSIF_FLASH_FREQ)
|
||||
|
||||
Reference in New Issue
Block a user