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:
parent
ee6e2ce149
commit
3fa86f83b7
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue