Browse Source

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

dzzxzz 14 years ago
parent
commit
804e48e7bf
2 changed files with 3 additions and 3 deletions
  1. 1 1
      bsp/fm3/board.h
  2. 2 2
      bsp/fm3/mb9bf500r.icf

+ 1 - 1
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);

+ 2 - 2
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###*/