fix: disable cache
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#define FLASH_WORD_SIZE 4
|
||||
#define VERIFY_CHUNK_SIZE 4
|
||||
#define VERIFY_WORDS (VERIFY_CHUNK_SIZE / FLASH_WORD_SIZE)
|
||||
#ifndef FLASH_SECTOR_SIZE
|
||||
#define FLASH_SECTOR_SIZE 4096
|
||||
#endif
|
||||
|
||||
#define WRITE_CHUNK_SIZE 256
|
||||
|
||||
@@ -110,6 +113,7 @@ typedef struct {
|
||||
} FLASH_InitTypeDef;
|
||||
|
||||
/* external ROM bloat */
|
||||
__always_long_call void Cache_Enable(uint32_t Enable);
|
||||
extern FLASH_InitTypeDef flash_init_para;
|
||||
extern __always_long_call uint32_t DiagPrintf(const char *fmt, ...);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user