File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
targets/TARGET_RDA/TARGET_UNO_91H/device
TOOLCHAIN_ARM_STD/TARGET_UNO_91H
TOOLCHAIN_IAR/TARGET_UNO_91H Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 21
21
#if defined(RDA_ICACHE_DISABLE)
22
22
#define RDA_CODE_BASE (RDA_FLASH_BASE + RDA_PADDR_OFST)
23
23
#else /* RDA_ICACHE_DISABLE */
24
+
25
+ #if !defined(MBED_APP_START) /* MBED_APP_START */
24
26
#define RDA_CODE_BASE (RDA_ICACHE_BASE + RDA_PADDR_OFST)
27
+ #else /* MBED_APP_START */
28
+ #define RDA_CODE_BASE (MBED_APP_START)
29
+ #endif /* MBED_APP_START */
30
+
25
31
#endif /* RDA_ICACHE_DISABLE */
26
- #define RDA_CODE_SIZE (0x001F4000)
32
+
33
+ #if !defined(MBED_APP_SIZE)
34
+ #define MBED_APP_SIZE 2000K
35
+ #endif
36
+ #define RDA_CODE_SIZE (MBED_APP_SIZE)
27
37
#define RDA_AHB1_BASE (0x40100000)
28
38
#define RDA_MEMC_BASE (RDA_AHB1_BASE + 0x00000)
29
39
Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ if (0 == RDA_PARTITION_INDEX) {
17
17
if (1 == RDA_ICACHE_DISABLE) {
18
18
define symbol RDA_CODE_BASE = RDA_FLASH_BASE + RDA_PADDR_OFST;
19
19
} else {
20
+
21
+ /* MBED_APP_START */
22
+ if (!isdefinedsymbol(MBED_APP_START)) {
20
23
define symbol RDA_CODE_BASE = RDA_ICACHE_BASE + RDA_PADDR_OFST;
24
+ else
25
+ define symbol RDA_CODE_BASE = MBED_APP_START;
21
26
}
22
27
define symbol RDA_CODE_END = RDA_CODE_BASE + 0x1F3FFF;
23
28
define symbol RDA_AHB1_BASE = 0x40100000;
You can’t perform that action at this time.
0 commit comments