+++ /dev/null
-;------------------------------------------------------------------------------\r
-;- ATMEL Microcontroller Software Support - ROUSSET -\r
-;------------------------------------------------------------------------------\r
-; The software is delivered "AS IS" without warranty or condition of any\r
-; kind, either express, implied or statutory. This includes without\r
-; limitation any warranty or condition with respect to merchantability or\r
-; fitness for any particular purpose, or against the infringements of\r
-; intellectual property rights of others.\r
-;-----------------------------------------------------------------------------\r
-;- File source : Cstartup.s79\r
-;- Object : Generic CStartup for IAR No Use REMAP\r
-;- Compilation flag : None\r
-;-\r
-;- 1.0 15/Jun/04 JPP : Creation\r
-;------------------------------------------------------------------------------\r
-\r
-#include "AT91SAM7S64_inc.h"\r
-\r
-;------------------------------------------------------------------------------\r
-;- Area Definition\r
-;------------------------------------------------------------------------------\r
-\r
-;---------------------------------------------------------------\r
-; ?RESET\r
-; Reset Vector.\r
-; Normally, segment INTVEC is linked at address 0.\r
-; For debugging purposes, INTVEC may be placed at other\r
-; addresses.\r
-; A debugger that honors the entry point will start the\r
-; program in a normal way even if INTVEC is not at address 0.\r
-;-------------------------------------------------------------\r
-\r
- PROGRAM ?RESET\r
- RSEG INTRAMSTART_REMAP\r
- RSEG INTRAMEND_REMAP\r
-\r
- EXTERN vPortYieldProcessor\r
-\r
- RSEG ICODE:CODE:ROOT(2)\r
- CODE32 ; Always ARM mode after reset \r
- org 0 \r
-reset \r
-;------------------------------------------------------------------------------\r
-;- Exception vectors \r
-;--------------------\r
-;- These vectors can be read at address 0 or at RAM address\r
-;- They ABSOLUTELY requires to be in relative addresssing mode in order to\r
-;- guarantee a valid jump. For the moment, all are just looping.\r
-;- If an exception occurs before remap, this would result in an infinite loop.\r
-;- To ensure if a exeption occurs before start application to infinite loop.\r
-;------------------------------------------------------------------------------\r
-\r
- B InitReset ; 0x00 Reset handler\r
-undefvec:\r
- B undefvec ; 0x04 Undefined Instruction\r
-swivec:\r
- B vPortYieldProcessor ; 0x08 Software Interrupt\r
-pabtvec:\r
- B pabtvec ; 0x0C Prefetch Abort\r
-dabtvec:\r
- B dabtvec ; 0x10 Data Abort\r
-rsvdvec:\r
- B rsvdvec ; 0x14 reserved\r
-irqvec:\r
- LDR PC, [PC, #-0xF20] ; Jump directly to the address given by the AIC\r
-\r
-fiqvec: ; 0x1c FIQ\r
-\r
-;------------------------------------------------------------------------------\r
-;- Function : FIQ_Handler_Entry\r
-;- Treatments : FIQ Controller Interrupt Handler.\r
-;- Called Functions : AIC_FVR[interrupt] \r
-;------------------------------------------------------------------------------\r
-\r
-FIQ_Handler_Entry:\r
-\r
-;- Switch in SVC/User Mode to allow User Stack access for C code \r
-; because the FIQ is not yet acknowledged\r
-\r
-;- Save and r0 in FIQ_Register \r
- mov r9,r0\r
- ldr r0 , [r8, #AIC_FVR]\r
- msr CPSR_c,#I_BIT | F_BIT | ARM_MODE_SVC\r
-\r
-;- Save scratch/used registers and LR in User Stack\r
- stmfd sp!, { r1-r3, r12, lr}\r
-\r
-;- Branch to the routine pointed by the AIC_FVR\r
- mov r14, pc\r
- bx r0\r
-\r
-;- Restore scratch/used registers and LR from User Stack\r
- ldmia sp!, { r1-r3, r12, lr}\r
-\r
-;- Leave Interrupts disabled and switch back in FIQ mode\r
- msr CPSR_c, #I_BIT | F_BIT | ARM_MODE_FIQ\r
-\r
-;- Restore the R0 ARM_MODE_SVC register \r
- mov r0,r9\r
-\r
-;- Restore the Program Counter using the LR_fiq directly in the PC\r
- subs pc,lr,#4\r
-\r
-InitReset:\r
-;------------------------------------------------------------------------------\r
-;- Low level Init (PMC, AIC, ? ....) by C function AT91F_LowLevelInit\r
-;------------------------------------------------------------------------------\r
- EXTERN AT91F_LowLevelInit\r
-\r
-#define __iramend SFB(INTRAMEND_REMAP)\r
-\r
-;- minumum C initialization\r
-;- call AT91F_LowLevelInit( void)\r
-\r
- ldr r13,=__iramend ; temporary stack in internal RAM\r
-;--Call Low level init function in ABSOLUTE through the Interworking\r
- ldr r0,=AT91F_LowLevelInit\r
- mov lr, pc\r
- bx r0\r
-;------------------------------------------------------------------------------\r
-;- Stack Sizes Definition\r
-;------------------------\r
-;- Interrupt Stack requires 2 words x 8 priority level x 4 bytes when using\r
-;- the vectoring. This assume that the IRQ management.\r
-;- The Interrupt Stack must be adjusted depending on the interrupt handlers.\r
-;- Fast Interrupt not requires stack If in your application it required you must\r
-;- be definehere.\r
-;- The System stack size is not defined and is limited by the free internal\r
-;- SRAM.\r
-;------------------------------------------------------------------------------\r
-\r
-;------------------------------------------------------------------------------\r
-;- Top of Stack Definition\r
-;-------------------------\r
-;- Interrupt and Supervisor Stack are located at the top of internal memory in \r
-;- order to speed the exception handling context saving and restoring.\r
-;- ARM_MODE_SVC (Application, C) Stack is located at the top of the external memory.\r
-;------------------------------------------------------------------------------\r
-\r
-IRQ_STACK_SIZE EQU 300\r
-\r
-ARM_MODE_FIQ EQU 0x11\r
-ARM_MODE_IRQ EQU 0x12\r
-ARM_MODE_SVC EQU 0x13\r
-\r
-I_BIT EQU 0x80\r
-F_BIT EQU 0x40\r
-\r
-;------------------------------------------------------------------------------\r
-;- Setup the stack for each mode\r
-;-------------------------------\r
- ldr r0, =__iramend\r
-\r
-;- Set up Fast Interrupt Mode and set FIQ Mode Stack\r
- msr CPSR_c, #ARM_MODE_FIQ | I_BIT | F_BIT\r
-;- Init the FIQ register\r
- ldr r8, =AT91C_BASE_AIC\r
-\r
-;- Set up Interrupt Mode and set IRQ Mode Stack\r
- msr CPSR_c, #ARM_MODE_IRQ | I_BIT | F_BIT\r
- mov r13, r0 ; Init stack IRQ\r
- sub r0, r0, #IRQ_STACK_SIZE\r
-\r
-;- Enable interrupt & Set up Supervisor Mode and set Supervisor Mode Stack\r
- msr CPSR_c, #ARM_MODE_SVC \r
- mov r13, r0 \r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?CSTARTUP\r
-;---------------------------------------------------------------\r
- EXTERN __segment_init\r
- EXTERN main\r
-; Initialize segments.\r
-; __segment_init is assumed to use\r
-; instruction set and to be reachable by BL from the ICODE segment\r
-; (it is safest to link them in segment ICODE).\r
- ldr r0,=__segment_init\r
- mov lr, pc\r
- bx r0\r
-\r
- PUBLIC __main\r
-?jump_to_main:\r
- ldr lr,=?call_exit\r
- ldr r0,=main\r
-__main:\r
- bx r0\r
-\r
-;------------------------------------------------------------------------------\r
-;- Loop for ever\r
-;---------------\r
-;- End of application. Normally, never occur.\r
-;- Could jump on Software Reset ( B 0x0 ).\r
-;------------------------------------------------------------------------------\r
-?call_exit:\r
-End\r
- b End\r
-\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?EXEPTION_VECTOR\r
-; This module is only linked if needed for closing files.\r
-;---------------------------------------------------------------\r
- PUBLIC AT91F_Default_FIQ_handler\r
- PUBLIC AT91F_Default_IRQ_handler\r
- PUBLIC AT91F_Spurious_handler\r
-\r
- CODE32 ; Always ARM mode after exeption \r
-\r
-AT91F_Default_FIQ_handler\r
- b AT91F_Default_FIQ_handler\r
-\r
-AT91F_Default_IRQ_handler\r
- b AT91F_Default_IRQ_handler\r
-\r
-AT91F_Spurious_handler\r
- b AT91F_Spurious_handler\r
-\r
- ENDMOD\r
-\r
- END\r
-\r
+++ /dev/null
-// ---------------------------------------------------------\r
-// ATMEL Microcontroller Software Support - ROUSSET -\r
-// ---------------------------------------------------------\r
-// The software is delivered "AS IS" without warranty or \r
-// condition of any kind, either express, implied or \r
-// statutory. This includes without limitation any warranty \r
-// or condition with respect to merchantability or fitness \r
-// for any particular purpose, or against the infringements of\r
-// intellectual property rights of others.\r
-// ---------------------------------------------------------\r
-// File: at91SAM7S64_16KRAM.xlc\r
-//\r
-// 1.1 16/Jun/04 JPP : Creation for 4.11A\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//\r
-// ---------------------------------------------------------\r
-\r
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-// AT91SAM7S64 Memory mapping\r
-// No remap\r
-// ROMSTART\r
-// Start address 0x0000 0000 \r
-// Size 64 Kbo 0x0001 0000 \r
-// RAMSTART\r
-// Start address 0x0020 0000 \r
-// Size 16 Kbo 0x0000 4000 \r
-// Remap done\r
-// RAMSTART\r
-// Start address 0x0000 0000 \r
-// Size 16 Kbo 0x0000 4000 \r
-// ROMSTART\r
-// Start address 0x0010 0000 \r
-// Size 64 Kbo 0x0001 0000 \r
-\r
-//************************************************\r
--carm\r
-\r
-//*************************************************************************\r
-// Internal Ram segments mapped AFTER REMAP 16 K.\r
-//*************************************************************************\r
-// Use these addresses for the .\r
--Z(CONST)INTRAMSTART_REMAP=00000000\r
--Z(CONST)INTRAMEND_REMAP=00003FFF\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to Flash 64 K.\r
-//*************************************************************************\r
--DROMSTART=00000000\r
--DROMEND=0000FFFF\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
--DRAMSTART=00000000\r
--DRAMEND=00003FFF\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
--Z(CODE)INTVEC=00-3F\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
--D_CSTACK_SIZE=(100*4)\r
--D_IRQ_STACK_SIZE=(2*8*4)\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-// ---------------------------------------------------------\r
-// ATMEL Microcontroller Software Support - ROUSSET -\r
-// ---------------------------------------------------------\r
-// The software is delivered "AS IS" without warranty or \r
-// condition of any kind, either express, implied or \r
-// statutory. This includes without limitation any warranty \r
-// or condition with respect to merchantability or fitness \r
-// for any particular purpose, or against the infringements of\r
-// intellectual property rights of others.\r
-// ---------------------------------------------------------\r
-// File: at91SAM7S64_NoRemap.xlc\r
-//\r
-// 1.1 16/Jun/04 JPP : Creation for 4.11A\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//\r
-// ---------------------------------------------------------\r
-\r
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-// AT91SAM7S64 Memory mapping\r
-// No remap\r
-// ROMSTART\r
-// Start address 0x0000 0000 \r
-// Size 64 Kbo 0x0001 0000 \r
-// RAMSTART\r
-// Start address 0x0020 0000 \r
-// Size 16 Kbo 0x0000 4000 \r
-// Remap done\r
-// RAMSTART\r
-// Start address 0x0000 0000 \r
-// Size 16 Kbo 0x0000 4000 \r
-// ROMSTART\r
-// Start address 0x0010 0000 \r
-// Size 64 Kbo 0x0001 0000 \r
-\r
-//************************************************\r
--carm\r
-\r
-//*************************************************************************\r
-// Internal Ram segments mapped AFTER REMAP 16 K.\r
-//*************************************************************************\r
-// Use these addresses for the .\r
--Z(CONST)INTRAMSTART_REMAP=00200000\r
--Z(CONST)INTRAMEND_REMAP=00203FFF\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to Flash 64 K.\r
-//*************************************************************************\r
--DROMSTART=00000000\r
--DROMEND=0000FFFF\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
--DRAMSTART=00200000\r
--DRAMEND=002003FFF\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
--Z(CODE)INTVEC=00-3F\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-//-D_CSTACK_SIZE=(100*4)\r
-//-D_IRQ_STACK_SIZE=(2*8*4)\r
-\r
-//-Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-;-----------------------------------------------------------------------------\r
-; This file contains the startup code used by the ICCARM C compiler.\r
-;\r
-; The modules in this file are included in the libraries, and may be replaced\r
-; by any user-defined modules that define the PUBLIC symbol _program_start or\r
-; a user defined start symbol.\r
-; To override the cstartup defined in the library, simply add your modified\r
-; version to the workbench project.\r
-;\r
-; All code in the modules (except ?RESET) will be placed in the ICODE segment.\r
-;\r
-; $Revision: 1.56 $\r
-;\r
-;-----------------------------------------------------------------------------\r
- \r
-;\r
-; Naming covention of labels in this file:\r
-;\r
-; ?xxx - External labels only accessed from assembler.\r
-; __xxx - External labels accessed from or defined in C.\r
-; xxx - Labels local to one module (note: this file contains\r
-; several modules).\r
-; main - The starting point of the user program.\r
-;\r
-\r
-;---------------------------------------------------------------\r
-; Macros and definitions for the whole file\r
-;---------------------------------------------------------------\r
-\r
-; Mode, correspords to bits 0-5 in CPSR\r
-MODE_BITS DEFINE 0x1F ; Bit mask for mode bits in CPSR\r
-USR_MODE DEFINE 0x10 ; User mode\r
-FIQ_MODE DEFINE 0x11 ; Fast Interrupt Request mode\r
-IRQ_MODE DEFINE 0x12 ; Interrupt Request mode\r
-SVC_MODE DEFINE 0x13 ; Supervisor mode\r
-ABT_MODE DEFINE 0x17 ; Abort mode\r
-UND_MODE DEFINE 0x1B ; Undefined Instruction mode\r
-SYS_MODE DEFINE 0x1F ; System mode\r
- \r
-I_Bit DEFINE 0x80 ; IRQ Disable Bit\r
-F_Bit DEFINE 0x40 ; FIQ Disable Bit\r
-\r
-;---------------------------------------------------------------\r
-; ?RESET\r
-; Reset Vector.\r
-; Normally, segment INTVEC is linked at address 0.\r
-; For debugging purposes, INTVEC may be placed at other\r
-; addresses.\r
-; A debugger that honors the entry point will start the\r
-; program in a normal way even if INTVEC is not at address 0.\r
-;---------------------------------------------------------------\r
-\r
- MODULE ?RESET\r
- COMMON INTVEC:CODE:NOROOT(2)\r
- PUBLIC __program_start\r
- EXTERN ?cstartup\r
- EXTERN undef_handler, swi_handler, prefetch_handler\r
- EXTERN data_handler, irq_handler, fiq_handler\r
- EXTERN vPortYieldProcessor\r
-\r
- CODE32 ; Always ARM mode after reset \r
-\r
-__program_start\r
-\r
- org 0x00\r
-\r
- B InitReset ; 0x00 Reset handler\r
- undefvec:\r
- B undefvec ; 0x04 Undefined Instruction\r
- swivec:\r
- B vPortYieldProcessor ; 0x08 Software Interrupt\r
- pabtvec:\r
- B pabtvec ; 0x0C Prefetch Abort\r
- dabtvec:\r
- B dabtvec ; 0x10 Data Abort\r
- rsvdvec:\r
- B rsvdvec ; 0x14 reserved\r
- irqvec:\r
- LDR PC, [PC, #-0xFF0] ; Jump directly to the address given by the AIC\r
- \r
- fiqvec: ; 0x1c FIQ\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?CSTARTUP\r
-;---------------------------------------------------------------\r
-\r
- RSEG IRQ_STACK:DATA(2)\r
- RSEG SVC_STACK:DATA:NOROOT(2)\r
- RSEG CSTACK:DATA(2)\r
- RSEG ICODE:CODE:NOROOT(2)\r
- EXTERN ?main\r
-\r
-; Execution starts here.\r
-; After a reset, the mode is ARM, Supervisor, interrupts disabled.\r
-\r
-\r
- CODE32\r
-\r
-InitReset\r
-\r
-; Add initialization needed before setup of stackpointers here\r
-\r
-\r
-; Initialize the stack pointers.\r
-; The pattern below can be used for any of the exception stacks:\r
-; FIQ, IRQ, SVC, ABT, UND, SYS.\r
-; The USR mode uses the same stack as SYS.\r
-; The stack segments must be defined in the linker command file,\r
-; and be declared above.\r
- mrs r0,cpsr ; Original PSR value\r
- bic r0,r0,#MODE_BITS ; Clear the mode bits\r
- orr r0,r0,#IRQ_MODE ; Set IRQ mode bits\r
- msr cpsr_c,r0 ; Change the mode\r
- ldr sp,=SFE(IRQ_STACK) & 0xFFFFFFF8 ; End of IRQ_STACK\r
-\r
- bic r0,r0,#MODE_BITS ; Clear the mode bits\r
- orr r0,r0,#SYS_MODE ; Set System mode bits\r
- msr cpsr_c,r0 ; Change the mode\r
- ldr sp,=SFE(CSTACK) & 0xFFFFFFF8 ; End of CSTACK\r
-\r
- bic r0,r0,#MODE_BITS ; Clear the mode bits\r
- orr r0,r0,#SVC_MODE ; Set System mode bits\r
- msr cpsr_c,r0 ; Change the mode\r
- ldr sp,=SFE(SVC_STACK) & 0xFFFFFFF8 ; End of CSTACK\r
-\r
-; Must start in supervisor mode.\r
- MSR CPSR_c, #SVC_MODE|I_Bit|F_Bit\r
-\r
-\r
-; Add more initialization here\r
-\r
-\r
-; Continue to ?main for more IAR specific system startup\r
-\r
- ldr r0,=?main\r
- bx r0\r
-\r
-\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?EXEPTION_VECTOR\r
-; This module is only linked if needed for closing files.\r
-;---------------------------------------------------------------\r
- PUBLIC AT91F_Default_FIQ_handler\r
- PUBLIC AT91F_Default_IRQ_handler\r
- PUBLIC AT91F_Spurious_handler\r
-\r
- CODE32 ; Always ARM mode after exeption \r
-\r
-AT91F_Default_FIQ_handler\r
- b AT91F_Default_FIQ_handler\r
-\r
-AT91F_Default_IRQ_handler\r
- b AT91F_Default_IRQ_handler\r
-\r
-AT91F_Spurious_handler\r
- b AT91F_Spurious_handler\r
-\r
- ENDMOD\r
-\r
- END\r
-\r
-\r
-\r
-\r
- ENDMOD\r
- END\r
-\r
-\r
-\r
-\r
+++ /dev/null
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1 $\r
-//*************************************************************************\r
-\r
-//*************************************************************************\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// (Define other exception stacks as needed for\r
-// FIQ, ABT, UND).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation. \r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed. \r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful \r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
--DROMSTART=00000000\r
--DROMEND=00001ffff\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=00000000-0000003f\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
--DRAMSTART=40000000\r
--DRAMEND=40003fff\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
--D_CSTACK_SIZE=200\r
--D_SVC_STACK_SIZE=190\r
--D_IRQ_STACK_SIZE=190\r
--D_HEAP_SIZE=4\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)SVC_STACK+_SVC_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE,HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-<?xml version="1.0" encoding="iso-8859-1"?>\r
-\r
-<project>\r
- <fileVersion>2</fileVersion>\r
- <configuration>\r
- <name>Debug</name>\r
- <outputs>\r
- <file>$PROJ_DIR$\..\Common\Minimal\comtest.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\tasks.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\serial.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\71x_lib.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\wdg.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\semtest.r79</file>\r
- <file>$TOOLKIT_DIR$\inc\string.h</file>\r
- <file>$TOOLKIT_DIR$\inc\ysizet.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\comtest.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\BlockQ.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\include\dynamic.h</file>\r
- <file>$PROJ_DIR$\Library\include\71x_map.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\list.r79</file>\r
- <file>$PROJ_DIR$\Library\include\eic.h</file>\r
- <file>$TOOLKIT_DIR$\inc\xencoding_limits.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\list.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\ParTest.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\BlockQ.r79</file>\r
- <file>$TOOLKIT_DIR$\inc\yvals.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\main.r79</file>\r
- <file>$PROJ_DIR$\..\Common\include\partest.h</file>\r
- <file>$PROJ_DIR$\Library\include\rccu.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\portasm.r79</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\ISR_Support.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\PollQ.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\cstartup.r79</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Threads.h</file>\r
- <file>$PROJ_DIR$\FreeRTOSConfig.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\dynamic.pbi</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\FreeRTOS.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\heap_2.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\queue.r79</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\queue.h</file>\r
- <file>$TOOLKIT_DIR$\inc\stdlib.h</file>\r
- <file>$PROJ_DIR$\Library\include\wdg.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\serialISR.r79</file>\r
- <file>$TOOLKIT_DIR$\lib\dl4tptinl8n.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\heap_2.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\integer.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\rccu.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uart.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\port.pbi</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\croutine.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\queue.pbi</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Defaults.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\port.r79</file>\r
- <file>$TOOLKIT_DIR$\inc\stddef.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\comtest2.h</file>\r
- <file>$PROJ_DIR$\Library\include\71x_conf.h</file>\r
- <file>$TOOLKIT_DIR$\inc\stdio.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\serial.r79</file>\r
- <file>$PROJ_DIR$\..\Common\include\BlockQ.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\integer.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\comtest.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\71x_lib.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\main.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\dynamic.r79</file>\r
- <file>$PROJ_DIR$\Library\include\gpio.h</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Product.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\tasks.r79</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\semphr.h</file>\r
- <file>$TOOLKIT_DIR$\inc\intrinsic.h</file>\r
- <file>$PROJ_DIR$\Library\include\uart.h</file>\r
- <file>$PROJ_DIR$\Debug\Exe\RTOSDemo.sim</file>\r
- <file>$PROJ_DIR$\Debug\Obj\flash.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\integer.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\PollQ.r79</file>\r
- <file>$PROJ_DIR$\Debug\Exe\RTOSDemo.d79</file>\r
- <file>$TOOLKIT_DIR$\lib\dl4tptinl8n.r79</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\task.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uart.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\gpio.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\flash.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\vect.r79</file>\r
- <file>$PROJ_DIR$\..\Common\include\serial.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\flash.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\rccu.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\ParTest.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\PollQ.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\semtest.pbi</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\projdefs.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\list.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\comtest.pbi</file>\r
- <file>$PROJ_DIR$\Library\include\71x_type.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\gpio.r79</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\portable.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\portmacro.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\wdg.r79</file>\r
- <file>$PROJ_DIR$\..\Common\include\semtest.h</file>\r
- <file>$PROJ_DIR$\cstartup.s79</file>\r
- <file>$PROJ_DIR$\lnkarm.xcl</file>\r
- <file>$PROJ_DIR$\vect.s79</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</file>\r
- <file>$PROJ_DIR$\serial\serialISR.s79</file>\r
- <file>$PROJ_DIR$\Library\rccu.c</file>\r
- <file>$PROJ_DIR$\Library\uart.c</file>\r
- <file>$PROJ_DIR$\Library\wdg.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\list.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\port.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\portasm.s79</file>\r
- <file>$PROJ_DIR$\..\..\Source\queue.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\tasks.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\flash.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\dynamic.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\integer.c</file>\r
- <file>$PROJ_DIR$\main.c</file>\r
- <file>$PROJ_DIR$\ParTest\ParTest.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\PollQ.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\semtest.c</file>\r
- <file>$PROJ_DIR$\serial\serial.c</file>\r
- <file>$PROJ_DIR$\Library\gpio.c</file>\r
- <file>$PROJ_DIR$\Library\71x_lib.c</file>\r
- </outputs>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\comtest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 53</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 82</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 74 8 20</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>[ROOT_NODE]</name>\r
- <outputs>\r
- <tool>\r
- <name>XLINK</name>\r
- <file> 67 63</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Debug\Exe\RTOSDemo.d79</name>\r
- <outputs>\r
- <tool>\r
- <name>XLINK</name>\r
- <file> 63</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>XLINK</name>\r
- <file> 90 54 17 16 66 53 25 56 64 84 30 65 12 19 45 22 31 76 5 50 35 59 40 73 87 68</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\cstartup.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 25</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\vect.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 73</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 27</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 17</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 9</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 32 51</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\serial\serialISR.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 35</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 23</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\rccu.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 76</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 39</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 21 11 48 83</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\uart.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 40</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 70</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 62 11 48 83 21</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\wdg.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 87</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 4</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 34 11 48 83 21</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\list.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 12</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 15</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 81</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\port.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 45</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 41</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 34 11 48 83 21 13 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\portasm.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 22</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 23</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\queue.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 31</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 43</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 6 29 46 80 27 85 86 61 69 81 42</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\tasks.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 59</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 1</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 49 18 44 36 58 14 26 7 33 6 29 46 80 27 85 86 61 69 81</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\flash.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 64</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 72</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 20 75</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 30</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 37</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\dynamic.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 56</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 28</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 60 32 10</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\integer.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 65</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 38</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 52</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\main.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 19</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 55</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 21 11 48 83 34 29 46 18 44 36 58 14 26 7 80 27 85 86 61 69 81 75 52 24 51 88 10 20 47</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\ParTest\ParTest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 16</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 77</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 57 11 48 83 29 46 18 44 36 58 14 26 7 80 27 85 86 61 20</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\PollQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 66</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 78</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 32 24</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\semtest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 5</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 79</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 33 18 44 36 58 14 26 7 29 46 80 27 85 86 61 69 81 60 32 88</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\serial\serial.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 50</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 2</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 62 11 48 83 21 57 13 29 46 18 44 36 58 14 26 7 80 27 85 86 61 32 74</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\gpio.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 84</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 71</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 57 11 48 83</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\71x_lib.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 54</file>\r
- </tool>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 3</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 11 48 83</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- </configuration>\r
- <configuration>\r
- <name>Release</name>\r
- <outputs>\r
- <file>$PROJ_DIR$\Release\Obj\dynamic.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\list.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\wdg.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\ParTest.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\71x_lib.r79</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\comtest.c</file>\r
- <file>$PROJ_DIR$\Release\Obj\cstartup.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\uart.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\vect.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\portasm.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\heap_2.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\tasks.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\BlockQ.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\integer.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\rccu.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\PollQ.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\flash.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\main.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\gpio.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\semtest.r79</file>\r
- <file>$PROJ_DIR$\Release\Exe\RTOSDemo.d79</file>\r
- <file>$PROJ_DIR$\Release\Obj\serialISR.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\port.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\comtest.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\serial.r79</file>\r
- <file>$PROJ_DIR$\Release\Obj\queue.r79</file>\r
- <file>$PROJ_DIR$\cstartup.s79</file>\r
- <file>$PROJ_DIR$\vect.s79</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</file>\r
- <file>$PROJ_DIR$\serial\serialISR.s79</file>\r
- <file>$PROJ_DIR$\Library\rccu.c</file>\r
- <file>$PROJ_DIR$\Library\uart.c</file>\r
- <file>$PROJ_DIR$\Library\wdg.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\list.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\port.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\portasm.s79</file>\r
- <file>$PROJ_DIR$\..\..\Source\queue.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\tasks.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\flash.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\dynamic.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\integer.c</file>\r
- <file>$PROJ_DIR$\main.c</file>\r
- <file>$PROJ_DIR$\ParTest\ParTest.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\PollQ.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\semtest.c</file>\r
- <file>$PROJ_DIR$\serial\serial.c</file>\r
- <file>$PROJ_DIR$\Library\gpio.c</file>\r
- <file>$PROJ_DIR$\Library\71x_lib.c</file>\r
- </outputs>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\comtest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 23</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>[ROOT_NODE]</name>\r
- <outputs>\r
- <tool>\r
- <name>XLINK</name>\r
- <file> 20</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\cstartup.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 6</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\vect.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 8</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 12</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\serial\serialISR.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 21</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\rccu.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 14</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\uart.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 7</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\wdg.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 2</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\list.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 1</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\port.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 22</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\STR71x\portasm.s79</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 9</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\queue.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 25</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\tasks.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 11</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\flash.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 16</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 10</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\dynamic.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 0</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\integer.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 13</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\main.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 17</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\ParTest\ParTest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 3</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\PollQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 15</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\semtest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 19</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\serial\serial.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 24</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\gpio.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 18</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Library\71x_lib.c</name>\r
- <outputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 4</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <forcedrebuild>\r
- <name>[MULTI_TOOL]</name>\r
- <tool>XLINK</tool>\r
- </forcedrebuild>\r
- </configuration>\r
-</project>\r
-\r
-\r
+++ /dev/null
-;-----------------------------------------------------------------------------\r
-; This file contains the startup code used by the ICCARM C compiler.\r
-;\r
-; The modules in this file are included in the libraries, and may be replaced\r
-; by any user-defined modules that define the PUBLIC symbol _program_start or\r
-; a user defined start symbol.\r
-; To override the cstartup defined in the library, simply add your modified\r
-; version to the workbench project.\r
-;\r
-; All code in the modules (except ?RESET) will be placed in the ICODE segment.\r
-;\r
-; $Revision: 1.1 $\r
-;\r
-;-----------------------------------------------------------------------------\r
- \r
-;\r
-; Naming covention of labels in this file:\r
-;\r
-; ?xxx - External labels only accessed from assembler.\r
-; __xxx - External labels accessed from or defined in C.\r
-; xxx - Labels local to one module (note: this file contains\r
-; several modules).\r
-; main - The starting point of the user program.\r
-;\r
-\r
-;---------------------------------------------------------------\r
-; Macros and definitions for the whole file\r
-;---------------------------------------------------------------\r
-\r
-\r
-; --- Standard definitions of mode bits and interrupt (I & F) flags in PSRs\r
-\r
-\r
-\r
-Mode_USR DEFINE 0x10\r
-Mode_FIQ DEFINE 0x11\r
-Mode_IRQ DEFINE 0x12\r
-Mode_SVC DEFINE 0x13\r
-Mode_ABT DEFINE 0x17\r
-Mode_UNDEF DEFINE 0x1B\r
-Mode_SYS DEFINE 0x1F ; available on ARM Arch 4 and later\r
-\r
-I_Bit DEFINE 0x80 ; when I bit is set, IRQ is disabled\r
-F_Bit DEFINE 0x40 ; when F bit is set, FIQ is disabled\r
-\r
-\r
-; --- System memory locations\r
-\r
-RAM_Base DEFINE 0x20000000\r
-RAM_Limit DEFINE 0x20010000\r
-SRAM_Base DEFINE 0x60000000\r
-\r
-SVC_Stack DEFINE RAM_Limit ; 512 byte SVC stack at\r
- ; top of memory - used by kernel.\r
-IRQ_Stack DEFINE SVC_Stack-512 ; followed by IRQ stack\r
-USR_Stack DEFINE IRQ_Stack-512 ; followed by USR stack. Tasks run in\r
- ; system mode but task stacks are allocated\r
- ; when the task is created.\r
-FIQ_Stack DEFINE USR_Stack-8 ; followed by FIQ stack\r
-ABT_Stack DEFINE FIQ_Stack-8 ; followed by ABT stack\r
-UNDEF_Stack DEFINE ABT_Stack-8 ; followed by UNDEF stack\r
-\r
-EIC_Base_addr DEFINE 0xFFFFF800 ; EIC base address\r
-ICR_off_addr DEFINE 0x00 ; Interrupt Control register offset\r
-CIPR_off_addr DEFINE 0x08 ; Current Interrupt Priority Register offset\r
-IVR_off_addr DEFINE 0x18 ; Interrupt Vector Register offset\r
-FIR_off_addr DEFINE 0x1C ; Fast Interrupt Register offset\r
-IER_off_addr DEFINE 0x20 ; Interrupt Enable Register offset\r
-IPR_off_addr DEFINE 0x40 ; Interrupt Pending Bit Register offset\r
-SIR0_off_addr DEFINE 0x60 ; Source Interrupt Register 0\r
-\r
-EMI_Base_addr DEFINE 0x6C000000 ; EMI base address\r
-BCON0_off_addr DEFINE 0x00 ; Bank 0 configuration register offset\r
-BCON1_off_addr DEFINE 0x04 ; Bank 1 configuration register offset\r
-BCON2_off_addr DEFINE 0x08 ; Bank 2 configuration register offset\r
-BCON3_off_addr DEFINE 0x0C ; Bank 3 configuration register offset\r
-\r
-GPIO2_Base_addr DEFINE 0xE0005000 ; GPIO2 base address\r
-PC0_off_addr DEFINE 0x00 ; Port Configuration Register 0 offset\r
-PC1_off_addr DEFINE 0x04 ; Port Configuration Register 1 offset\r
-PC2_off_addr DEFINE 0x08 ; Port Configuration Register 2 offset\r
-PD_off_addr DEFINE 0x0C ; Port Data Register offset\r
-\r
-CPM_Base_addr DEFINE 0xA0000040 ; CPM Base Address\r
-BOOTCONF_off_addr DEFINE 0x10 ; CPM - Boot Configuration Register\r
-FLASH_mask DEFINE 0x0000 ; to remap FLASH at 0x0\r
-RAM_mask DEFINE 0x0002 ; to remap RAM at 0x0\r
-EXTMEM_mask DEFINE 0x0003 ; to remap EXTMEM at 0x0\r
-\r
-;---------------------------------------------------------------\r
-; ?RESET\r
-; Reset Vector.\r
-; Normally, segment INTVEC is linked at address 0.\r
-; For debugging purposes, INTVEC may be placed at other\r
-; addresses.\r
-; A debugger that honors the entry point will start the\r
-; program in a normal way even if INTVEC is not at address 0.\r
-;---------------------------------------------------------------\r
-\r
- MODULE ?RESET\r
- COMMON INTVEC:CODE:NOROOT(2)\r
- PUBLIC __program_start\r
- EXTERN ?cstartup \r
- CODE32 ; Always ARM mode after reset \r
- \r
-__program_start\r
- ldr pc,=?cstartup ; Absolute jump can reach 4 GByte\r
- b ?cstartup ; Relative branch allows remap, limited to 32 MByte\r
- \r
- LTORG\r
- ENDMOD\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?CSTARTUP\r
-;---------------------------------------------------------------\r
- MODULE ?CSTARTUP\r
-\r
-; RSEG IRQ_STACK:DATA(2)\r
-; RSEG SVC_STACK:DATA:NOROOT(2)\r
-; RSEG CSTACK:DATA(2)\r
- RSEG ICODE:CODE:NOROOT(2)\r
- PUBLIC ?cstartup\r
- EXTERN ?main\r
-\r
-\r
-\r
-\r
- CODE32\r
-?cstartup\r
-\r
-\r
- NOP ; Wait for OSC stabilization\r
- NOP\r
- NOP\r
- NOP\r
- NOP\r
- NOP\r
- NOP\r
- NOP\r
- NOP\r
- \r
-\r
- /* Setup a stack for each mode - note that this only sets up a usable stack\r
- for system/user, SWI and IRQ modes. Also each mode is setup with\r
- interrupts initially disabled. */\r
- msr CPSR_c, #Mode_UNDEF|I_Bit|F_Bit /* Undefined Instruction Mode */\r
- LDR SP, =UNDEF_Stack\r
-\r
- msr CPSR_c, #Mode_ABT|I_Bit|F_Bit /* Abort Mode */\r
- LDR SP, =ABT_Stack\r
-\r
- msr CPSR_c, #Mode_FIQ|I_Bit|F_Bit /* FIQ Mode */\r
- LDR SP, =FIQ_Stack\r
-\r
- msr CPSR_c, #Mode_IRQ|I_Bit|F_Bit /* IRQ Mode */\r
- LDR SP, =IRQ_Stack\r
-\r
- msr CPSR_c, #Mode_SVC|I_Bit|F_Bit /* Supervisor Mode */\r
- LDR SP, =SVC_Stack\r
-\r
- msr CPSR_c, #Mode_SYS|I_Bit|F_Bit /* System Mode */\r
- LDR SP, =USR_Stack\r
-\r
- /* We want to start in supervisor mode. Operation will switch to system\r
- mode when the first task starts. */\r
- msr CPSR_c, #Mode_SVC|I_Bit|F_Bit\r
-\r
-\r
- IMPORT T0TIMI_Addr\r
-\r
-EIC_INIT\r
- LDR r3, =EIC_Base_addr\r
- LDR r4, =0x00000000\r
- STR r4, [r3, #ICR_off_addr] ; Disable FIQ and IRQ\r
- STR r4, [r3, #IER_off_addr] ; Disable all channels interrupts\r
- LDR r4, =0xFFFFFFFF\r
- STR r4, [r3, #IPR_off_addr] ; Clear all IRQ pending bits\r
- LDR r4, =0x0C\r
- STR r4, [r3, #FIR_off_addr] ; Disable FIQ channels and clear FIQ pending bits\r
- LDR r4, =0x00000000\r
- STR r4, [r3, #CIPR_off_addr] ; Reset the current priority register\r
- LDR r4, =0xE59F0000\r
- STR r4, [r3, #IVR_off_addr] ; Write the LDR pc,pc,#offset instruction code in IVR[31:16]\r
- LDR r2, =32 ; 32 Channel to initialize\r
- LDR r0, =T0TIMI_Addr ; Read the address of the IRQs address table\r
- LDR r1, =0x00000FFF\r
- AND r0,r0,r1\r
- LDR r5, =SIR0_off_addr ; Read SIR0 address\r
- SUB r4,r0,#8 ; subtract 8 for prefetch\r
- LDR r1, =0xF7E8 ; add the offset to the 0x00000000 address(IVR address + 7E8 = 0x00000000)\r
- ; 0xF7E8 used to complete the LDR pc,pc,#offset opcode\r
- ADD r1,r4,r1 ; compute the jump offset\r
-EIC_INI MOV r4, r1, LSL #16 ; Left shift the result\r
- STR r4, [r3, r5] ; Store the result in SIRx register\r
- ADD r1, r1, #4 ; Next IRQ address\r
- ADD r5, r5, #4 ; Next SIR\r
- SUBS r2, r2, #1 ; Decrement the number of SIR registers to initialize\r
- BNE EIC_INI ; If more then continue\r
-\r
-\r
- ldr r0,=?main\r
- bx r0\r
-\r
- LTORG\r
-\r
- ENDMOD\r
-\r
-\r
- END\r
-\r
-\r
+++ /dev/null
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1 $\r
-//*************************************************************************\r
-\r
-// Code memory in flash\r
--DROMSTART=0x00000000\r
--DROMEND=0x0003FFFF\r
--DVECSTART=ROMSTART\r
-\r
-// Data memory\r
--DRAMSTART=0x20000000\r
--DRAMEND=0x2000FFFF\r
-\r
-\r
-//*************************************************************************\r
-// In this file it is assumed that the system has the following\r
-// memory layout:\r
-//\r
-// Exception vectors [0x000000--0x00001F] RAM or ROM\r
-// ROMSTART--ROMEND [0x008000--0x0FFFFF] ROM (or other non-volatile memory)\r
-// RAMSTART--RAMEND [0x100000--0x7FFFFF] RAM (or other read/write memory)\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// (Define other exception stacks as needed for\r
-// FIQ, ABT, UND).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation.\r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed.\r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful\r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes,\r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=VECSTART:+0x940\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
-//-D_CSTACK_SIZE=400\r
-// -D_SVC_STACK_SIZE=10\r
-//-D_IRQ_STACK_SIZE=500\r
-//-D_HEAP_SIZE=4\r
-\r
-//-Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)SVC_STACK+_SVC_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE,HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-#include "FreeRTOSConfig.h"\r
-\r
-IVR_ADDR DEFINE 0xFFFFF818\r
-\r
-;*******************************************************************************\r
-; Import the Reset_Handler address from 71x_init.s\r
-;*******************************************************************************\r
-\r
- IMPORT __program_start\r
-\r
-;*******************************************************************************\r
-; Import exception handlers\r
-;*******************************************************************************\r
-\r
- IMPORT vPortYieldProcessor ; FreeRTOS SWI handler\r
-\r
-;*******************************************************************************\r
-; Import IRQ handlers from 71x_it.c\r
-;*******************************************************************************\r
-\r
- IMPORT vPortNonPreemptiveTick ; Cooperative FreeRTOS tick handler\r
- IMPORT vPortPreemptiveTickISR ; Preemptive FreeRTOS tick handler\r
- IMPORT vSerialISREntry ; Demo serial port handler\r
-\r
-;*******************************************************************************\r
-; Export Peripherals IRQ handlers table address\r
-;*******************************************************************************\r
-\r
- CODE32\r
-\r
-\r
- LDR PC, Reset_Addr\r
- LDR PC, Undefined_Addr\r
- LDR PC, SWI_Addr\r
- LDR PC, Prefetch_Addr\r
- LDR PC, Abort_Addr\r
- NOP ; Reserved vector\r
- LDR PC, =IVR_ADDR\r
- LDR PC, FIQ_Addr\r
-\r
-\r
-\r
-;*******************************************************************************\r
-; Exception handlers address table\r
-;*******************************************************************************\r
-\r
-Reset_Addr DCD __program_start\r
-Undefined_Addr DCD UndefinedHandler\r
-SWI_Addr DCD vPortYieldProcessor\r
-Prefetch_Addr DCD PrefetchAbortHandler\r
-Abort_Addr DCD DataAbortHandler\r
- DCD 0 ; Reserved vector\r
-IRQ_Addr DCD IRQHandler\r
-FIQ_Addr DCD FIQHandler\r
-\r
-;*******************************************************************************\r
-; Peripherals IRQ handlers address table\r
-;*******************************************************************************\r
-\r
- EXPORT T0TIMI_Addr\r
-\r
-T0TIMI_Addr DCD DefaultISR\r
-FLASH_Addr DCD DefaultISR\r
-RCCU_Addr DCD DefaultISR\r
-RTC_Addr DCD DefaultISR\r
-#if configUSE_PREEMPTION == 0\r
-WDG_Addr DCD vPortNonPreemptiveTick ; Tick ISR if the cooperative scheduler is used.\r
-#else\r
-WDG_Addr DCD vPortPreemptiveTickISR ; Tick ISR if the preemptive scheduler is used.\r
-#endif\r
-XTI_Addr DCD DefaultISR\r
-USBHP_Addr DCD DefaultISR\r
-I2C0ITERR_Addr DCD DefaultISR\r
-I2C1ITERR_ADDR DCD DefaultISR\r
-UART0_Addr DCD vSerialISREntry\r
-UART1_Addr DCD DefaultISR\r
-UART2_ADDR DCD DefaultISR\r
-UART3_ADDR DCD DefaultISR\r
-BSPI0_ADDR DCD DefaultISR\r
-BSPI1_Addr DCD DefaultISR\r
-I2C0_Addr DCD DefaultISR\r
-I2C1_Addr DCD DefaultISR\r
-CAN_Addr DCD DefaultISR\r
-ADC12_Addr DCD DefaultISR\r
-T1TIMI_Addr DCD DefaultISR\r
-T2TIMI_Addr DCD DefaultISR\r
-T3TIMI_Addr DCD DefaultISR\r
- DCD 0 ; reserved\r
- DCD 0 ; reserved\r
- DCD 0 ; reserved\r
-HDLC_Addr DCD DefaultISR\r
-USBLP_Addr DCD DefaultISR\r
- DCD 0 ; reserved\r
- DCD 0 ; reserved\r
-T0TOI_Addr DCD DefaultISR\r
-T0OC1_Addr DCD DefaultISR\r
-T0OC2_Addr DCD DefaultISR\r
-\r
-\r
-;*******************************************************************************\r
-; Exception Handlers\r
-;*******************************************************************************\r
-\r
-\r
-UndefinedHandler\r
- b UndefinedHandler\r
-\r
-PrefetchAbortHandler\r
- b PrefetchAbortHandler\r
-\r
-DataAbortHandler\r
- b DataAbortHandler\r
-\r
-IRQHandler\r
- b DefaultISR\r
-\r
-FIQHandler\r
- b FIQHandler\r
-\r
-DefaultISR\r
- b DefaultISR\r
-\r
-\r
-\r
- LTORG\r
-\r
- END\r
+++ /dev/null
-/*;******************** (C) COPYRIGHT 2005 STMicroelectronics ******************\r
-;* File Name : lnkarm_flash.xcl\r
-;* Author : MCD Application Team\r
-;* Date First Issued : 03/10/2006\r
-;* Description : XLINK command file for EWARM/ICCARM\r
-;* : Usage: xlink -f lnkarm <your_object_file(s)>\r
-;* : -s <program start label> <C/C++ runtime library>\r
-;*******************************************************************************\r
-; History:\r
-; 07/17/2006 : V1.0\r
-; 03/10/2006 : V0.1\r
-;*******************************************************************************\r
-; THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
-; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.\r
-; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,\r
-; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE\r
-; CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING\r
-; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
-;******************************************************************************/\r
-\r
-// Embedded Flash (256/128/64Kbytes)\r
-// The user has to change the flash memory length depending STR75xFxx devices\r
-\r
-// Code memory in flash\r
--DROMSTART=0x20000000\r
--DROMEND=0x2003FFFF //0x2001FFFF;0x200FFFF\r
-\r
-// Data memory\r
--DRAMSTART=0x40000000\r
--DRAMEND=0x40003FFF\r
-\r
-\r
-//*************************************************************************\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// UND_STACK -- The stack used in Und mode\r
-// ABT_STACK -- The stack used in Abort mode\r
-// FIQ_STACK -- The stack used by FIQ service routines\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation.\r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed.\r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful\r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
-// Add size >0 for ABT_Stack, UND_Stack if you need them.\r
-// size must be 8 byte aligned.\r
-\r
--D_CSTACK_SIZE=0x100\r
--D_SVC_STACK_SIZE=0x400\r
--D_IRQ_STACK_SIZE=0x400\r
--D_FIQ_STACK_SIZE=0x40\r
--D_ABT_STACK_SIZE=0x0\r
--D_UND_STACK_SIZE=0x0\r
--D_HEAP_SIZE=0x10\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)SVC_STACK+_SVC_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)ABT_STACK+_ABT_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)UND_STACK+_UND_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)FIQ_STACK+_FIQ_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-/*;******************** (C) COPYRIGHT 2005 STMicroelectronics **************************\r
-;* File Name : lnkarm_ram.xcl\r
-;* Author : MCD Application Team\r
-;* Date First Issued : 09/27/2005 : V1.0\r
-;* Description : XLINK command file for EWARM/ICCARM\r
-;* : Usage: xlink -f lnkarm <your_object_file(s)>\r
-;* : -s <program start label> <C/C++ runtime library>\r
-;*************************************************************************************\r
-;* History:\r
-;* 09/27/2005 : V1.0\r
-;*************************************************************************************\r
-; THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
-; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.\r
-; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT\r
-; OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT\r
-; OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION\r
-; CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
-;*************************************************************************************/\r
-\r
-// Code memory in flash\r
--DROMSTART=0x00000000\r
--DROMEND=0x00080000\r
--DVECSTART=ROMSTART\r
-\r
-// Data memory\r
--DRAMSTART=0x4000000\r
--DRAMEND=0x04018000\r
-\r
-\r
-//*************************************************************************\r
-// In this file it is assumed that the system has the following\r
-// memory layout:\r
-//\r
-// Exception vectors [0x000000--0x00001F] RAM or ROM\r
-// ROMSTART--ROMEND [0x008000--0x0FFFFF] ROM (or other non-volatile memory)\r
-// RAMSTART--RAMEND [0x100000--0x7FFFFF] RAM (or other read/write memory)\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// (Define other exception stacks as needed for\r
-// FIQ, ABT, UND).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation.\r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed.\r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful\r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes,\r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
-//-D_CSTACK_SIZE=0x1000\r
-//-D_SVC_STACK_SIZE=0x100\r
-//-D_IRQ_STACK_SIZE=0x400\r
-//-D_FIQ_STACK_SIZE=0x40\r
-//-D_ABT_STACK_SIZE=0x40\r
-//-D_UND_STACK_SIZE=0x40\r
-//-D_HEAP_SIZE=0x400\r
-\r
-//-Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)SVC_STACK+_SVC_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)ABT_STACK+_ABT_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)UND_STACK+_UND_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)FIQ_STACK+_FIQ_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-// Generated : 06/01/06 20:29:52\r
-//**********************************************************************\r
-// XLINK template command file to be used with the ICCARM C/C++ Compiler\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.3 $\r
-//\r
-//**********************************************************************\r
-\r
-//*************************************************************************\r
-// In this file it is assumed that the system has the following\r
-// memory layout:\r
-//\r
-// Exception vectors [0x000000--0x00001F] RAM or ROM\r
-// ROMSTART--ROMEND [0x008000--0x0FFFFF] ROM (or other non-volatile memory)\r
-// RAMSTART--RAMEND [0x100000--0x7FFFFF] RAM (or other read/write memory)\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// (Define other exception stacks as needed for\r
-// FIQ, ABT, UND).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation. \r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed. \r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful \r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=0-3F\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=8000-FFFFF\r
--Z(CODE)SWITAB=8000-FFFFF\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=8000-FFFFF\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=8000-FFFFF\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=8000-FFFFF\r
--Z(CONST)CHECKSUM=8000-FFFFF\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=100000-7FFFFF\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=100000-7FFFFF\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
--Z(DATA)CSTACK+200=100000-7FFFFF\r
--Z(DATA)IRQ_STACK+100=100000-7FFFFF\r
--Z(DATA)HEAP+8000=100000-7FFFFF\r
-\r
-//**********************************************************************\r
-// Output user defined segments\r
-//**********************************************************************\r
-\r
-\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.32 $\r
-//*************************************************************************\r
-\r
-//*************************************************************************\r
-// In this file it is assumed that the system has the following\r
-// memory layout:\r
-//\r
-// Exception vectors [0x000000--0x00001F] RAM or ROM\r
-// ROMSTART--ROMEND [0x008000--0x0FFFFF] ROM (or other non-volatile memory)\r
-// RAMSTART--RAMEND [0x100000--0x7FFFFF] RAM (or other read/write memory)\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// IRQ_STACK -- The stack used by IRQ service routines.\r
-// SVC_STACK -- The stack used in supervisor mode\r
-// (Define other exception stacks as needed for\r
-// FIQ, ABT, UND).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation. \r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed. \r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful \r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
--DROMSTART=08000\r
--DROMEND=FFFFF\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=00-3F\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
--DRAMSTART=100000\r
--DRAMEND=7FFFFF\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
--D_CSTACK_SIZE=2000\r
-// -D_SVC_STACK_SIZE=10\r
--D_IRQ_STACK_SIZE=100\r
--D_HEAP_SIZE=8000\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
-// -Z(DATA)SVC_STACK+_SVC_STACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE,HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1 $\r
-//*************************************************************************\r
-\r
-//*************************************************************************\r
-// In this file it is assumed that the system has the following\r
-// memory layout:\r
-//\r
-// ROMSTART--ROMEND [00000000--00001FFF] Flash\r
-// RAMSTART--RAMEND [20000000--200007FF] RAM\r
-//\r
-// -------------\r
-// Code segments - may be placed anywhere in memory (except INTVEC).\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation. \r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed. \r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful \r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
--DROMSTART=00000000\r
--DROMEND=00001FFF\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is at least 8 bytes,\r
-// and is normally located at address 0.\r
-// It may be changed to a RAM address when\r
-// debugging in RAM (aligned to 2^7).\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
--DRAMSTART=20000000\r
--DRAMEND=200007FF\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)VTABLE=RAMSTART-RAMEND\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
--D_CSTACK_SIZE=180\r
--D_IRQ_STACK_SIZE=100\r
--D_HEAP_SIZE=100\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
+++ /dev/null
-//*****************************************************************************\r
-//\r
-// standalone.xcl - Linker script for EW-ARM.\r
-//\r
-// Copyright (c) 2006 Luminary Micro, Inc. All rights reserved.\r
-//\r
-//*****************************************************************************\r
-\r
-//\r
-// Set the CPU type to ARM.\r
-//\r
--carm\r
-\r
-//\r
-// Define the size of flash and SRAM.\r
-//\r
--DROMSTART=00000000\r
--DROMEND=0000FFFF\r
--DRAMSTART=20000000\r
--DRAMEND=20001FFF\r
-\r
-//\r
-// Define the sections to place into flash, and the order to place them.\r
-//\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//\r
-// Define the sections to place into SRAM, and the order to place them.\r
-//\r
--Z(DATA)VTABLE=RAMSTART-RAMEND\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
+++ /dev/null
-//*****************************************************************************\r
-//\r
-// standalone.xcl - Linker script for EW-ARM.\r
-//\r
-// Copyright (c) 2006 Luminary Micro, Inc. All rights reserved.\r
-//\r
-//*****************************************************************************\r
-\r
-//\r
-// Set the CPU type to ARM.\r
-//\r
--carm\r
-\r
-//\r
-// Define the size of flash and SRAM.\r
-//\r
--DROMSTART=00000000\r
--DROMEND=0000FFFF\r
--DRAMSTART=20000000\r
--DRAMEND=20001FFF\r
-\r
-//\r
-// Define the sections to place into flash, and the order to place them.\r
-//\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-//\r
-// Define the sections to place into SRAM, and the order to place them.\r
-//\r
--Z(DATA)VTABLE=RAMSTART-RAMEND\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
+++ /dev/null
-<?xml version="1.0" encoding="iso-8859-1"?>\r
-\r
-<project>\r
- <fileVersion>2</fileVersion>\r
- <fileChecksum>4157957474</fileChecksum>\r
- <configuration>\r
- <name>Debug</name>\r
- <outputs>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Product.h</file>\r
- <file>$PROJ_DIR$\Debug\Exe\RTOSDemo.out</file>\r
- <file>$PROJ_DIR$\Debug\Obj\startup_ewarm.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\death.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_ints.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\semphr.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_ssi.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\psock.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\GenQTest.o</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\hw_ssi.h</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\pdc.c</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_ethernet.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\semtest.h</file>\r
- <file>$PROJ_DIR$\webserver\httpd-cgi.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\portable.h</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\hw_types.h</file>\r
- <file>$PROJ_DIR$\LM3Sxxxx.icf</file>\r
- <file>$PROJ_DIR$\lcd_message.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\http-strings.o</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portasm.s</file>\r
- <file>$PROJ_DIR$\Debug\Obj\port.pbi</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\osram128x64x4.c</file>\r
- <file>$PROJ_DIR$\webserver\httpd.h</file>\r
- <file>$TOOLKIT_DIR$\inc\ysizet.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\rit128x96x4.o</file>\r
- <file>$PROJ_DIR$\..\Common\include\BlockQ.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\FreeRTOS.h</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Defaults.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\integer.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\pt.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\emac.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\timer.o</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portmacro.h</file>\r
- <file>$TOOLKIT_DIR$\inc\stdint.h</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\gpio.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\ParTest.o</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\integer.c</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\lmi_timer.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\PollQ.o</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\hw_memmap.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\list.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\port.o</file>\r
- <file>$TOOLKIT_DIR$\lib\dl7M_tl_in.a</file>\r
- <file>$PROJ_DIR$\Debug\Obj\queue.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uip_arp.o</file>\r
- <file>$PROJ_DIR$\webserver\uip-conf.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\portasm.o</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</file>\r
- <file>$PROJ_DIR$\osram128x64x4.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\http-strings.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\gpio.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd-cgi.o</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\flash.c</file>\r
- <file>$PROJ_DIR$\..\Common\include\blocktim.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\timer.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\flash.o</file>\r
- <file>$TOOLKIT_DIR$\inc\xencoding_limits.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\PollQ.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\projdefs.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\psock.h</file>\r
- <file>$PROJ_DIR$\webserver\httpd-fsdata.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\startup_ewarm.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uip.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\osram128x64x4.r79</file>\r
- <file>$PROJ_DIR$\Debug\Obj\rit128x96x4.pbi</file>\r
- <file>$PROJ_DIR$\webserver\httpd-cgi.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\port.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\queue.c</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\lmi_flash.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\blocktim.o</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip_arp.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\list.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\tasks.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\timertest.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\include\partest.h</file>\r
- <file>$PROJ_DIR$\webserver\clock-arch.h</file>\r
- <file>$PROJ_DIR$\webserver\httpd-fs.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\flash.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\GenQTest.pbi</file>\r
- <file>$TOOLKIT_DIR$\inc\stddef.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uipopt.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd-fs.o</file>\r
- <file>$TOOLKIT_DIR$\inc\ycheck.h</file>\r
- <file>$PROJ_DIR$\..\Common\include\QPeek.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\list.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\ParTest.pbi</file>\r
- <file>$PROJ_DIR$\webserver\http-strings.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\semtest.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\interrupt.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\debug.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_types.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uIP_Task.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\RTOSDemo.pbd</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Config_Normal.h</file>\r
- <file>$PROJ_DIR$\ParTest\ParTest.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\BlockQ.o</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip_arch.h</file>\r
- <file>$PROJ_DIR$\main.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\osram128x64x4.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uip.o</file>\r
- <file>$PROJ_DIR$\rit128x96x4.c</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\ssi.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_sysctl.h</file>\r
- <file>$PROJ_DIR$\webserver\uIP_Task.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\emac.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\BlockQ.pbi</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\pdc.h</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Threads.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\task.h</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\osram128x64x4.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uip_arp.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd.o</file>\r
- <file>$PROJ_DIR$\..\Common\include\death.h</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\death.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\pdc.r79</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip.h</file>\r
- <file>$PROJ_DIR$\startup_ewarm.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\blocktim.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\semtest.o</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\lc-switch.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\integer.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\death.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\QPeek.o</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\hw_memmap.h</file>\r
- <file>$TOOLKIT_DIR$\inc\yvals.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\timer.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\queue.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd-cgi.pbi</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\debug.h</file>\r
- <file>$PROJ_DIR$\webserver\webserver.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\list.c</file>\r
- <file>$PROJ_DIR$\..\Common\include\flash.h</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\croutine.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\timer.pbi</file>\r
- <file>$TOOLKIT_DIR$\inc\stdio.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\timertest.o</file>\r
- <file>$TOOLKIT_DIR$\inc\DLib_Product_string.h</file>\r
- <file>$PROJ_DIR$\webserver\httpd-fsdata.h</file>\r
- <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\IAR\driverlib.a</file>\r
- <file>$TOOLKIT_DIR$\inc\string.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\integer.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\ssi.h</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\GenQTest.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\PollQ.pbi</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\hw_sysctl.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\clock.h</file>\r
- <file>$PROJ_DIR$\bitmap.h</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\blocktim.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\PollQ.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\osram128x64x4.o</file>\r
- <file>$PROJ_DIR$\osram128x64x4.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\sysctl.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\ethernet.h</file>\r
- <file>$PROJ_DIR$\..\Common\drivers\LuminaryMicro\rit128x96x4.h</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</file>\r
- <file>$PROJ_DIR$\LuminaryDrivers\sysctl.h</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip_arp.c</file>\r
- <file>$PROJ_DIR$\webserver\emac.c</file>\r
- <file>$PROJ_DIR$\..\..\Source\tasks.c</file>\r
- <file>$PROJ_DIR$\webserver\http-strings.c</file>\r
- <file>$TOOLKIT_DIR$\inc\stdlib.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\main.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\main.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\QPeek.c</file>\r
- <file>$PROJ_DIR$\timertest.c</file>\r
- <file>$PROJ_DIR$\..\Common\Minimal\semtest.c</file>\r
- <file>$PROJ_DIR$\webserver\httpd-fs.c</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip.c</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\timer.c</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\psock.c</file>\r
- <file>$PROJ_DIR$\webserver\httpd.c</file>\r
- <file>$PROJ_DIR$\Debug\Obj\httpd-fs.pbi</file>\r
- <file>$PROJ_DIR$\FreeRTOSConfig.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\pdc.pbi</file>\r
- <file>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\lc.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\uIP_Task.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\heap_2.pbi</file>\r
- <file>$PROJ_DIR$\..\..\Source\include\queue.h</file>\r
- <file>$PROJ_DIR$\Debug\Obj\psock.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\tasks.o</file>\r
- <file>$PROJ_DIR$\Debug\Obj\QPeek.pbi</file>\r
- <file>$PROJ_DIR$\Debug\Obj\heap_2.o</file>\r
- <file>$PROJ_DIR$\..\Common\include\GenQTest.h</file>\r
- <file>$PROJ_DIR$\webserver\emac.h</file>\r
- </outputs>\r
- <file>\r
- <name>$PROJ_DIR$\Debug\Exe\RTOSDemo.out</name>\r
- <inputs>\r
- <tool>\r
- <name>ILINK</name>\r
- <file> 16 95 8 35 38 122 69 121 104 55 183 18 51 81 111 120 71 163 151 41 46 7 127 24 118 61 181 31 136 177 99 44 140 139 42</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\LuminaryDrivers\pdc.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 175</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 114</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 39 15 129 34 101 157 106</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 39 15 129 34 101 157 106</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\portasm.s</name>\r
- <outputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 46</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>AARM</name>\r
- <file> 174</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\LuminaryDrivers\osram128x64x4.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 98</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 63</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 9 39 146 15 129 34 101 157 109</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\integer.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 142</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 120</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 28</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 28</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_2.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 178</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 183</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\osram128x64x4.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 98</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 151</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 6 123 102 90 89 50 143 153 152</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 6 123 102 90 89 50 143 153 152</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\flash.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 77</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 55</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 74 132</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 74 132</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\httpd-cgi.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 128</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 51</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 115 80 45 33 82 124 27 0 56 107 130 22 59 29 176 119 76 13 135 23 141 137</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 115 80 45 33 82 124 27 93 0 56 107 130 22 59 29 176 119 76 13 135 23 141 137</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\portable\IAR\ARM_CM3\port.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 20</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 41</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 26 79 82 124 27 0 56 107 23 58 174 14 32 108 40</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 26 79 82 124 27 93 0 56 107 23 58 174 14 32 108 40</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\queue.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 43</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 127</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 141 137 26 79 58 174 14 32 108 40 133</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 141 137 26 79 58 174 14 32 108 40 133</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\Debug\Obj\RTOSDemo.pbd</name>\r
- <inputs>\r
- <tool>\r
- <name>BILINK</name>\r
- <file> 105 78 85 145 182 117 3 30 77 178 49 128 173 125 142 84 164 98 20 180 43 64 87 2 72 134 73 91 62 110</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\ParTest\ParTest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 85</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 35</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 26 79 82 124 27 0 56 107 23 58 174 14 32 108 40 74 90 50 123</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 26 79 82 124 27 93 0 56 107 23 58 174 14 32 108 40 74 90 50 123</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\main.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 164</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 163</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 135 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 179 5 25 112 28 53 132 74 12 57 17 148 184 83 123 90 102 153 50 155 152</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 135 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 179 5 25 112 28 53 132 74 12 57 17 148 184 83 123 90 102 153 50 155 152</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\rit128x96x4.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 64</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 24</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 6 123 102 90 89 50 143 153 155</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 6 123 102 90 89 50 143 153 155</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\uIP_Task.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 91</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 177</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 141 82 124 27 0 56 107 23 137 26 79 58 174 14 32 108 40 5 179 90 115 80 45 33 130 22 59 29 176 119 76 70 126 75 11 154 153 123 68 185 74 17</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 141 82 124 27 93 0 56 107 23 137 26 79 58 174 14 32 108 40 5 179 90 115 80 45 33 130 22 59 29 176 119 76 70 126 75 11 154 153 123 68 185 74 17</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\death.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 3</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 121</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 112</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 112</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\startup_ewarm.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 2</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 61</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\list.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 84</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 71</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 40</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 40</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\GenQTest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 78</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 8</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 179 5 184</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 179 5 184</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\blocktim.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 117</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 69</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 26 79 82 124 27 0 56 107 23 58 174 14 32 108 40 179 53</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 26 79 82 124 27 93 0 56 107 23 58 174 14 32 108 40 179 53</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\PollQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 145</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 38</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 179 57</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 179 57</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\BlockQ.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 105</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 95</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 179 25</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 179 25</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip_arp.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 110</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 44</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 70 115 80 45 33 82 124 27 0 56 107 130 22 59 29 176 119 76 141 23 137</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 70 115 80 45 33 82 124 27 93 0 56 107 130 22 59 29 176 119 76 141 23 137</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\emac.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 30</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 104</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 26 79 82 124 27 0 56 107 23 58 174 14 32 5 179 108 40 185 115 80 45 33 130 22 59 29 176 119 76 90 123 4 11 154 153 88</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 26 79 82 124 27 93 0 56 107 23 58 174 14 32 5 179 108 40 185 115 80 45 33 130 22 59 29 176 119 76 90 123 4 11 154 153 88</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\..\Source\tasks.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 72</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 181</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 135 82 124 27 0 56 107 23 162 141 137 26 79 58 174 14 32 108 40</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 135 82 124 27 93 0 56 107 23 162 141 137 26 79 58 174 14 32 108 40</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\http-strings.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 49</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 18</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\QPeek.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 182</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 122</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 179 5 83</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 179 5 83</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\timertest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 73</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 136</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 26 79 82 124 27 0 56 107 23 58 174 14 32 4 123 90 88 153 37</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 26 79 82 124 27 93 0 56 107 23 58 174 14 32 4 123 90 88 153 37</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\Minimal\semtest.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 87</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 118</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 162 82 124 27 0 56 107 23 26 79 58 174 14 32 108 40 5 179 12</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 162 82 124 27 93 0 56 107 23 26 79 58 174 14 32 108 40 5 179 12</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\httpd-fs.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 173</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 81</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 22 59 80 45 33 82 124 27 0 56 107 130 29 176 119 76 138 115 60</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 22 59 80 45 33 82 124 27 93 0 56 107 130 29 176 119 76 138 115 60</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\uip.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 62</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 99</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 115 80 45 33 82 124 27 0 56 107 130 22 59 29 176 119 76 96 141 23 137</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 115 80 45 33 82 124 27 93 0 56 107 130 22 59 29 176 119 76 96 141 23 137</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\timer.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 134</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 31</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 147 75 26 79 82 124 27 0 56 107 23 58 174 14 32 54</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 147 75 26 79 82 124 27 93 0 56 107 23 58 174 14 32 54</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\..\Common\ethernet\uIP\uip-1.0\uip\psock.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 180</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 7</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 135 82 124 27 0 56 107 23 141 137 80 45 33 130 22 59 29 176 119 76 115</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 135 82 124 27 93 0 56 107 23 141 137 80 45 33 130 22 59 29 176 119 76 115</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>$PROJ_DIR$\webserver\httpd.c</name>\r
- <outputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 125</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 111</file>\r
- </tool>\r
- </outputs>\r
- <inputs>\r
- <tool>\r
- <name>BICOMP</name>\r
- <file> 115 80 45 33 82 124 27 0 56 107 130 22 59 29 176 119 76 13 86 141 23 137</file>\r
- </tool>\r
- <tool>\r
- <name>ICCARM</name>\r
- <file> 115 80 45 33 82 124 27 93 0 56 107 130 22 59 29 176 119 76 13 86 141 23 137</file>\r
- </tool>\r
- </inputs>\r
- </file>\r
- <file>\r
- <name>[ROOT_NODE]</name>\r
- <outputs>\r
- <tool>\r
- <name>ILINK</name>\r
- <file> 1</file>\r
- </tool>\r
- </outputs>\r
- </file>\r
- <forcedrebuild>\r
- <name>$PROJ_DIR$\LuminaryDrivers\osram128x64x4.c</name>\r
- <tool>ICCARM</tool>\r
- </forcedrebuild>\r
- </configuration>\r
-</project>\r
-\r
-\r
+++ /dev/null
-//*****************************************************************************
-//
-// webserver-lwip.xcl - Linker script for EW-ARM.
-//
-// Copyright (c) 2006-2007 Luminary Micro, Inc. All rights reserved.
-//
-// Software License Agreement
-//
-// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
-// exclusively on LMI's microcontroller products.
-//
-// The software is owned by LMI and/or its suppliers, and is protected under
-// applicable copyright laws. All rights are reserved. Any use in violation
-// of the foregoing restrictions may subject the user to criminal sanctions
-// under applicable laws, as well as to civil liability for the breach of the
-// terms and conditions of this license.
-//
-// THIS SOFTWARE IS PROVIDED AS IS. NO WARRANTIES, WHETHER EXPRESS, IMPLIED
-// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
-// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
-// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
-// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
-//
-//*****************************************************************************
-
-//
-// Set the CPU type to ARM.
-//
--carm
-
-//
-// Define the size of flash and SRAM.
-//
--DROMSTART=00000000
--DROMEND=00040000
--DRAMSTART=20000000
--DRAMEND=20010000\r
-\r
-
-
-//
-// Define the sections to place into flash, and the order to place them.
-//
--Z(CODE)INTVEC=ROMSTART-ROMEND
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND
--Z(CODE)CODE=ROMSTART-ROMEND
--Z(CONST)CODE_ID=ROMSTART-ROMEND
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND
--Z(CONST)CHECKSUM=ROMSTART-ROMEND
-
-//
-// Define the sections to place into SRAM, and the order to place them.
-//
--Z(DATA)VTABLE=RAMSTART-RAMEND
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND
--Z(DATA)CODE_I=RAMSTART-RAMEND
+++ /dev/null
-/*;******************** (C) COPYRIGHT 2007 STMicroelectronics ******************\r
-;* File Name : lnkarm_flash.xcl\r
-;* Author : MCD Application Team\r
-;* Date First Issued : 02/19/2007\r
-;* Description : XLINK command file template for EWARM/ICCARM\r
-;* Usage : xlink -f lnkarm <your_object_file(s)>\r
-;* :-s <program start label> <C/C++ runtime library>\r
-;*******************************************************************************\r
-; History:\r
-; 04/02/2007: V0.2\r
-; 02/19/2007: V0.1\r
-;*******************************************************************************\r
-; THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
-; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.\r
-; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,\r
-; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE\r
-; CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING\r
-; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
-;******************************************************************************/\r
-\r
-// Code memory in FLASH\r
--DROMSTART=0x8000000\r
--DROMEND=0x801FFFF\r
-\r
-// Data in RAM\r
--DRAMSTART=0x20000000\r
--DRAMEND=0x20004FFF\r
-\r
-//*************************************************************************\r
-// -------------\r
-// Code segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// INTVEC -- Exception vector table.\r
-// SWITAB -- Software interrupt vector table.\r
-// ICODE -- Startup (cstartup) and exception code.\r
-// DIFUNCT -- Dynamic initialization vectors used by C++.\r
-// CODE -- Compiler generated code.\r
-// CODE_I -- Compiler generated code declared __ramfunc (executes in RAM)\r
-// CODE_ID -- Initializer for CODE_I (ROM).\r
-//\r
-// -------------\r
-// Data segments - may be placed anywhere in memory.\r
-// -------------\r
-//\r
-// CSTACK -- The stack used by C/C++ programs (system and user mode).\r
-// HEAP -- The heap used by malloc and free in C and new and\r
-// delete in C++.\r
-// INITTAB -- Table containing addresses and sizes of segments that\r
-// need to be initialized at startup (by cstartup).\r
-// CHECKSUM -- The linker places checksum byte(s) in this segment,\r
-// when the -J linker command line option is used.\r
-// DATA_y -- Data objects.\r
-//\r
-// Where _y can be one of:\r
-//\r
-// _AN -- Holds uninitialized located objects, i.e. objects with\r
-// an absolute location given by the @ operator or the\r
-// #pragma location directive. Since these segments\r
-// contain objects which already have a fixed address,\r
-// they should not be mentioned in this linker command\r
-// file.\r
-// _C -- Constants (ROM).\r
-// _I -- Initialized data (RAM).\r
-// _ID -- The original content of _I (copied to _I by cstartup) (ROM).\r
-// _N -- Uninitialized data (RAM).\r
-// _Z -- Zero initialized data (RAM).\r
-//\r
-// Note: Be sure to use end values for the defined address ranges.\r
-// Otherwise, the linker may allocate space outside the\r
-// intended memory range.\r
-//*************************************************************************\r
-\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-//************************************************\r
-\r
--carm\r
-\r
-//*************************************************************************\r
-// Segment placement - General information\r
-//\r
-// All numbers in the segment placement command lines below are interpreted\r
-// as hexadecimal unless they are immediately preceded by a '.', which\r
-// denotes decimal notation.\r
-//\r
-// When specifying the segment placement using the -P instead of the -Z\r
-// option, the linker is free to split each segment into its segment parts\r
-// and randomly place these parts within the given ranges in order to\r
-// achieve a more efficient memory usage. One disadvantage, however, is\r
-// that it is not possible to find the start or end address (using\r
-// the assembler operators .sfb./.sfe.) of a segment which has been split\r
-// and reformed.\r
-//\r
-// When generating an output file which is to be used for programming\r
-// external ROM/Flash devices, the -M linker option is very useful\r
-// (see xlink.pdf for details).\r
-//*************************************************************************\r
-\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to ROM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-//************************************************\r
-\r
--Z(CODE)INTVEC=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
-\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
-\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Original ROM location for __ramfunc code copied\r
-// to and executed from RAM.\r
-//************************************************\r
-\r
--Z(CONST)CODE_ID=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
-\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
-\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
-\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// CODE_ID segment instead, but to keep symbol and\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
--QCODE_I=CODE_ID\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-\r
--D_CSTACK_SIZE=400\r
--D_HEAP_SIZE=4\r
-\r
--Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
--Z(DATA)HEAP+_HEAP_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r
-\r
+++ /dev/null
-;------------------------------------------------------------------------------\r
-;- ATMEL Microcontroller Software Support - ROUSSET -\r
-;------------------------------------------------------------------------------\r
-; The software is delivered "AS IS" without warranty or condition of any\r
-; kind, either express, implied or statutory. This includes without\r
-; limitation any warranty or condition with respect to merchantability or\r
-; fitness for any particular purpose, or against the infringements of\r
-; intellectual property rights of others.\r
-;-----------------------------------------------------------------------------\r
-;- File source : Cstartup.s79\r
-;- Object : Generic CStartup for IAR No Use REMAP\r
-;- Compilation flag : None\r
-;-\r
-;- 1.0 15/Jun/04 JPP : Creation\r
-;------------------------------------------------------------------------------\r
-\r
-#include "AT91SAM7X256_inc.h"\r
-\r
-;------------------------------------------------------------------------------\r
-;- Area Definition\r
-;------------------------------------------------------------------------------\r
-\r
-;---------------------------------------------------------------\r
-; ?RESET\r
-; Reset Vector.\r
-; Normally, segment INTVEC is linked at address 0.\r
-; For debugging purposes, INTVEC may be placed at other\r
-; addresses.\r
-; A debugger that honors the entry point will start the\r
-; program in a normal way even if INTVEC is not at address 0.\r
-;-------------------------------------------------------------\r
-\r
- PROGRAM ?RESET\r
- RSEG INTRAMSTART_REMAP\r
- RSEG INTRAMEND_REMAP\r
-\r
- EXTERN vPortYieldProcessor\r
-\r
- RSEG ICODE:CODE:ROOT(2)\r
- CODE32 ; Always ARM mode after reset \r
- org 0 \r
-reset \r
-;------------------------------------------------------------------------------\r
-;- Exception vectors\r
-;--------------------\r
-;- These vectors can be read at address 0 or at RAM address\r
-;- They ABSOLUTELY requires to be in relative addresssing mode in order to\r
-;- guarantee a valid jump. For the moment, all are just looping.\r
-;- If an exception occurs before remap, this would result in an infinite loop.\r
-;- To ensure if a exeption occurs before start application to infinite loop.\r
-;------------------------------------------------------------------------------\r
-\r
- B InitReset ; 0x00 Reset handler\r
-undefvec:\r
- B undefvec ; 0x04 Undefined Instruction\r
-swivec:\r
- B vPortYieldProcessor ; 0x08 Software Interrupt\r
-pabtvec:\r
- B pabtvec ; 0x0C Prefetch Abort\r
-dabtvec:\r
- B dabtvec ; 0x10 Data Abort\r
-rsvdvec:\r
- B rsvdvec ; 0x14 reserved\r
-irqvec:\r
- LDR PC, [PC, #-0xF20] ; Jump directly to the address given by the AIC\r
-\r
-fiqvec: ; 0x1c FIQ\r
-\r
-;------------------------------------------------------------------------------\r
-;- Function : FIQ_Handler_Entry\r
-;- Treatments : FIQ Controller Interrupt Handler.\r
-;- Called Functions : AIC_FVR[interrupt]\r
-;------------------------------------------------------------------------------\r
-\r
-FIQ_Handler_Entry:\r
-\r
-;- Switch in SVC/User Mode to allow User Stack access for C code\r
-; because the FIQ is not yet acknowledged\r
-\r
-;- Save and r0 in FIQ_Register\r
- mov r9,r0\r
- ldr r0 , [r8, #AIC_FVR]\r
- msr CPSR_c,#I_BIT | F_BIT | ARM_MODE_SVC\r
-\r
-;- Save scratch/used registers and LR in User Stack\r
- stmfd sp!, { r1-r3, r12, lr}\r
-\r
-;- Branch to the routine pointed by the AIC_FVR\r
- mov r14, pc\r
- bx r0\r
-\r
-;- Restore scratch/used registers and LR from User Stack\r
- ldmia sp!, { r1-r3, r12, lr}\r
-\r
-;- Leave Interrupts disabled \ 4and switch back in FIQ mode\r
- msr CPSR_c, #I_BIT | F_BIT | ARM_MODE_FIQ\r
-\r
-;- Restore the R0 ARM_MODE_SVC register\r
- mov r0,r9\r
-\r
-;- Restore the Program Counter using the LR_fiq directly in the PC\r
- subs pc,lr,#4\r
-\r
-InitReset:\r
-;------------------------------------------------------------------------------\r
-;- Low level Init (PMC, AIC, ? ....) by C function AT91F_LowLevelInit\r
-;------------------------------------------------------------------------------\r
- EXTERN AT91F_LowLevelInit\r
-\r
-#define __iramend SFB(INTRAMEND_REMAP)\r
-\r
-;- minumum C initialization\r
-;- call AT91F_LowLevelInit( void)\r
-\r
- ldr r13,=__iramend ; temporary stack in internal RAM\r
-;--Call Low level init function in ABSOLUTE through the Interworking\r
- ldr r0,=AT91F_LowLevelInit\r
- mov lr, pc\r
- bx r0\r
-;------------------------------------------------------------------------------\r
-;- Stack Sizes Definition\r
-;------------------------\r
-;- Interrupt Stack requires 2 words x 8 priority level x 4 bytes when using\r
-;- the vectoring. This assume that the IRQ management.\r
-;- The Interrupt Stack must be adjusted depending on the interrupt handlers.\r
-;- Fast Interrupt not requires stack If in your application it required you must\r
-;- be definehere.\r
-;- The System stack size is not defined and is limited by the free internal\r
-;- SRAM.\r
-;------------------------------------------------------------------------------\r
-\r
-;------------------------------------------------------------------------------\r
-;- Top of Stack Definition\r
-;-------------------------\r
-;- Interrupt and Supervisor Stack are located at the top of internal memory in\r
-;- order to speed the exception handling context saving and restoring.\r
-;- ARM_MODE_SVC (Application, C) Stack is located at the top of the external memory.\r
-;------------------------------------------------------------------------------\r
-\r
-IRQ_STACK_SIZE EQU 300\r
-\r
-ARM_MODE_FIQ EQU 0x11\r
-ARM_MODE_IRQ EQU 0x12\r
-ARM_MODE_SVC EQU 0x13\r
-\r
-I_BIT EQU 0x80\r
-F_BIT EQU 0x40\r
-\r
-;------------------------------------------------------------------------------\r
-;- Setup the stack for each mode\r
-;-------------------------------\r
- ldr r0, =__iramend\r
-\r
-;- Set up Fast Interrupt Mode and set FIQ Mode Stack\r
- msr CPSR_c, #ARM_MODE_FIQ | I_BIT | F_BIT\r
-;- Init the FIQ register\r
- ldr r8, =AT91C_BASE_AIC\r
-\r
-;- Set up Interrupt Mode and set IRQ Mode Stack\r
- msr CPSR_c, #ARM_MODE_IRQ | I_BIT | F_BIT\r
- mov r13, r0 ; Init stack IRQ\r
- sub r0, r0, #IRQ_STACK_SIZE\r
-\r
-;- Enable interrupt & Set up Supervisor Mode and set Supervisor Mode Stack\r
- msr CPSR_c, #ARM_MODE_SVC\r
- mov r13, r0\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?CSTARTUP\r
-;---------------------------------------------------------------\r
- EXTERN __segment_init\r
- EXTERN main\r
-; Initialize segments.\r
-; __segment_init is assumed to use\r
-; instruction set and to be reachable by BL from the ICODE segment\r
-; (it is safest to link them in segment ICODE).\r
- ldr r0,=__segment_init\r
- mov lr, pc\r
- bx r0\r
-\r
- PUBLIC __main\r
-?jump_to_main:\r
- ldr lr,=?call_exit\r
- ldr r0,=main\r
-__main:\r
- bx r0\r
-\r
-;------------------------------------------------------------------------------\r
-;- Loop for ever\r
-;---------------\r
-;- End of application. Normally, never occur.\r
-;- Could jump on Software Reset ( B 0x0 ).\r
-;------------------------------------------------------------------------------\r
-?call_exit:\r
-End\r
- b End\r
-\r
-\r
-\r
-;---------------------------------------------------------------\r
-; ?EXEPTION_VECTOR\r
-; This module is only linked if needed for closing files.\r
-;---------------------------------------------------------------\r
- PUBLIC AT91F_Default_FIQ_handler\r
- PUBLIC AT91F_Default_IRQ_handler\r
- PUBLIC AT91F_Spurious_handler\r
-\r
- CODE32 ; Always ARM mode after exeption \r
-\r
-AT91F_Default_FIQ_handler\r
- b AT91F_Default_FIQ_handler\r
-\r
-AT91F_Default_IRQ_handler\r
- b AT91F_Default_IRQ_handler\r
-\r
-AT91F_Spurious_handler\r
- b AT91F_Spurious_handler\r
-\r
- ENDMOD\r
-\r
- END\r
-\r
+++ /dev/null
-// ---------------------------------------------------------\r
-// ATMEL Microcontroller Software Support - ROUSSET -\r
-// ---------------------------------------------------------\r
-// The software is delivered "AS IS" without warranty or \r
-// condition of any kind, either express, implied or \r
-// statutory. This includes without limitation any warranty \r
-// or condition with respect to merchantability or fitness \r
-// for any particular purpose, or against the infringements of\r
-// intellectual property rights of others.\r
-// ---------------------------------------------------------\r
-// File: at91SAM7x256_NoRemap.xlc\r
-//\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//\r
-// ---------------------------------------------------------\r
-\r
-//*************************************************************************\r
-// XLINK command file template for EWARM/ICCARM\r
-//\r
-// Usage: xlink -f lnkarm <your_object_file(s)>\r
-// -s <program start label> <C/C++ runtime library>\r
-//\r
-// $Revision: 1.1.1.1 $\r
-//*************************************************************************\r
-\r
-//************************************************\r
-// Inform the linker about the CPU family used.\r
-// AT91SAM7S64 Memory mapping\r
-// No remap\r
-// ROMSTART\r
-// Start address 0x0000 0000 \r
-// Size 256 Kbo 0x0004 0000 \r
-// RAMSTART\r
-// Start address 0x0020 0000 \r
-// Size 64Kbo 0x0001 0000 \r
-// Remap done\r
-// RAMSTART\r
-// Start address 0x0000 0000 \r
-// Size 64Kbo 0x0001 0000 \r
-// ROMSTART\r
-// Start address 0x0010 0000 \r
-// Size 256Kbo 0x0004 0000 \r
-\r
-//************************************************\r
--carm\r
-\r
-//*************************************************************************\r
-// Internal Ram segments mapped AFTER REMAP 64K.\r
-//*************************************************************************\r
-// Use these addresses for the .\r
--Z(CONST)INTRAMSTART_REMAP=00200000\r
--Z(CONST)INTRAMEND_REMAP=0020FFFF\r
-\r
-//*************************************************************************\r
-// Read-only segments mapped to Flash 256K.\r
-//*************************************************************************\r
--DROMSTART=00000000\r
--DROMEND=0003FFFF\r
-//*************************************************************************\r
-// Read/write segments mapped to RAM.\r
-//*************************************************************************\r
--DRAMSTART=00200000\r
--DRAMEND=00200FFFF\r
-\r
-//************************************************\r
-// Address range for reset and exception\r
-// vectors (INTVEC).\r
-// The vector area is 32 bytes, \r
-// an additional 32 bytes is allocated for the\r
-// constant table used by ldr PC in cstartup.s79.\r
-//************************************************\r
--Z(CODE)INTVEC=00-3F\r
-\r
-//************************************************\r
-// Startup code and exception routines (ICODE).\r
-//************************************************\r
--Z(CODE)ICODE,DIFUNCT=ROMSTART-ROMEND\r
--Z(CODE)SWITAB=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Code segments may be placed anywhere.\r
-//************************************************\r
--Z(CODE)CODE=ROMSTART-ROMEND\r
-\r
-//************************************************\r
-// Various constants and initializers.\r
-//************************************************\r
--Z(CONST)INITTAB,DATA_ID,DATA_C=ROMSTART-ROMEND\r
--Z(CONST)CHECKSUM=ROMSTART-ROMEND\r
-\r
-\r
-//************************************************\r
-// Data segments.\r
-//************************************************\r
--Z(DATA)DATA_I,DATA_Z,DATA_N=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// __ramfunc code copied to and executed from RAM.\r
-//************************************************\r
--Z(DATA)CODE_I=RAMSTART-RAMEND\r
-\r
-//************************************************\r
-// ICCARM produces code for __ramfunc functions in\r
-// CODE_I segments. The -Q XLINK command line\r
-// option redirects XLINK to emit the code in the\r
-// debug information associated with the CODE_I\r
-// segment, where the code will execute.\r
-//************************************************\r
-\r
-//*************************************************************************\r
-// Stack and heap segments.\r
-//*************************************************************************\r
-//-D_CSTACK_SIZE=(400*4)\r
-//-D_IRQ_STACK_SIZE=(2*8*4)\r
-\r
-//-Z(DATA)CSTACK+_CSTACK_SIZE=RAMSTART-RAMEND\r
-//-Z(DATA)IRQ_STACK+_IRQ_STACK_SIZE=RAMSTART-RAMEND\r
-\r
-//*************************************************************************\r
-// ELF/DWARF support.\r
-//\r
-// Uncomment the line "-Felf" below to generate ELF/DWARF output.\r
-// Available format specifiers are:\r
-//\r
-// "-yn": Suppress DWARF debug output\r
-// "-yp": Multiple ELF program sections\r
-// "-yas": Format suitable for debuggers from ARM Ltd (also sets -p flag)\r
-//\r
-// "-Felf" and the format specifiers can also be supplied directly as\r
-// command line options, or selected from the Xlink Output tab in the\r
-// IAR Embedded Workbench.\r
-//*************************************************************************\r
-\r
-// -Felf\r