mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
update -Wall
This commit is contained in:
parent
af72faa906
commit
c98cbe6e00
86 changed files with 523 additions and 352 deletions
|
|
@ -17,9 +17,9 @@ extern "C" {
|
|||
#include <queue.h>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef FLASH_SECTOR_SIZE
|
||||
#define FLASH_SECTOR_SIZE 4096
|
||||
#endif
|
||||
//#ifndef FLASH_SECTOR_SIZE
|
||||
// #define FLASH_SECTOR_SIZE 4096
|
||||
//#endif
|
||||
#define FLASH_SECTORS 256 // 1 Mbytes
|
||||
#define FLASH_CHIP_SIZE (FLASH_SECTORS * FLASH_SECTOR_SIZE)
|
||||
#define FMEMORY_SCFG_BANK_SIZE FLASH_SECTOR_SIZE // размер сектора, 4096 bytes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue