3m flash size
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 (2800 * 1024)
|
#define FLASH_MAX_UPGRADE_SIZE (3000 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FLASH_ERROR() do {} while(0)
|
#define FLASH_ERROR() do {} while(0)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ typedef enum {
|
|||||||
#define MAX_DATA_BLOCK_SIZE 57 // 最大数据块大小(63字节HID数据包 - 5字节头部 - 1字节Checksum)
|
#define MAX_DATA_BLOCK_SIZE 57 // 最大数据块大小(63字节HID数据包 - 5字节头部 - 1字节Checksum)
|
||||||
|
|
||||||
#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 (3000 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user