From 804e48e7bfab44746e8af529a25fa55a3eac9ffb Mon Sep 17 00:00:00 2001 From: dzzxzz Date: Mon, 7 Mar 2011 01:23:10 +0000 Subject: [PATCH] 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 --- bsp/fm3/board.h | 2 +- bsp/fm3/mb9bf500r.icf | 4 ++-- 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###*/ -- GitLab