fix bug set a correct page size

pull/8692/head
Qinghao Shi 2018-11-09 15:29:36 +00:00
parent d55c0da61e
commit f7ff09d243
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
* limitations under the License.
*/
#include "string.h"
#include "device.h"
#include "flash_api.h"
#include "memory_zones.h"
@ -22,7 +23,7 @@
* The implementation emulates flash over SRAM.
*/
#define FLASH_PAGE_SIZE 256
#define FLASH_PAGE_SIZE 4U
#define FLASH_OFS_START ZBT_SRAM1_START
#define FLASH_SECTOR_SIZE 0x1000
#define FLASH_OFS_END (ZBT_SRAM1_START + ZBT_SRAM1_SIZE)