vectorrom   (RX)  : ORIGIN = 0x00000000, LENGTH = 0x00000400\r
    cfmprotrom  (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000020   \r
    code        (RX)  : ORIGIN = 0x00000500, LENGTH = 0x0001FB00\r
-   vectorram   (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400\r
    userram     (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00003C00\r
 }\r
 \r
 SECTIONS {\r
 \r
 # Heap and Stack sizes definition\r
-       ___heap_size      = 0x1000;\r
-       ___stack_size     = 0x1000;\r
+       ___heap_size      = 0x4;\r
+       ___stack_size     = 0x200;\r
+       \r
 \r
 \r
 \r
    \r
   .userram       : {} > userram                \r
   .code            : {} > code         \r
-  .vectorram   : {} > vectorram                        \r
        \r
        .vectors :\r
        {\r
                . = ALIGN (0x4);\r
        } >> userram\r
        \r
-       ___VECTOR_RAM           = ADDR(.vectorram);\r
+#      ___VECTOR_RAM           = ADDR(.vectorram);\r
        \r
        __SP_INIT               = ___SP_INIT;\r
 \r
 
 #define configCPU_CLOCK_HZ                             ( ( unsigned portLONG ) 80000000 )\r
 #define configTICK_RATE_HZ                             ( ( portTickType ) 100 )\r
 #define configMINIMAL_STACK_SIZE               ( ( unsigned portSHORT ) 160 )\r
-#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 0 ) ) /* The heap size is worked out from the linker script, so this constant is not used. */\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 10 * 1024 ) ) /* The heap size is worked out from the linker script, so this constant is not used. */\r
 #define configMAX_TASK_NAME_LEN                        ( 12 )\r
 #define configUSE_TRACE_FACILITY               1\r
 #define configUSE_16_BIT_TICKS                 0\r
 
 \r
 #define REGISTER_ABI __REGABI__\r
 \r
-extern __declspec(system) unsigned long __VECTOR_RAM[];\r
-#define VECTOR_RAM_ADDRESS    (uint32)__VECTOR_RAM\r
+\r
+extern void vPIT0InterruptHandler( void );\r
+extern void vPortYieldISR( void );\r
+extern void vFECISRHandler( void );\r
 \r
 /***********************************************************************/\r
 /*\r
    asm_exception_handler,           /*  77 (0x134) Device-specific interrupts */\r
    asm_exception_handler,           /*  78 (0x138) Device-specific interrupts */\r
    asm_exception_handler,           /*  79 (0x13C) Device-specific interrupts */\r
-   asm_exception_handler,           /*  80 (0x140) Device-specific interrupts */\r
+   vPortYieldISR,                      /*  80 (0x140) Device-specific interrupts */\r
    asm_exception_handler,           /*  81 (0x144) Device-specific interrupts */\r
    asm_exception_handler,           /*  82 (0x148) Device-specific interrupts */\r
    asm_exception_handler,           /*  83 (0x14C) Device-specific interrupts */\r
    asm_exception_handler,           /* 116 (0x___) Reserved                   */\r
    asm_exception_handler,           /* 117 (0x___) Reserved                   */\r
    asm_exception_handler,           /* 118 (0x___) Reserved                   */\r
-   asm_exception_handler,           /* 119 (0x___) Reserved                   */\r
+   vPIT0InterruptHandler,           /* 119 (0x___) Reserved                   */\r
    asm_exception_handler,           /* 120 (0x___) Reserved                   */\r
    asm_exception_handler,           /* 121 (0x___) Reserved                   */\r
    asm_exception_handler,           /* 122 (0x___) Reserved                   */\r
  */ \r
 void initialize_exceptions(void)\r
 {\r
+#if 0\r
        /*\r
         * Memory map definitions from linker command files used by mcf5xxx_startup\r
         */\r
                        __VECTOR_RAM[n] = (unsigned long)_vect[n];\r
        }\r
        mcf5xxx_wr_vbr((unsigned long)__VECTOR_RAM);\r
+#endif\r
+\r
+       mcf5xxx_wr_vbr((unsigned long)_vect);\r
 }\r
 \r
 #ifdef __cplusplus\r