From 2f4d6b6facd3884163d2df6f9862dab00d1d39c6 Mon Sep 17 00:00:00 2001 From: Peize-Liu Date: Thu, 30 May 2024 16:35:04 +0800 Subject: [PATCH] [Fix][hkust_nxt-dual]:board hkust_nxt-dual fix hw_config.h missing APP_RESERVATION_SIZE param (#23204) --- boards/hkust/nxt-dual/src/hw_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/hkust/nxt-dual/src/hw_config.h b/boards/hkust/nxt-dual/src/hw_config.h index 7c2676f4ff..352f29436a 100644 --- a/boards/hkust/nxt-dual/src/hw_config.h +++ b/boards/hkust/nxt-dual/src/hw_config.h @@ -97,9 +97,9 @@ #define INTERFACE_USART_CONFIG "/dev/ttyS5,57600" #define BOOT_DELAY_ADDRESS 0x000001a0 #define BOARD_TYPE 1013 -#define _FLASH_KBYTES (*(uint32_t *)0x1FF1E880) -#define BOARD_FLASH_SECTORS (15) -#define BOARD_FLASH_SIZE (_FLASH_KBYTES * 1024) +#define BOARD_FLASH_SECTORS (14) +#define BOARD_FLASH_SIZE (16 * 128 * 1024) +#define APP_RESERVATION_SIZE (1 * 128 * 1024) #define OSC_FREQ 16