Commit b0d84eb2 authored by hu's avatar hu

改配置

parent a07d8777
...@@ -56,9 +56,9 @@ CONSTANTS ...@@ -56,9 +56,9 @@ CONSTANTS
MEMORY MEMORY
{ {
//#if (WITHOUT_BOOT) //#if (WITHOUT_BOOT)
iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k //iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k
//#else //#else
//iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k
//#endif //#endif
iRAM_0 : ORIGIN = 0xFEB80000, LENGTH = 512k /* RAM addres space seen by external bus masters */ iRAM_0 : ORIGIN = 0xFEB80000, LENGTH = 512k /* RAM addres space seen by external bus masters */
...@@ -74,9 +74,9 @@ SECTIONS ...@@ -74,9 +74,9 @@ SECTIONS
.intvect :>iROM_0 /* start of interrupt vector */ .intvect :>iROM_0 /* start of interrupt vector */
//#if (WITHOUT_BOOT) //#if (WITHOUT_BOOT)
.intvect_end 0x000600 :>. /* end of interrupt vector */ //.intvect_end 0x000600 :>. /* end of interrupt vector */
//#else //#else
//.intvect_end 0x200a00 :>. /* end of interrupt vector */ .intvect_end 0x200a00 :>. /* end of interrupt vector */
//#endif //#endif
.text align(4) :>. /* program code area */ .text align(4) :>. /* program code area */
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "r_fdl_types.h" #include "r_fdl_types.h"
#include "fdl_descriptor.h" #include "fdl_descriptor.h"
#define WITHOUT_BOOT 1 #define WITHOUT_BOOT 0
/* Private typedef -----------------------------------------------------------*/ /* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/ /* 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