Skip to content

Commit ad3f8ff

Browse files
author
Wayne Ren
committed
board: iotdk: add the missed default configuration of
REGION_EXT_ROM_START add the default configuration of REGION_EXT_ROM_START Signed-off-by: Wayne Ren <[email protected]>
1 parent dc213e8 commit ad3f8ff

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

board/iotdk/configs/10/target_mem_config.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@
4848
#define ONCHIP_FLASH_SIZE 0x40000
4949
#define ONCHIP_FLASH_BASE 0x0
5050

51-
#define ARC_X_MEM_START 0xC0000000
52-
#define ARC_X_MEM_SIZE 0x8000
53-
54-
#define ARC_Y_MEM_START 0xD0000000
55-
#define ARC_Y_MEM_SIZE 0x8000
56-
5751
#ifdef ARC_FEATURE_ICCM_PRESENT
5852
#ifndef ICCM_SIZE
5953
#define ICCM_SIZE ARC_FEATURE_ICCM_SIZE
@@ -124,6 +118,11 @@
124118
#define REGION_EXT_RAM_SIZE EXT_RAM_SIZE
125119
#endif
126120

121+
#ifndef REGION_EXT_ROM_START
122+
#define REGION_EXT_ROM_START EXT_ROM_START
123+
#define REGION_EXT_ROM_SIZE EXT_ROM_SIZE
124+
#endif
125+
127126
/* When the mcuboot used, need to set the specific memory layout of ROM */
128127
#ifdef LIB_MCUBOOT
129128
#ifdef USE_APPL_MEM_CONFIG

0 commit comments

Comments
 (0)