Commit b0d84eb2 authored by hu's avatar hu

改配置

parent a07d8777
......@@ -56,9 +56,9 @@ CONSTANTS
MEMORY
{
//#if (WITHOUT_BOOT)
iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k
//iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k
//#else
//iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k
iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k
//#endif
iRAM_0 : ORIGIN = 0xFEB80000, LENGTH = 512k /* RAM addres space seen by external bus masters */
......@@ -74,9 +74,9 @@ SECTIONS
.intvect :>iROM_0 /* start of interrupt vector */
//#if (WITHOUT_BOOT)
.intvect_end 0x000600 :>. /* end of interrupt vector */
//.intvect_end 0x000600 :>. /* end of interrupt vector */
//#else
//.intvect_end 0x200a00 :>. /* end of interrupt vector */
.intvect_end 0x200a00 :>. /* end of interrupt vector */
//#endif
.text align(4) :>. /* program code area */
......
......@@ -49,7 +49,7 @@
#include "r_fdl_types.h"
#include "fdl_descriptor.h"
#define WITHOUT_BOOT 1
#define WITHOUT_BOOT 0
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment