update flash size 2500
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef FLASH_MAX_UPGRADE_SIZE
|
#ifndef FLASH_MAX_UPGRADE_SIZE
|
||||||
//#define FLASH_MAX_UPGRADE_SIZE (512 * 1024)
|
//#define FLASH_MAX_UPGRADE_SIZE (512 * 1024)
|
||||||
#define FLASH_MAX_UPGRADE_SIZE (3200 * 1024)
|
#define FLASH_MAX_UPGRADE_SIZE (2500 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FLASH_ERROR() do {} while(0)
|
#define FLASH_ERROR() do {} while(0)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#if HID_DFU_EN
|
#if HID_DFU_EN
|
||||||
|
|
||||||
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
||||||
#define DFU_FLASH_MAX_UPGRADE_SIZE (3200 * 1024)
|
#define DFU_FLASH_MAX_UPGRADE_SIZE (2500 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DFU_FLASH_ERROR()
|
#define DFU_FLASH_ERROR()
|
||||||
@@ -270,4 +270,3 @@ int dfu_flash_cmd_erase_all(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#if HID_DFU_EN
|
#if HID_DFU_EN
|
||||||
|
|
||||||
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
||||||
#define DFU_FLASH_MAX_UPGRADE_SIZE (3200 * 1024)
|
#define DFU_FLASH_MAX_UPGRADE_SIZE (2500 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DFU_FLASH_ERROR()
|
#define DFU_FLASH_ERROR()
|
||||||
@@ -270,4 +270,3 @@ int dfu_flash_cmd_erase_all(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#if HID_DFU_EN
|
#if HID_DFU_EN
|
||||||
|
|
||||||
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
#ifndef DFU_FLASH_MAX_UPGRADE_SIZE
|
||||||
#define DFU_FLASH_MAX_UPGRADE_SIZE (3200 * 1024)
|
#define DFU_FLASH_MAX_UPGRADE_SIZE (2500 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DFU_FLASH_ERROR()
|
#define DFU_FLASH_ERROR()
|
||||||
|
|||||||
Reference in New Issue
Block a user