mirror of https://github.com/ARMmbed/mbed-os.git
Fix Syntax Error for IAR & ARMCC
parent
417051244d
commit
749302fc0b
|
@ -31,7 +31,7 @@
|
||||||
#endif /* RDA_ICACHE_DISABLE */
|
#endif /* RDA_ICACHE_DISABLE */
|
||||||
|
|
||||||
#if !defined(MBED_APP_SIZE)
|
#if !defined(MBED_APP_SIZE)
|
||||||
#define MBED_APP_SIZE 2000K
|
#define MBED_APP_SIZE (0x1F4000)
|
||||||
#endif
|
#endif
|
||||||
#define RDA_CODE_SIZE (MBED_APP_SIZE)
|
#define RDA_CODE_SIZE (MBED_APP_SIZE)
|
||||||
#define RDA_AHB1_BASE (0x40100000)
|
#define RDA_AHB1_BASE (0x40100000)
|
||||||
|
|
|
@ -17,12 +17,12 @@ if (0 == RDA_PARTITION_INDEX) {
|
||||||
if (1 == RDA_ICACHE_DISABLE) {
|
if (1 == RDA_ICACHE_DISABLE) {
|
||||||
define symbol RDA_CODE_BASE = RDA_FLASH_BASE + RDA_PADDR_OFST;
|
define symbol RDA_CODE_BASE = RDA_FLASH_BASE + RDA_PADDR_OFST;
|
||||||
} else {
|
} else {
|
||||||
|
/* MBED_APP_START */
|
||||||
/* MBED_APP_START */
|
if (!isdefinedsymbol(MBED_APP_START)) {
|
||||||
if (!isdefinedsymbol(MBED_APP_START)) {
|
|
||||||
define symbol RDA_CODE_BASE = RDA_ICACHE_BASE + RDA_PADDR_OFST;
|
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_BASE = MBED_APP_START;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
define symbol RDA_CODE_END = RDA_CODE_BASE + 0x1F3FFF;
|
define symbol RDA_CODE_END = RDA_CODE_BASE + 0x1F3FFF;
|
||||||
define symbol RDA_AHB1_BASE = 0x40100000;
|
define symbol RDA_AHB1_BASE = 0x40100000;
|
||||||
|
|
Loading…
Reference in New Issue