From b7ff33269fa4d02f2f8a4a64a01111db5cad4906 Mon Sep 17 00:00:00 2001 From: Dong Heng Date: Tue, 27 Nov 2018 15:06:52 +0800 Subject: [PATCH] docs(esptool_py): Add SPI flash size note for users --- components/esptool_py/Kconfig.projbuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/esptool_py/Kconfig.projbuild b/components/esptool_py/Kconfig.projbuild index 63ff90c3..212868be 100644 --- a/components/esptool_py/Kconfig.projbuild +++ b/components/esptool_py/Kconfig.projbuild @@ -122,7 +122,9 @@ choice ESPTOOLPY_FLASHSIZE prompt "Flash size" default ESPTOOLPY_FLASHSIZE_2MB help - SPI flash size, in megabytes + SPI flash size, in megabytes. Users must not configure a larger value than their real flash size. + Otherwise an unexpected result may cause if users read/write a wrong address of flash. + config ESPTOOLPY_FLASHSIZE_1MB bool "1 MB" config ESPTOOLPY_FLASHSIZE_2MB