Some follow-up changes for ESP32s3 32M flash support

Fix the link and flash parameters error of ESP32s3 32M flash
enabled.
This commit is contained in:
Roy Feng 2023-07-21 17:12:31 +08:00 committed by Xiang Xiao
parent ee6e2ce149
commit 3fa86f83b7
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@
# define FLASH_SIZE 0x800000
#elif defined (CONFIG_ESP32S3_FLASH_16M)
# define FLASH_SIZE 0x1000000
#elif defined (CONFIG_ESP32S3_FLASH_32M)
# define FLASH_SIZE 0x2000000
#endif
MEMORY

View File

@ -28,6 +28,8 @@ else ifeq ($(CONFIG_ESP32S3_FLASH_8M),y)
FLASH_SIZE := 8MB
else ifeq ($(CONFIG_ESP32S3_FLASH_16M),y)
FLASH_SIZE := 16MB
else ifeq ($(CONFIG_ESP32S3_FLASH_32M),y)
FLASH_SIZE := 32MB
endif
ifeq ($(CONFIG_ESP32S3_FLASH_MODE_DIO),y)