Fix Syntax Error for IAR & ARMCC

pull/10449/head
fred.li 2019-04-30 11:36:13 +08:00
parent 417051244d
commit 749302fc0b
2 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@
#endif /* RDA_ICACHE_DISABLE */
#if !defined(MBED_APP_SIZE)
#define MBED_APP_SIZE 2000K
#define MBED_APP_SIZE (0x1F4000)
#endif
#define RDA_CODE_SIZE (MBED_APP_SIZE)
#define RDA_AHB1_BASE (0x40100000)

View File

@ -17,12 +17,12 @@ if (0 == RDA_PARTITION_INDEX) {
if (1 == RDA_ICACHE_DISABLE) {
define symbol RDA_CODE_BASE = RDA_FLASH_BASE + RDA_PADDR_OFST;
} else {
/* MBED_APP_START */
if (!isdefinedsymbol(MBED_APP_START)) {
/* MBED_APP_START */
if (!isdefinedsymbol(MBED_APP_START)) {
define symbol RDA_CODE_BASE = RDA_ICACHE_BASE + RDA_PADDR_OFST;
else
} else {
define symbol RDA_CODE_BASE = MBED_APP_START;
}
}
define symbol RDA_CODE_END = RDA_CODE_BASE + 0x1F3FFF;
define symbol RDA_AHB1_BASE = 0x40100000;