udpate flash limit

This commit is contained in:
Steven Dan
2026-01-16 16:40:50 +08:00
parent f792987aa6
commit 42b2c038bc

View File

@@ -23,7 +23,7 @@
*/
#ifndef FLASH_MAX_UPGRADE_SIZE
//#define FLASH_MAX_UPGRADE_SIZE (512 * 1024)
#define FLASH_MAX_UPGRADE_SIZE (1024 * 1024)
#define FLASH_MAX_UPGRADE_SIZE (0x1a0000)
#endif
#define FLASH_ERROR() do {} while(0)