Skip to content

Commit 749302f

Browse files
committed
Fix Syntax Error for IAR & ARMCC
1 parent 4170512 commit 749302f

File tree

2 files changed

+5
-5
lines changed
  • targets/TARGET_RDA/TARGET_UNO_91H/device

2 files changed

+5
-5
lines changed

targets/TARGET_RDA/TARGET_UNO_91H/device/TOOLCHAIN_ARM_STD/TARGET_UNO_91H/RDA5981C.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#endif /* RDA_ICACHE_DISABLE */
3232

3333
#if !defined(MBED_APP_SIZE)
34-
#define MBED_APP_SIZE 2000K
34+
#define MBED_APP_SIZE (0x1F4000)
3535
#endif
3636
#define RDA_CODE_SIZE (MBED_APP_SIZE)
3737
#define RDA_AHB1_BASE (0x40100000)

targets/TARGET_RDA/TARGET_UNO_91H/device/TOOLCHAIN_IAR/TARGET_UNO_91H/RDA5981C.icf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ if (0 == RDA_PARTITION_INDEX) {
1717
if (1 == RDA_ICACHE_DISABLE) {
1818
define symbol RDA_CODE_BASE = RDA_FLASH_BASE + RDA_PADDR_OFST;
1919
} else {
20-
21-
/* MBED_APP_START */
22-
if (!isdefinedsymbol(MBED_APP_START)) {
20+
/* MBED_APP_START */
21+
if (!isdefinedsymbol(MBED_APP_START)) {
2322
define symbol RDA_CODE_BASE = RDA_ICACHE_BASE + RDA_PADDR_OFST;
24-
else
23+
} else {
2524
define symbol RDA_CODE_BASE = MBED_APP_START;
25+
}
2626
}
2727
define symbol RDA_CODE_END = RDA_CODE_BASE + 0x1F3FFF;
2828
define symbol RDA_AHB1_BASE = 0x40100000;

0 commit comments

Comments
 (0)