summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordzzxzz <[email protected]>2011-03-07 01:23:10 +0000
committerdzzxzz <[email protected]>2011-03-07 01:23:10 +0000
commit804e48e7bfab44746e8af529a25fa55a3eac9ffb (patch)
tree4d7dc4228efcbb57fc698771ebfeed0361e563c7
parent07b8413530a70fc04d4724fb7dc7f36c99a131a1 (diff)
change the Fujitsu MB9BF500R start address of RAM from 0x20000000 to 0x1FFFC000
change the HEAP size from 0x400 to 0x0 in the FM3_easy_kit project git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1315 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--bsp/fm3/board.h2
-rw-r--r--bsp/fm3/mb9bf500r.icf4
2 files changed, 3 insertions, 3 deletions
diff --git a/bsp/fm3/board.h b/bsp/fm3/board.h
index 95fb18e416..251b4b31f2 100644
--- a/bsp/fm3/board.h
+++ b/bsp/fm3/board.h
@@ -34,7 +34,7 @@
//MB9BF505 : 48
//MB9BF506 : 64
#define FM3_SRAM_SIZE 32
-#define FM3_SRAM_END (0x20000000 + FM3_SRAM_SIZE * 1024)
+#define FM3_SRAM_END (0x1FFFC000 + FM3_SRAM_SIZE * 1024)
void rt_hw_led_on(int n);
void rt_hw_led_off(int n);
diff --git a/bsp/fm3/mb9bf500r.icf b/bsp/fm3/mb9bf500r.icf
index 5abdf95d14..ff723823ce 100644
--- a/bsp/fm3/mb9bf500r.icf
+++ b/bsp/fm3/mb9bf500r.icf
@@ -6,11 +6,11 @@ define symbol __ICFEDIT_intvec_start__ = 0x00000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF;
-define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
+define symbol __ICFEDIT_region_RAM_start__ = 0x1FFFC000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x800;
-define symbol __ICFEDIT_size_heap__ = 0x400;
+define symbol __ICFEDIT_size_heap__ = 0x0;
/**** End of ICF editor section. ###ICF###*/