fix: auto_erase/verif?
This commit is contained in:
@@ -10,8 +10,11 @@
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define BIT(x) (1 << (x))
|
||||
|
||||
#define READ_CHUNK_SIZE 32
|
||||
#define VERIFY_CHUNK_SIZE 32
|
||||
#define READ_CHUNK_SIZE 4
|
||||
#define FLASH_WORD_SIZE 4
|
||||
#define VERIFY_CHUNK_SIZE 4
|
||||
#define VERIFY_WORDS (VERIFY_CHUNK_SIZE / FLASH_WORD_SIZE)
|
||||
|
||||
#define WRITE_CHUNK_SIZE 256
|
||||
|
||||
#define SPI_FLASH_BASE 0x08000000
|
||||
@@ -129,4 +132,4 @@ __always_long_call void FLASH_StructInit_GD(void *FLASH_InitStruct);
|
||||
__always_long_call uint8_t FLASH_Init(uint8_t SpicBitMode);
|
||||
__always_long_call uint32_t FLASH_ClockDiv(uint8_t Div);
|
||||
|
||||
#endif /* _RTL8710_FLASHER_H_ */
|
||||
#endif // _RTL8710_FLASHER_H_
|
||||
Reference in New Issue
Block a user