Fixed flash automatic detection bug. Support 128MBit flash.

This commit is contained in:
HuangRui 2015-03-16 01:05:06 +08:00
parent dfce182622
commit 4e7473bc00
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
// #define FLASH_8M // #define FLASH_8M
// #define FLASH_16M // #define FLASH_16M
#define FLASH_AUTOSIZE #define FLASH_AUTOSIZE
#define FLASH_SAFE_API
// #define DEVELOP_VERSION // #define DEVELOP_VERSION
#define FULL_VERSION_FOR_USER #define FULL_VERSION_FOR_USER

View File

@ -57,8 +57,8 @@ do { \
typedef struct typedef struct
{ {
uint8_t unknown0; uint8_t e9;
uint8_t unknown1; uint8_t segments;
enum enum
{ {
MODE_QIO = 0, MODE_QIO = 0,