diff --git a/bsp/fm3/board.h b/bsp/fm3/board.h index 95fb18e416b4ae10ea198537621bce4c23c75f3b..251b4b31f26c16ee3f521b646c777388c31cf85b 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 5abdf95d14f1160e86afc686cf817b7385b0bb5f..ff723823ce6e9b9cf4385e6b241ad9ee1954b415 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###*/