+++ /dev/null
-/*******************************************************************************
- * (c) Copyright 2009 Actel Corporation. All rights reserved.
- *
- * SmartFusion/Cortex-M3 linker script for creating a SoftConsole downloadable
- * debug image executing in SmartFusion internal eNVM.
- *
- * SVN $Revision: 1677 $
- * SVN $Date: 2009-12-02 16:57:29 +0000 (Wed, 02 Dec 2009) $
- */
-
-OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-GROUP(-lc -lgcc -lm)
-OUTPUT_ARCH(arm)
-ENTRY(Reset_Handler)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*******************************************************************************
- * Start of board customization.
- *******************************************************************************/
-MEMORY
-{
- /*
- * WARNING: The words "SOFTCONSOLE", "FLASH", and "USE", the colon ":", and
- * the name of the type of flash memory are all in a specific order.
- * Please do not modify that comment line, in order to ensure
- * debugging of your application will use the flash memory correctly.
- */
-
- /* SOFTCONSOLE FLASH USE: actel-smartfusion-envm */
- rom (rx) : ORIGIN = 0x60000000, LENGTH = 256k
-
- /* SmartFusion internal eNVM mirrored to 0x00000000 */
- romMirror (rx) : ORIGIN = 0x00000000, LENGTH = 256k
-
- /* SmartFusion internal eSRAM */
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64k
-}
-
-RAM_START_ADDRESS = 0x20000000; /* Must be the same value MEMORY region ram ORIGIN above. */
-RAM_SIZE = 64k; /* Must be the same value MEMORY region ram LENGTH above. */
-MAIN_STACK_SIZE = 8k; /* Cortex main stack size. */
-PROCESS_STACK_SIZE = 4k; /* Cortex process stack size (only available with OS extensions).*/
-
-/*******************************************************************************
- * End of board customization.
- *******************************************************************************/
-
-PROVIDE (__main_stack_start = RAM_START_ADDRESS + RAM_SIZE);
-PROVIDE (__process_stack_start = __main_stack_start - MAIN_STACK_SIZE);
-PROVIDE (_estack = __main_stack_start);
-PROVIDE (__mirrored_nvm = 1); /* Indicate to startup code that NVM is mirrored to VMA address and no text copy is required. */
-
-SECTIONS
-{
- .init :
- {
- *(.isr_vector)
- *sys_boot.o(.text)
- . = ALIGN(0x4);
- } >romMirror AT>rom
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __text_load = LOADADDR(.text);
- __text_start = .;
-
- *(.text .text.* .gnu.linkonce.t.*)
- *(.plt)
- *(.gnu.warning)
- *(.glue_7t) *(.glue_7) *(.vfp11_veneer)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- *(.ARM.extab* .gnu.linkonce.armextab.*)
- *(.gcc_except_table)
- *(.eh_frame_hdr)
- *(.eh_frame)
-
- KEEP (*(.init))
- KEEP (*(.fini))
-
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } >romMirror AT>rom
-
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- __exidx_start = .;
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } >ram AT>rom
- __exidx_end = .;
- _etext = .;
-
- .data :
- {
- __data_load = LOADADDR(.data);
- _sidata = LOADADDR (.data);
- __data_start = .;
- _sdata = .;
- KEEP(*(.jcr))
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >ram AT>rom
-
- .bss :
- {
- __bss_start__ = . ;
- _sbss = .;
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- __bss_end__ = .;
- _end = .;
- __end = _end;
- _ebss = .;
- PROVIDE(end = .);
- } >ram AT>rom
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
- .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
+++ /dev/null
-/*******************************************************************************
- * (c) Copyright 2009 Actel Corporation. All rights reserved.
- *
- * SmartFusion/Cortex-M3 linker script for creating a SoftConsole downloadable
- * debug image executing in SmartFusion internal eSRAM.
- *
- * SVN $Revision: 1677 $
- * SVN $Date: 2009-12-02 16:57:29 +0000 (Wed, 02 Dec 2009) $
- */
-
- OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-GROUP(-lc -lgcc -lm)
-OUTPUT_ARCH(arm)
-ENTRY(Reset_Handler)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*******************************************************************************
- * Start of board customization.
- *******************************************************************************/
-MEMORY
-{
- /* SmartFusion internal eSRAM */
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64k
-}
-
-RAM_START_ADDRESS = 0x20000000; /* Must be the same value MEMORY region ram ORIGIN above. */
-RAM_SIZE = 64k; /* Must be the same value MEMORY region ram LENGTH above. */
-MAIN_STACK_SIZE = 8k; /* Cortex main stack size. */
-PROCESS_STACK_SIZE = 4k; /* Cortex process stack size (only available with OS extensions).*/
-
-/*******************************************************************************
- * End of board customization.
- *******************************************************************************/
-
-PROVIDE (__main_stack_start = RAM_START_ADDRESS + RAM_SIZE);
-PROVIDE (__process_stack_start = __main_stack_start - MAIN_STACK_SIZE);
-PROVIDE (_estack = __main_stack_start);
-PROVIDE (__mirrored_nvm = 0); /* Indicate to startup code that NVM is not mirrored to VMA address .text copy is required. */
-
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __text_load = LOADADDR(.text);
- __text_start = .;
- *(.isr_vector)
- *(.text .text.* .gnu.linkonce.t.*)
- *(.plt)
- *(.gnu.warning)
- *(.glue_7t) *(.glue_7) *(.vfp11_veneer)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- *(.ARM.extab* .gnu.linkonce.armextab.*)
- *(.gcc_except_table)
- *(.eh_frame_hdr)
- *(.eh_frame)
-
- KEEP (*(.init))
- KEEP (*(.fini))
-
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } >ram
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- __exidx_start = .;
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } >ram
- __exidx_end = .;
- _etext = .;
- PROVIDE(__text_end = .);
-
- .data :
- {
- __data_load = LOADADDR (.data);
- _sidata = LOADADDR (.data);
- __data_start = .;
- _sdata = .;
- KEEP(*(.jcr))
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >ram
-
- .bss :
- {
- __bss_start__ = . ;
- _sbss = .;
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- __bss_end__ = .;
- _end = .;
- __end = _end;
- _ebss = .;
- PROVIDE(end = .);
- } >ram
-
- /*
- * The .stack section is only specified here in order for the linker to generate
- * an error if the ram is full.
- */
- .stack :
- {
- . = ALIGN(4);
- . += PROCESS_STACK_SIZE;
- . = ALIGN(4);
- . += MAIN_STACK_SIZE;
- . = ALIGN(4);
- } >ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
- .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) *(.isr_vector) }
-}
+++ /dev/null
-/*******************************************************************************
- * (c) Copyright 2009 Actel Corporation. All rights reserved.
- *
- * SmartFusion/Cortex-M3 linker script for creating a SoftConsole downloadable
- * debug image executing in SmartFusion development board external RAM.
- *
- * SVN $Revision: 2014 $
- * SVN $Date: 2010-01-20 10:37:26 +0000 (Wed, 20 Jan 2010) $
- */
-
-OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-GROUP(-lc -lgcc -lm)
-OUTPUT_ARCH(arm)
-ENTRY(Reset_Handler)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*******************************************************************************
- * Start of board customization.
- *******************************************************************************/
-MEMORY
-{
- /* SmartFusion internal eSRAM */
- esram (rwx) : ORIGIN = 0x20000000, LENGTH = 64k
-
- /* SmartFusion development board external RAM */
- external_ram (rwx) : ORIGIN = 0x70000000, LENGTH = 2M
-}
-
-RAM_START_ADDRESS = 0x70000000; /* Must be the same value MEMORY region ram ORIGIN above. */
-RAM_SIZE = 64k; /* Must be the same value MEMORY region ram LENGTH above. */
-MAIN_STACK_SIZE = 8k; /* Cortex main stack size. */
-PROCESS_STACK_SIZE = 4k; /* Cortex process stack size (only available with OS extensions).*/
-
-/*******************************************************************************
- * End of board customization.
- *******************************************************************************/
-
-PROVIDE (__main_stack_start = RAM_START_ADDRESS + RAM_SIZE);
-PROVIDE (__process_stack_start = __main_stack_start - MAIN_STACK_SIZE);
-PROVIDE (_estack = __main_stack_start);
-PROVIDE (__mirrored_nvm = 0); /* Indicate to startup code that NVM is not mirrored to VMA address .text copy is required. */
-
-SECTIONS
-{
- .init :
- {
- *(.isr_vector)
- . = ALIGN(0x4);
- } >esram
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __text_load = LOADADDR(.text);
- __text_start = .;
- *(.text .text.* .gnu.linkonce.t.*)
- *(.plt)
- *(.gnu.warning)
- *(.glue_7t) *(.glue_7) *(.vfp11_veneer)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- *(.ARM.extab* .gnu.linkonce.armextab.*)
- *(.gcc_except_table)
- *(.eh_frame_hdr)
- *(.eh_frame)
-
- KEEP (*(.init))
- KEEP (*(.fini))
-
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } >external_ram
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- __exidx_start = .;
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } >external_ram
- __exidx_end = .;
- _etext = .;
- PROVIDE(__text_end = .);
-
- .data :
- {
- __data_load = LOADADDR (.data);
- _sidata = LOADADDR (.data);
- __data_start = .;
- _sdata = .;
- KEEP(*(.jcr))
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >external_ram
-
- .bss :
- {
- __bss_start__ = . ;
- _sbss = .;
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- __bss_end__ = .;
- _end = .;
- __end = _end;
- _ebss = .;
- PROVIDE(end = .);
- } >external_ram
-
- /*
- * The .stack section is only specified here in order for the linker to generate
- * an error if the esram is full.
- */
- .stack :
- {
- . = ALIGN(4);
- . += PROCESS_STACK_SIZE;
- . = ALIGN(4);
- . += MAIN_STACK_SIZE;
- . = ALIGN(4);
- } >external_ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
- .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) *(.isr_vector) }
-}
+++ /dev/null
-/*******************************************************************************\r
- * (c) Copyright 2009 Actel Corporation. All rights reserved.\r
- * \r
- * Stubs for Newlib system calls.\r
- * \r
- * SVN $Revision: 2020 $\r
- * SVN $Date: 2010-01-20 14:51:50 +0000 (Wed, 20 Jan 2010) $\r
- */\r
-#include <stdlib.h>\r
-#include <sys/unistd.h>\r
-#include <sys/stat.h>\r
-#include <sys/times.h>\r
-#include <errno.h>\r
-#undef errno\r
-extern int errno;\r
-\r
-/*==============================================================================\r
- * Redirection of standard output to a SmartFusion MSS UART.\r
- *------------------------------------------------------------------------------\r
- * A default implementation for the redirection of the output of printf() to a\r
- * UART is provided as the bottom of this file. This redirection is enabled by\r
- * adding the symbol/define ACTEL_STDIO_THRU_UART to your project and\r
- * specifying the baud rate using the ACTEL_STDIO_BAUD_RATE define.\r
- */\r
-#ifdef ACTEL_STDIO_THRU_UART\r
-#include "../../drivers/mss_uart/mss_uart.h"\r
-\r
-#ifndef ACTEL_STDIO_BAUD_RATE\r
-#define ACTEL_STDIO_BAUD_RATE MSS_UART_57600_BAUD\r
-#endif\r
-\r
-/*------------------------------------------------------------------------------\r
- * Global flag used to indicate if the UART driver needs to be initialized.\r
- */\r
-static int g_stdio_uart_init_done = 0;\r
-\r
-#endif /* ACTEL_STDIO_THRU_UART */\r
-\r
-/*==============================================================================\r
- * Environment variables.\r
- * A pointer to a list of environment variables and their values. For a minimal\r
- * environment, this empty list is adequate:\r
- */\r
-char *__env[1] = { 0 };\r
-char **environ = __env;\r
-\r
-/*==============================================================================\r
- * Close a file.\r
- */\r
-int _close(int file)\r
-{\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Transfer control to a new process.\r
- */\r
-int _execve(char *name, char **argv, char **env)\r
-{\r
- errno = ENOMEM;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Exit a program without cleaning up files.\r
- */\r
-void _exit( int code )\r
-{\r
- /* Should we force a system reset? */\r
- while( 1 )\r
- {\r
- ;\r
- }\r
-}\r
-\r
-/*==============================================================================\r
- * Create a new process.\r
- */\r
-int _fork(void)\r
-{\r
- errno = EAGAIN;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Status of an open file.\r
- */\r
-int _fstat(int file, struct stat *st)\r
-{\r
- st->st_mode = S_IFCHR;\r
- return 0;\r
-}\r
-\r
-/*==============================================================================\r
- * Process-ID\r
- */\r
-int _getpid(void)\r
-{\r
- return 1;\r
-}\r
-\r
-/*==============================================================================\r
- * Query whether output stream is a terminal.\r
- */\r
-int _isatty(int file)\r
-{\r
- return 1;\r
-}\r
-\r
-/*==============================================================================\r
- * Send a signal.\r
- */\r
-int _kill(int pid, int sig)\r
-{\r
- errno = EINVAL;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Establish a new name for an existing file.\r
- */\r
-int _link(char *old, char *new)\r
-{\r
- errno = EMLINK;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Set position in a file.\r
- */\r
-int _lseek(int file, int ptr, int dir)\r
-{\r
- return 0;\r
-}\r
-\r
-/*==============================================================================\r
- * Open a file.\r
- */\r
-int _open(const char *name, int flags, int mode)\r
-{\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Read from a file.\r
- */\r
-int _read(int file, char *ptr, int len)\r
-{\r
- return 0;\r
-}\r
-\r
-/*==============================================================================\r
- * Increase program data space. As malloc and related functions depend on this,\r
- * it is useful to have a working implementation. The following suffices for a\r
- * standalone system; it exploits the symbol _end automatically defined by the\r
- * GNU linker. \r
- */\r
-caddr_t _sbrk(int incr)\r
-{\r
- extern char _end; /* Defined by the linker */\r
- static char *heap_end;\r
- char *prev_heap_end;\r
- char * stack_ptr;\r
- \r
- if (heap_end == 0)\r
- {\r
- heap_end = &_end;\r
- }\r
- \r
- prev_heap_end = heap_end;\r
- asm volatile ("MRS %0, msp" : "=r" (stack_ptr) );\r
- if (heap_end + incr > stack_ptr)\r
- {\r
- write (1, "Heap and stack collision\n", 25);\r
- abort ();\r
- }\r
- \r
- heap_end += incr;\r
- return (caddr_t) prev_heap_end;\r
-}\r
-\r
-/*==============================================================================\r
- * Status of a file (by name).\r
- */\r
-int _stat(char *file, struct stat *st)\r
-{\r
- st->st_mode = S_IFCHR;\r
- return 0;\r
-}\r
-\r
-/*==============================================================================\r
- * Timing information for current process.\r
- */\r
-int _times(struct tms *buf)\r
-{\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Remove a file's directory entry.\r
- */\r
-int _unlink(char *name)\r
-{\r
- errno = ENOENT;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Wait for a child process.\r
- */\r
-int _wait(int *status)\r
-{\r
- errno = ECHILD;\r
- return -1;\r
-}\r
-\r
-/*==============================================================================\r
- * Write to a file. libc subroutines will use this system routine for output to\r
- * all files, including stdout\97so if you need to generate any output, for\r
- * example to a serial port for debugging, you should make your minimal write\r
- * capable of doing this.\r
- */\r
-int _write_r( void * reent, int file, char * ptr, int len )\r
-{\r
-#ifdef ACTEL_STDIO_THRU_UART\r
- /*--------------------------------------------------------------------------\r
- * Initialize the UART driver if it is the first time this function is\r
- * called.\r
- */\r
- if ( !g_stdio_uart_init_done )\r
- {\r
- MSS_UART_init( &g_mss_uart0, ACTEL_STDIO_BAUD_RATE, (MSS_UART_DATA_8_BITS | MSS_UART_NO_PARITY));\r
- g_stdio_uart_init_done = 1;\r
- }\r
- \r
- /*--------------------------------------------------------------------------\r
- * Output text to the UART.\r
- */\r
- MSS_UART_polled_tx( &g_mss_uart0, (uint8_t *)ptr, len );\r
- \r
- return len;\r
-#else /* ACTEL_STDIO_THRU_UART */\r
- return 0;\r
-#endif /* ACTEL_STDIO_THRU_UART */\r
-}\r
-\r
-\r
+++ /dev/null
-/*******************************************************************************
- * (c) Copyright 2009 Actel Corporation. All rights reserved.
- *
- * SmartFusion/Cortex-M3 linker script creating an executable image for use in
- * the Libero flow for executing code in place in internal eNVM.
- *
- * SVN $Revision: 1766 $
- * SVN $Date: 2009-12-11 16:33:35 +0000 (Fri, 11 Dec 2009) $
- */
-OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-GROUP(-lc -lgcc -lm)
-OUTPUT_ARCH(arm)
-ENTRY(Reset_Handler)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*******************************************************************************
- * Start of board customization.
- *******************************************************************************/
-MEMORY
-{
- /* SmartFusion internal eNVM */
- rom (rx) : ORIGIN = 0, LENGTH = 256k
-
- /* SmartFusion internal eSRAM */
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64k
-}
-
-RAM_START_ADDRESS = 0x20000000; /* Must be the same value as MEMORY region ram ORIGIN above. */
-RAM_SIZE = 64k; /* Must be the same value as MEMORY region ram LENGTH above. */
-MAIN_STACK_SIZE = 8k; /* Cortex main stack size. */
-PROCESS_STACK_SIZE = 4k; /* Cortex process stack size (only available with OS extensions).*/
-
-/*******************************************************************************
- * End of board customization.
- *******************************************************************************/
-
-PROVIDE (__main_stack_start = RAM_START_ADDRESS + RAM_SIZE);
-PROVIDE (__process_stack_start = __main_stack_start - MAIN_STACK_SIZE);
-PROVIDE (_estack = __main_stack_start);
-PROVIDE (__mirrored_nvm = 0); /* Indicate to startup code that NVM is not mirrored to VMA address .text copy is required. */
-
-SECTIONS
-{
- .reset :
- {
- *(.isr_vector)
- *sys_boot.o(.text)
- . = ALIGN(0x4);
- } >rom
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __text_load = LOADADDR(.text);
- __text_start = .;
-
- *(.text .text.* .gnu.linkonce.t.*)
- *(.plt)
- *(.gnu.warning)
- *(.glue_7t) *(.glue_7) *(.vfp11_veneer)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- *(.ARM.extab* .gnu.linkonce.armextab.*)
- *(.gcc_except_table)
- *(.eh_frame_hdr)
- *(.eh_frame)
-
- KEEP (*(.init))
- KEEP (*(.fini))
-
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } >rom
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- __exidx_start = .;
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } >rom
- __exidx_end = .;
- _etext = .;
-
- .data :
- {
- __data_load = LOADADDR(.data);
- _sidata = LOADADDR (.data);
- __data_start = .;
- _sdata = .;
- KEEP(*(.jcr))
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >ram AT>rom
-
- .bss :
- {
- __bss_start__ = . ;
- _sbss = .;
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- __bss_end__ = .;
- _end = .;
- __end = _end;
- _ebss = .;
- PROVIDE(end = .);
- } >ram AT>rom
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
- .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
+++ /dev/null
-/*******************************************************************************
- * (c) Copyright 2009 Actel Corporation. All rights reserved.
- *
- * SmartFusion/Cortex-M3 linker script creating an executable image for use in
- * the Libero flow for relocating executable from internal eNVM to external RAM
- * before starting execution.
- *
- * SVN $Revision: 1766 $
- * SVN $Date: 2009-12-11 16:33:35 +0000 (Fri, 11 Dec 2009) $
- */
-OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-GROUP(-lc -lgcc -lm)
-OUTPUT_ARCH(arm)
-ENTRY(Reset_Handler)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*******************************************************************************
- * Start of board customization.
- *******************************************************************************/
-MEMORY
-{
- /* SmartFusion internal eNVM */
- rom (rx) : ORIGIN = 0, LENGTH = 256k
-
- /* SmartFusion internal eSRAM */
- esram (rwx) : ORIGIN = 0x20000000, LENGTH = 64k
-
- /* SmartFusion development board external RAM */
- external_ram (rwx) : ORIGIN = 0x70000000, LENGTH = 2M
-}
-
-RAM_START_ADDRESS = 0x20000000; /* Must be the same value as MEMORY region esram ORIGIN above. */
-RAM_SIZE = 64k; /* Must be the same value as MEMORY region esram LENGTH above. */
-MAIN_STACK_SIZE = 8k; /* Cortex main stack size. */
-PROCESS_STACK_SIZE = 4k; /* Cortex process stack size (only available with OS extensions).*/
-
-/*******************************************************************************
- * End of board customization.
- *******************************************************************************/
-
-PROVIDE (__main_stack_start = RAM_START_ADDRESS + RAM_SIZE);
-PROVIDE (__process_stack_start = __main_stack_start - MAIN_STACK_SIZE);
-PROVIDE (_estack = __main_stack_start);
-PROVIDE (__mirrored_nvm = 0); /* Indicate to startup code that NVM is not mirrored to VMA address .text copy is required. */
-
-SECTIONS
-{
- .reset :
- {
- *(.isr_vector)
-/* *sys_boot.o(.text)*/
- . = ALIGN(0x4);
- } >rom
-
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- __text_load = LOADADDR(.text);
- __text_start = .;
-
- *(.text .text.* .gnu.linkonce.t.*)
- *(.plt)
- *(.gnu.warning)
- *(.glue_7t) *(.glue_7) *(.vfp11_veneer)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- *(.rodata .rodata.* .gnu.linkonce.r.*)
-
- *(.ARM.extab* .gnu.linkonce.armextab.*)
- *(.gcc_except_table)
- *(.eh_frame_hdr)
- *(.eh_frame)
-
- KEEP (*(.init))
- KEEP (*(.fini))
-
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } >external_ram AT>rom
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- __exidx_start = .;
- .ARM.exidx :
- {
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } >external_ram AT>rom
- __exidx_end = .;
- _etext = .;
-
- .data :
- {
- __data_load = LOADADDR(.data);
- _sidata = LOADADDR (.data);
- __data_start = .;
- _sdata = .;
- KEEP(*(.jcr))
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.* .gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >esram AT>rom
-
- .bss :
- {
- __bss_start__ = . ;
- _sbss = .;
- *(.shbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- __bss_end__ = .;
- _end = .;
- __end = _end;
- _ebss = .;
- PROVIDE(end = .);
- } >esram AT>rom
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
- .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
+++ /dev/null
-/*******************************************************************************\r
- * (c) Copyright 2009 Actel Corporation. All rights reserved.\r
- * \r
- * SmartFusion A2FXXXM3 vector table and startup code.\r
- *\r
- * SVN $Revision: 2068 $\r
- * SVN $Date: 2010-01-27 17:27:41 +0000 (Wed, 27 Jan 2010) $\r
- */\r
-\r
- .syntax unified\r
- .cpu cortex-m3\r
- .thumb\r
- \r
-\r
-/*==============================================================================\r
- * Vector table\r
- */\r
- .global g_pfnVectors\r
- .section .isr_vector,"a",%progbits\r
- .type g_pfnVectors, %object\r
- .size g_pfnVectors, .-g_pfnVectors\r
- \r
-g_pfnVectors:\r
- .word _estack\r
- .word Reset_Handler\r
- .word NMI_Handler\r
- .word HardFault_Handler\r
- .word MemManage_Handler\r
- .word BusFault_Handler\r
- .word UsageFault_Handler\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word SVC_Handler\r
- .word DebugMon_Handler\r
- .word 0\r
- .word PendSV_Handler\r
- .word SysTick_Handler\r
- .word WdogWakeup_IRQHandler\r
- .word BrownOut_1_5V_IRQHandler\r
- .word BrownOut_3_3V_IRQHandler\r
- .word RTC_Match_IRQHandler\r
- .word RTCIF_Pub_IRQHandler\r
- .word EthernetMAC_IRQHandler\r
- .word IAP_IRQHandler\r
- .word ENVM0_IRQHandler\r
- .word ENVM1_IRQHandler\r
- .word DMA_IRQHandler\r
- .word UART0_IRQHandler\r
- .word UART1_IRQHandler\r
- .word SPI0_IRQHandler\r
- .word SPI1_IRQHandler\r
- .word I2C0_IRQHandler\r
- .word I2C0_SMBAlert_IRQHandler\r
- .word I2C0_SMBus_IRQHandler\r
- .word I2C1_IRQHandler\r
- .word I2C1_SMBAlert_IRQHandler\r
- .word I2C1_SMBus_IRQHandler\r
- .word Timer1_IRQHandler\r
- .word Timer2_IRQHandler\r
- .word PLL_Lock_IRQHandler\r
- .word PLL_LockLost_IRQHandler\r
- .word CommError_IRQHandler\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word 0\r
- .word Fabric_IRQHandler\r
- .word GPIO0_IRQHandler\r
- .word GPIO1_IRQHandler\r
- .word GPIO2_IRQHandler\r
- .word GPIO3_IRQHandler\r
- .word GPIO4_IRQHandler\r
- .word GPIO5_IRQHandler\r
- .word GPIO6_IRQHandler\r
- .word GPIO7_IRQHandler\r
- .word GPIO8_IRQHandler\r
- .word GPIO9_IRQHandler\r
- .word GPIO10_IRQHandler\r
- .word GPIO11_IRQHandler\r
- .word GPIO12_IRQHandler\r
- .word GPIO13_IRQHandler\r
- .word GPIO14_IRQHandler\r
- .word GPIO15_IRQHandler\r
- .word GPIO16_IRQHandler\r
- .word GPIO17_IRQHandler\r
- .word GPIO18_IRQHandler\r
- .word GPIO19_IRQHandler\r
- .word GPIO20_IRQHandler\r
- .word GPIO21_IRQHandler\r
- .word GPIO22_IRQHandler\r
- .word GPIO23_IRQHandler\r
- .word GPIO24_IRQHandler\r
- .word GPIO25_IRQHandler\r
- .word GPIO26_IRQHandler\r
- .word GPIO27_IRQHandler\r
- .word GPIO28_IRQHandler\r
- .word GPIO29_IRQHandler\r
- .word GPIO30_IRQHandler\r
- .word GPIO31_IRQHandler\r
- .word ACE_PC0_Flag0_IRQHandler\r
- .word ACE_PC0_Flag1_IRQHandler\r
- .word ACE_PC0_Flag2_IRQHandler\r
- .word ACE_PC0_Flag3_IRQHandler\r
- .word ACE_PC1_Flag0_IRQHandler\r
- .word ACE_PC1_Flag1_IRQHandler\r
- .word ACE_PC1_Flag2_IRQHandler\r
- .word ACE_PC1_Flag3_IRQHandler\r
- .word ACE_PC2_Flag0_IRQHandler\r
- .word ACE_PC2_Flag1_IRQHandler\r
- .word ACE_PC2_Flag2_IRQHandler\r
- .word ACE_PC2_Flag3_IRQHandler\r
- .word ACE_ADC0_DataValid_IRQHandler\r
- .word ACE_ADC1_DataValid_IRQHandler\r
- .word ACE_ADC2_DataValid_IRQHandler\r
- .word ACE_ADC0_CalDone_IRQHandler\r
- .word ACE_ADC1_CalDone_IRQHandler\r
- .word ACE_ADC2_CalDone_IRQHandler\r
- .word ACE_ADC0_CalStart_IRQHandler\r
- .word ACE_ADC1_CalStart_IRQHandler\r
- .word ACE_ADC2_CalStart_IRQHandler\r
- .word ACE_Comp0_Fall_IRQHandler\r
- .word ACE_Comp1_Fall_IRQHandler\r
- .word ACE_Comp2_Fall_IRQHandler\r
- .word ACE_Comp3_Fall_IRQHandler\r
- .word ACE_Comp4_Fall_IRQHandler\r
- .word ACE_Comp5_Fall_IRQHandler\r
- .word ACE_Comp6_Fall_IRQHandler\r
- .word ACE_Comp7_Fall_IRQHandler\r
- .word ACE_Comp8_Fall_IRQHandler\r
- .word ACE_Comp9_Fall_IRQHandler\r
- .word ACE_Comp10_Fall_IRQHandler\r
- .word ACE_Comp11_Fall_IRQHandler\r
- .word ACE_Comp0_Rise_IRQHandler\r
- .word ACE_Comp1_Rise_IRQHandler\r
- .word ACE_Comp2_Rise_IRQHandler\r
- .word ACE_Comp3_Rise_IRQHandler\r
- .word ACE_Comp4_Rise_IRQHandler\r
- .word ACE_Comp5_Rise_IRQHandler\r
- .word ACE_Comp6_Rise_IRQHandler\r
- .word ACE_Comp7_Rise_IRQHandler\r
- .word ACE_Comp8_Rise_IRQHandler\r
- .word ACE_Comp9_Rise_IRQHandler\r
- .word ACE_Comp10_Rise_IRQHandler\r
- .word ACE_Comp11_Rise_IRQHandler\r
- .word ACE_ADC0_FifoFull_IRQHandler\r
- .word ACE_ADC0_FifoAFull_IRQHandler\r
- .word ACE_ADC0_FifoEmpty_IRQHandler\r
- .word ACE_ADC1_FifoFull_IRQHandler\r
- .word ACE_ADC1_FifoAFull_IRQHandler\r
- .word ACE_ADC1_FifoEmpty_IRQHandler\r
- .word ACE_ADC2_FifoFull_IRQHandler\r
- .word ACE_ADC2_FifoAFull_IRQHandler\r
- .word ACE_ADC2_FifoEmpty_IRQHandler\r
- .word ACE_PPE_Flag0_IRQHandler\r
- .word ACE_PPE_Flag1_IRQHandler\r
- .word ACE_PPE_Flag2_IRQHandler\r
- .word ACE_PPE_Flag3_IRQHandler\r
- .word ACE_PPE_Flag4_IRQHandler\r
- .word ACE_PPE_Flag5_IRQHandler\r
- .word ACE_PPE_Flag6_IRQHandler\r
- .word ACE_PPE_Flag7_IRQHandler\r
- .word ACE_PPE_Flag8_IRQHandler\r
- .word ACE_PPE_Flag9_IRQHandler\r
- .word ACE_PPE_Flag10_IRQHandler\r
- .word ACE_PPE_Flag11_IRQHandler\r
- .word ACE_PPE_Flag12_IRQHandler\r
- .word ACE_PPE_Flag13_IRQHandler\r
- .word ACE_PPE_Flag14_IRQHandler\r
- .word ACE_PPE_Flag15_IRQHandler\r
- .word ACE_PPE_Flag16_IRQHandler\r
- .word ACE_PPE_Flag17_IRQHandler\r
- .word ACE_PPE_Flag18_IRQHandler\r
- .word ACE_PPE_Flag19_IRQHandler\r
- .word ACE_PPE_Flag20_IRQHandler\r
- .word ACE_PPE_Flag21_IRQHandler\r
- .word ACE_PPE_Flag22_IRQHandler\r
- .word ACE_PPE_Flag23_IRQHandler\r
- .word ACE_PPE_Flag24_IRQHandler\r
- .word ACE_PPE_Flag25_IRQHandler\r
- .word ACE_PPE_Flag26_IRQHandler\r
- .word ACE_PPE_Flag27_IRQHandler\r
- .word ACE_PPE_Flag28_IRQHandler\r
- .word ACE_PPE_Flag29_IRQHandler\r
- .word ACE_PPE_Flag30_IRQHandler\r
- .word ACE_PPE_Flag31_IRQHandler\r
-\r
- \r
-/*==============================================================================\r
- * Reset_Handler\r
- */\r
- .global Reset_Handler\r
- .type Reset_Handler, %function\r
-Reset_Handler:\r
-_start:\r
-/*------------------------------------------------------------------------------ \r
- * Call CMSIS system init function.\r
- * This is not actually required for SmartFusioon as all low initialisations are\r
- * done as part of the system boot.\r
- */\r
-; ldr r0, =SystemInit\r
-; blx r0\r
- \r
-/*------------------------------------------------------------------------------ \r
- * Check if the executable is built for NVM LMA mirrored to VMA address.\r
- * This is done for debugging executables running out of eNVM with SoftConsole.\r
- * The .text section should not be copied in this case since both the LMA and\r
- * VMA point at the eNVM despite the LMA and VMa having different values.\r
- */\r
- ldr r0, =__mirrored_nvm\r
- cmp r0, #0\r
- bne copy_data\r
- \r
-/*------------------------------------------------------------------------------ \r
- * Copy code section.\r
- */\r
- ldr r0, =__text_load\r
- ldr r1, =__text_start\r
- ldr r2, =_etext\r
- cmp r0, r1\r
- beq copy_data\r
-copy_code_loop:\r
- cmp r1, r2\r
- itt ne\r
- ldrne r3, [r0], #4\r
- strne r3, [r1], #4\r
- bne copy_code_loop\r
-\r
-/*------------------------------------------------------------------------------ \r
- * Copy data section.\r
- */\r
-copy_data:\r
- ldr r0, =__data_load\r
- ldr r1, =__data_start\r
- ldr r2, =_edata\r
- cmp r0, r1\r
- beq clear_bss\r
-copy_data_loop:\r
- cmp r1, r2\r
- itt ne\r
- ldrne r3, [r0], #4\r
- strne r3, [r1], #4\r
- bne copy_data_loop\r
- \r
-/*------------------------------------------------------------------------------ \r
- * Clear .bss\r
- */\r
-clear_bss:\r
- ldr r0, =0\r
- ldr r1, =__bss_start__\r
- ldr r2, =__bss_end__\r
-clear_bss_loop:\r
- cmp r1, r2\r
- it ne\r
- strne r0, [r1], #4\r
- bne clear_bss_loop\r
-\r
-/*------------------------------------------------------------------------------ \r
- * Call global constructors\r
- */\r
-call_glob_ctor:\r
- ldr r0, =__libc_init_array\r
- add lr, pc, #3\r
- bx r0\r
-\r
-/*------------------------------------------------------------------------------ \r
- * branch to main.\r
- */\r
-branch_to_main: \r
- mov r0, #0 /* no arguments */\r
- mov r1, #0 /* no argv either */\r
- ldr pc, =main\r
-\r
-ExitLoop:\r
- B ExitLoop\r
-\r
-/*==============================================================================\r
- * NMI_Handler\r
- */\r
- .weak NMI_Handler\r
- .type NMI_Handler, %function\r
-NMI_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * HardFault_Handler\r
- */\r
- .weak HardFault_Handler\r
- .type HardFault_Handler, %function\r
-HardFault_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * MemManage_Handler\r
- */\r
- .weak MemManage_Handler\r
- .type MemManage_Handler, %function\r
-MemManage_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * BusFault_Handler\r
- */\r
- .weak BusFault_Handler\r
- .type BusFault_Handler, %function\r
-BusFault_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * UsageFault_Handler\r
- */\r
- .weak UsageFault_Handler\r
- .type UsageFault_Handler, %function\r
-UsageFault_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * SVC_Handler\r
- */\r
- .weak SVC_Handler\r
- .type SVC_Handler, %function\r
-SVC_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * DebugMon_Handler\r
- */\r
- .weak DebugMon_Handler\r
- .type DebugMon_Handler, %function\r
-DebugMon_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * PendSV_Handler\r
- */\r
- .weak PendSV_Handler\r
- .type PendSV_Handler, %function\r
-PendSV_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * SysTick_Handler\r
- */\r
- .weak SysTick_Handler\r
- .type SysTick_Handler, %function\r
-SysTick_Handler:\r
- B .\r
-\r
-/*==============================================================================\r
- * WdogWakeup_IRQHandler\r
- */\r
- .weak WdogWakeup_IRQHandler\r
- .type WdogWakeup_IRQHandler, %function\r
-WdogWakeup_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * BrownOut_1_5V_IRQHandler\r
- */\r
- .weak BrownOut_1_5V_IRQHandler\r
- .type BrownOut_1_5V_IRQHandler, %function\r
-BrownOut_1_5V_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * BrownOut_3_3V_IRQHandler\r
- */\r
- .weak BrownOut_3_3V_IRQHandler\r
- .type BrownOut_3_3V_IRQHandler, %function\r
-BrownOut_3_3V_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * RTC_Match_IRQHandler\r
- */\r
- .weak RTC_Match_IRQHandler\r
- .type RTC_Match_IRQHandler, %function\r
-RTC_Match_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * RTCIF_Pub_IRQHandler\r
- */\r
- .weak RTCIF_Pub_IRQHandler\r
- .type RTCIF_Pub_IRQHandler, %function\r
-RTCIF_Pub_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * EthernetMAC_IRQHandler\r
- */\r
- .weak EthernetMAC_IRQHandler\r
- .type EthernetMAC_IRQHandler, %function\r
-EthernetMAC_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * IAP_IRQHandler\r
- */\r
- .weak IAP_IRQHandler\r
- .type IAP_IRQHandler, %function\r
-IAP_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ENVM0_IRQHandler\r
- */\r
- .weak ENVM0_IRQHandler\r
- .type ENVM0_IRQHandler, %function\r
-ENVM0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ENVM1_IRQHandler\r
- */\r
- .weak ENVM1_IRQHandler\r
- .type ENVM1_IRQHandler, %function\r
-ENVM1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * DMA_IRQHandler\r
- */\r
- .weak DMA_IRQHandler\r
- .type DMA_IRQHandler, %function\r
-DMA_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * UART0_IRQHandler\r
- */\r
- .weak UART0_IRQHandler\r
- .type UART0_IRQHandler, %function\r
-UART0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * UART1_IRQHandler\r
- */\r
- .weak UART1_IRQHandler\r
- .type UART1_IRQHandler, %function\r
-UART1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * SPI0_IRQHandler\r
- */\r
- .weak SPI0_IRQHandler\r
- .type SPI0_IRQHandler, %function\r
-SPI0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * SPI1_IRQHandler\r
- */\r
- .weak SPI1_IRQHandler\r
- .type SPI1_IRQHandler, %function\r
-SPI1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C0_IRQHandler\r
- */\r
- .weak I2C0_IRQHandler\r
- .type I2C0_IRQHandler, %function\r
-I2C0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C0_SMBAlert_IRQHandler\r
- */\r
- .weak I2C0_SMBAlert_IRQHandler\r
- .type I2C0_SMBAlert_IRQHandler, %function\r
-I2C0_SMBAlert_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C0_SMBus_IRQHandler\r
- */\r
- .weak I2C0_SMBus_IRQHandler\r
- .type I2C0_SMBus_IRQHandler, %function\r
-I2C0_SMBus_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C1_IRQHandler\r
- */\r
- .weak I2C1_IRQHandler\r
- .type I2C1_IRQHandler, %function\r
-I2C1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C1_SMBAlert_IRQHandler\r
- */\r
- .weak I2C1_SMBAlert_IRQHandler\r
- .type I2C1_SMBAlert_IRQHandler, %function\r
-I2C1_SMBAlert_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * I2C1_SMBus_IRQHandler\r
- */\r
- .weak I2C1_SMBus_IRQHandler\r
- .type I2C1_SMBus_IRQHandler, %function\r
-I2C1_SMBus_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * Timer1_IRQHandler\r
- */\r
- .weak Timer1_IRQHandler\r
- .type Timer1_IRQHandler, %function\r
-Timer1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * Timer2_IRQHandler\r
- */\r
- .weak Timer2_IRQHandler\r
- .type Timer2_IRQHandler, %function\r
-Timer2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * PLL_Lock_IRQHandler\r
- */\r
- .weak PLL_Lock_IRQHandler\r
- .type PLL_Lock_IRQHandler, %function\r
-PLL_Lock_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * PLL_LockLost_IRQHandler\r
- */\r
- .weak PLL_LockLost_IRQHandler\r
- .type PLL_LockLost_IRQHandler, %function\r
-PLL_LockLost_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * CommError_IRQHandler\r
- */\r
- .weak CommError_IRQHandler\r
- .type CommError_IRQHandler, %function\r
-CommError_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * Fabric_IRQHandler\r
- */\r
- .weak Fabric_IRQHandler\r
- .type Fabric_IRQHandler, %function\r
-Fabric_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO0_IRQHandler\r
- */\r
- .weak GPIO0_IRQHandler\r
- .type GPIO0_IRQHandler, %function\r
-GPIO0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO1_IRQHandler\r
- */\r
- .weak GPIO1_IRQHandler\r
- .type GPIO1_IRQHandler, %function\r
-GPIO1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO2_IRQHandler\r
- */\r
- .weak GPIO2_IRQHandler\r
- .type GPIO2_IRQHandler, %function\r
-GPIO2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO3_IRQHandler\r
- */\r
- .weak GPIO3_IRQHandler\r
- .type GPIO3_IRQHandler, %function\r
-GPIO3_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO4_IRQHandler\r
- */\r
- .weak GPIO4_IRQHandler\r
- .type GPIO4_IRQHandler, %function\r
-GPIO4_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO5_IRQHandler\r
- */\r
- .weak GPIO5_IRQHandler\r
- .type GPIO5_IRQHandler, %function\r
-GPIO5_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO6_IRQHandler\r
- */\r
- .weak GPIO6_IRQHandler\r
- .type GPIO6_IRQHandler, %function\r
-GPIO6_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO7_IRQHandler\r
- */\r
- .weak GPIO7_IRQHandler\r
- .type GPIO7_IRQHandler, %function\r
-GPIO7_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO8_IRQHandler\r
- */\r
- .weak GPIO8_IRQHandler\r
- .type GPIO8_IRQHandler, %function\r
-GPIO8_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO9_IRQHandler\r
- */\r
- .weak GPIO9_IRQHandler\r
- .type GPIO9_IRQHandler, %function\r
-GPIO9_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO10_IRQHandler\r
- */\r
- .weak GPIO10_IRQHandler\r
- .type GPIO10_IRQHandler, %function\r
-GPIO10_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO11_IRQHandler\r
- */\r
- .weak GPIO11_IRQHandler\r
- .type GPIO11_IRQHandler, %function\r
-GPIO11_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO12_IRQHandler\r
- */\r
- .weak GPIO12_IRQHandler\r
- .type GPIO12_IRQHandler, %function\r
-GPIO12_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO13_IRQHandler\r
- */\r
- .weak GPIO13_IRQHandler\r
- .type GPIO13_IRQHandler, %function\r
-GPIO13_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO14_IRQHandler\r
- */\r
- .weak GPIO14_IRQHandler\r
- .type GPIO14_IRQHandler, %function\r
-GPIO14_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO15_IRQHandler\r
- */\r
- .weak GPIO15_IRQHandler\r
- .type GPIO15_IRQHandler, %function\r
-GPIO15_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO16_IRQHandler\r
- */\r
- .weak GPIO16_IRQHandler\r
- .type GPIO16_IRQHandler, %function\r
-GPIO16_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO17_IRQHandler\r
- */\r
- .weak GPIO17_IRQHandler\r
- .type GPIO17_IRQHandler, %function\r
-GPIO17_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO18_IRQHandler\r
- */\r
- .weak GPIO18_IRQHandler\r
- .type GPIO18_IRQHandler, %function\r
-GPIO18_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO19_IRQHandler\r
- */\r
- .weak GPIO19_IRQHandler\r
- .type GPIO19_IRQHandler, %function\r
-GPIO19_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO20_IRQHandler\r
- */\r
- .weak GPIO20_IRQHandler\r
- .type GPIO20_IRQHandler, %function\r
-GPIO20_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO21_IRQHandler\r
- */\r
- .weak GPIO21_IRQHandler\r
- .type GPIO21_IRQHandler, %function\r
-GPIO21_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO22_IRQHandler\r
- */\r
- .weak GPIO22_IRQHandler\r
- .type GPIO22_IRQHandler, %function\r
-GPIO22_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO23_IRQHandler\r
- */\r
- .weak GPIO23_IRQHandler\r
- .type GPIO23_IRQHandler, %function\r
-GPIO23_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO24_IRQHandler\r
- */\r
- .weak GPIO24_IRQHandler\r
- .type GPIO24_IRQHandler, %function\r
-GPIO24_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO25_IRQHandler\r
- */\r
- .weak GPIO25_IRQHandler\r
- .type GPIO25_IRQHandler, %function\r
-GPIO25_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO26_IRQHandler\r
- */\r
- .weak GPIO26_IRQHandler\r
- .type GPIO26_IRQHandler, %function\r
-GPIO26_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO27_IRQHandler\r
- */\r
- .weak GPIO27_IRQHandler\r
- .type GPIO27_IRQHandler, %function\r
-GPIO27_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO28_IRQHandler\r
- */\r
- .weak GPIO28_IRQHandler\r
- .type GPIO28_IRQHandler, %function\r
-GPIO28_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO29_IRQHandler\r
- */\r
- .weak GPIO29_IRQHandler\r
- .type GPIO29_IRQHandler, %function\r
-GPIO29_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO30_IRQHandler\r
- */\r
- .weak GPIO30_IRQHandler\r
- .type GPIO30_IRQHandler, %function\r
-GPIO30_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * GPIO31_IRQHandler\r
- */\r
- .weak GPIO31_IRQHandler\r
- .type GPIO31_IRQHandler, %function\r
-GPIO31_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC0_Flag0_IRQHandler\r
- */\r
- .weak ACE_PC0_Flag0_IRQHandler\r
- .type ACE_PC0_Flag0_IRQHandler, %function\r
-ACE_PC0_Flag0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC0_Flag1_IRQHandler\r
- */\r
- .weak ACE_PC0_Flag1_IRQHandler\r
- .type ACE_PC0_Flag1_IRQHandler, %function\r
-ACE_PC0_Flag1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC0_Flag2_IRQHandler\r
- */\r
- .weak ACE_PC0_Flag2_IRQHandler\r
- .type ACE_PC0_Flag2_IRQHandler, %function\r
-ACE_PC0_Flag2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC0_Flag3_IRQHandler\r
- */\r
- .weak ACE_PC0_Flag3_IRQHandler\r
- .type ACE_PC0_Flag3_IRQHandler, %function\r
-ACE_PC0_Flag3_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC1_Flag0_IRQHandler\r
- */\r
- .weak ACE_PC1_Flag0_IRQHandler\r
- .type ACE_PC1_Flag0_IRQHandler, %function\r
-ACE_PC1_Flag0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC1_Flag1_IRQHandler\r
- */\r
- .weak ACE_PC1_Flag1_IRQHandler\r
- .type ACE_PC1_Flag1_IRQHandler, %function\r
-ACE_PC1_Flag1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC1_Flag2_IRQHandler\r
- */\r
- .weak ACE_PC1_Flag2_IRQHandler\r
- .type ACE_PC1_Flag2_IRQHandler, %function\r
-ACE_PC1_Flag2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC1_Flag3_IRQHandler\r
- */\r
- .weak ACE_PC1_Flag3_IRQHandler\r
- .type ACE_PC1_Flag3_IRQHandler, %function\r
-ACE_PC1_Flag3_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC2_Flag0_IRQHandler\r
- */\r
- .weak ACE_PC2_Flag0_IRQHandler\r
- .type ACE_PC2_Flag0_IRQHandler, %function\r
-ACE_PC2_Flag0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC2_Flag1_IRQHandler\r
- */\r
- .weak ACE_PC2_Flag1_IRQHandler\r
- .type ACE_PC2_Flag1_IRQHandler, %function\r
-ACE_PC2_Flag1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC2_Flag2_IRQHandler\r
- */\r
- .weak ACE_PC2_Flag2_IRQHandler\r
- .type ACE_PC2_Flag2_IRQHandler, %function\r
-ACE_PC2_Flag2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PC2_Flag3_IRQHandler\r
- */\r
- .weak ACE_PC2_Flag3_IRQHandler\r
- .type ACE_PC2_Flag3_IRQHandler, %function\r
-ACE_PC2_Flag3_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_DataValid_IRQHandler\r
- */\r
- .weak ACE_ADC0_DataValid_IRQHandler\r
- .type ACE_ADC0_DataValid_IRQHandler, %function\r
-ACE_ADC0_DataValid_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_DataValid_IRQHandler\r
- */\r
- .weak ACE_ADC1_DataValid_IRQHandler\r
- .type ACE_ADC1_DataValid_IRQHandler, %function\r
-ACE_ADC1_DataValid_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_DataValid_IRQHandler\r
- */\r
- .weak ACE_ADC2_DataValid_IRQHandler\r
- .type ACE_ADC2_DataValid_IRQHandler, %function\r
-ACE_ADC2_DataValid_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_CalDone_IRQHandler\r
- */\r
- .weak ACE_ADC0_CalDone_IRQHandler\r
- .type ACE_ADC0_CalDone_IRQHandler, %function\r
-ACE_ADC0_CalDone_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_CalDone_IRQHandler\r
- */\r
- .weak ACE_ADC1_CalDone_IRQHandler\r
- .type ACE_ADC1_CalDone_IRQHandler, %function\r
-ACE_ADC1_CalDone_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_CalDone_IRQHandler\r
- */\r
- .weak ACE_ADC2_CalDone_IRQHandler\r
- .type ACE_ADC2_CalDone_IRQHandler, %function\r
-ACE_ADC2_CalDone_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_CalStart_IRQHandler\r
- */\r
- .weak ACE_ADC0_CalStart_IRQHandler\r
- .type ACE_ADC0_CalStart_IRQHandler, %function\r
-ACE_ADC0_CalStart_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_CalStart_IRQHandler\r
- */\r
- .weak ACE_ADC1_CalStart_IRQHandler\r
- .type ACE_ADC1_CalStart_IRQHandler, %function\r
-ACE_ADC1_CalStart_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_CalStart_IRQHandler\r
- */\r
- .weak ACE_ADC2_CalStart_IRQHandler\r
- .type ACE_ADC2_CalStart_IRQHandler, %function\r
-ACE_ADC2_CalStart_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp0_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp0_Fall_IRQHandler\r
- .type ACE_Comp0_Fall_IRQHandler, %function\r
-ACE_Comp0_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp1_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp1_Fall_IRQHandler\r
- .type ACE_Comp1_Fall_IRQHandler, %function\r
-ACE_Comp1_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp2_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp2_Fall_IRQHandler\r
- .type ACE_Comp2_Fall_IRQHandler, %function\r
-ACE_Comp2_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp3_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp3_Fall_IRQHandler\r
- .type ACE_Comp3_Fall_IRQHandler, %function\r
-ACE_Comp3_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp4_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp4_Fall_IRQHandler\r
- .type ACE_Comp4_Fall_IRQHandler, %function\r
-ACE_Comp4_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp5_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp5_Fall_IRQHandler\r
- .type ACE_Comp5_Fall_IRQHandler, %function\r
-ACE_Comp5_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp6_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp6_Fall_IRQHandler\r
- .type ACE_Comp6_Fall_IRQHandler, %function\r
-ACE_Comp6_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp7_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp7_Fall_IRQHandler\r
- .type ACE_Comp7_Fall_IRQHandler, %function\r
-ACE_Comp7_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp8_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp8_Fall_IRQHandler\r
- .type ACE_Comp8_Fall_IRQHandler, %function\r
-ACE_Comp8_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp9_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp9_Fall_IRQHandler\r
- .type ACE_Comp9_Fall_IRQHandler, %function\r
-ACE_Comp9_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp10_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp10_Fall_IRQHandler\r
- .type ACE_Comp10_Fall_IRQHandler, %function\r
-ACE_Comp10_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp11_Fall_IRQHandler\r
- */\r
- .weak ACE_Comp11_Fall_IRQHandler\r
- .type ACE_Comp11_Fall_IRQHandler, %function\r
-ACE_Comp11_Fall_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp0_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp0_Rise_IRQHandler\r
- .type ACE_Comp0_Rise_IRQHandler, %function\r
-ACE_Comp0_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp1_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp1_Rise_IRQHandler\r
- .type ACE_Comp1_Rise_IRQHandler, %function\r
-ACE_Comp1_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp2_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp2_Rise_IRQHandler\r
- .type ACE_Comp2_Rise_IRQHandler, %function\r
-ACE_Comp2_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp3_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp3_Rise_IRQHandler\r
- .type ACE_Comp3_Rise_IRQHandler, %function\r
-ACE_Comp3_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp4_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp4_Rise_IRQHandler\r
- .type ACE_Comp4_Rise_IRQHandler, %function\r
-ACE_Comp4_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp5_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp5_Rise_IRQHandler\r
- .type ACE_Comp5_Rise_IRQHandler, %function\r
-ACE_Comp5_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp6_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp6_Rise_IRQHandler\r
- .type ACE_Comp6_Rise_IRQHandler, %function\r
-ACE_Comp6_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp7_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp7_Rise_IRQHandler\r
- .type ACE_Comp7_Rise_IRQHandler, %function\r
-ACE_Comp7_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp8_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp8_Rise_IRQHandler\r
- .type ACE_Comp8_Rise_IRQHandler, %function\r
-ACE_Comp8_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp9_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp9_Rise_IRQHandler\r
- .type ACE_Comp9_Rise_IRQHandler, %function\r
-ACE_Comp9_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp10_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp10_Rise_IRQHandler\r
- .type ACE_Comp10_Rise_IRQHandler, %function\r
-ACE_Comp10_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_Comp11_Rise_IRQHandler\r
- */\r
- .weak ACE_Comp11_Rise_IRQHandler\r
- .type ACE_Comp11_Rise_IRQHandler, %function\r
-ACE_Comp11_Rise_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_FifoFull_IRQHandler\r
- */\r
- .weak ACE_ADC0_FifoFull_IRQHandler\r
- .type ACE_ADC0_FifoFull_IRQHandler, %function\r
-ACE_ADC0_FifoFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_FifoAFull_IRQHandler\r
- */\r
- .weak ACE_ADC0_FifoAFull_IRQHandler\r
- .type ACE_ADC0_FifoAFull_IRQHandler, %function\r
-ACE_ADC0_FifoAFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC0_FifoEmpty_IRQHandler\r
- */\r
- .weak ACE_ADC0_FifoEmpty_IRQHandler\r
- .type ACE_ADC0_FifoEmpty_IRQHandler, %function\r
-ACE_ADC0_FifoEmpty_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_FifoFull_IRQHandler\r
- */\r
- .weak ACE_ADC1_FifoFull_IRQHandler\r
- .type ACE_ADC1_FifoFull_IRQHandler, %function\r
-ACE_ADC1_FifoFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_FifoAFull_IRQHandler\r
- */\r
- .weak ACE_ADC1_FifoAFull_IRQHandler\r
- .type ACE_ADC1_FifoAFull_IRQHandler, %function\r
-ACE_ADC1_FifoAFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC1_FifoEmpty_IRQHandler\r
- */\r
- .weak ACE_ADC1_FifoEmpty_IRQHandler\r
- .type ACE_ADC1_FifoEmpty_IRQHandler, %function\r
-ACE_ADC1_FifoEmpty_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_FifoFull_IRQHandler\r
- */\r
- .weak ACE_ADC2_FifoFull_IRQHandler\r
- .type ACE_ADC2_FifoFull_IRQHandler, %function\r
-ACE_ADC2_FifoFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_FifoAFull_IRQHandler\r
- */\r
- .weak ACE_ADC2_FifoAFull_IRQHandler\r
- .type ACE_ADC2_FifoAFull_IRQHandler, %function\r
-ACE_ADC2_FifoAFull_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_ADC2_FifoEmpty_IRQHandler\r
- */\r
- .weak ACE_ADC2_FifoEmpty_IRQHandler\r
- .type ACE_ADC2_FifoEmpty_IRQHandler, %function\r
-ACE_ADC2_FifoEmpty_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag0_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag0_IRQHandler\r
- .type ACE_PPE_Flag0_IRQHandler, %function\r
-ACE_PPE_Flag0_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag1_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag1_IRQHandler\r
- .type ACE_PPE_Flag1_IRQHandler, %function\r
-ACE_PPE_Flag1_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag2_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag2_IRQHandler\r
- .type ACE_PPE_Flag2_IRQHandler, %function\r
-ACE_PPE_Flag2_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag3_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag3_IRQHandler\r
- .type ACE_PPE_Flag3_IRQHandler, %function\r
-ACE_PPE_Flag3_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag4_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag4_IRQHandler\r
- .type ACE_PPE_Flag4_IRQHandler, %function\r
-ACE_PPE_Flag4_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag5_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag5_IRQHandler\r
- .type ACE_PPE_Flag5_IRQHandler, %function\r
-ACE_PPE_Flag5_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag6_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag6_IRQHandler\r
- .type ACE_PPE_Flag6_IRQHandler, %function\r
-ACE_PPE_Flag6_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag7_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag7_IRQHandler\r
- .type ACE_PPE_Flag7_IRQHandler, %function\r
-ACE_PPE_Flag7_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag8_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag8_IRQHandler\r
- .type ACE_PPE_Flag8_IRQHandler, %function\r
-ACE_PPE_Flag8_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag9_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag9_IRQHandler\r
- .type ACE_PPE_Flag9_IRQHandler, %function\r
-ACE_PPE_Flag9_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag10_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag10_IRQHandler\r
- .type ACE_PPE_Flag10_IRQHandler, %function\r
-ACE_PPE_Flag10_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag11_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag11_IRQHandler\r
- .type ACE_PPE_Flag11_IRQHandler, %function\r
-ACE_PPE_Flag11_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag12_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag12_IRQHandler\r
- .type ACE_PPE_Flag12_IRQHandler, %function\r
-ACE_PPE_Flag12_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag13_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag13_IRQHandler\r
- .type ACE_PPE_Flag13_IRQHandler, %function\r
-ACE_PPE_Flag13_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag14_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag14_IRQHandler\r
- .type ACE_PPE_Flag14_IRQHandler, %function\r
-ACE_PPE_Flag14_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag15_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag15_IRQHandler\r
- .type ACE_PPE_Flag15_IRQHandler, %function\r
-ACE_PPE_Flag15_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag16_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag16_IRQHandler\r
- .type ACE_PPE_Flag16_IRQHandler, %function\r
-ACE_PPE_Flag16_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag17_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag17_IRQHandler\r
- .type ACE_PPE_Flag17_IRQHandler, %function\r
-ACE_PPE_Flag17_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag18_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag18_IRQHandler\r
- .type ACE_PPE_Flag18_IRQHandler, %function\r
-ACE_PPE_Flag18_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag19_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag19_IRQHandler\r
- .type ACE_PPE_Flag19_IRQHandler, %function\r
-ACE_PPE_Flag19_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag20_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag20_IRQHandler\r
- .type ACE_PPE_Flag20_IRQHandler, %function\r
-ACE_PPE_Flag20_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag21_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag21_IRQHandler\r
- .type ACE_PPE_Flag21_IRQHandler, %function\r
-ACE_PPE_Flag21_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag22_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag22_IRQHandler\r
- .type ACE_PPE_Flag22_IRQHandler, %function\r
-ACE_PPE_Flag22_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag23_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag23_IRQHandler\r
- .type ACE_PPE_Flag23_IRQHandler, %function\r
-ACE_PPE_Flag23_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag24_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag24_IRQHandler\r
- .type ACE_PPE_Flag24_IRQHandler, %function\r
-ACE_PPE_Flag24_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag25_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag25_IRQHandler\r
- .type ACE_PPE_Flag25_IRQHandler, %function\r
-ACE_PPE_Flag25_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag26_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag26_IRQHandler\r
- .type ACE_PPE_Flag26_IRQHandler, %function\r
-ACE_PPE_Flag26_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag27_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag27_IRQHandler\r
- .type ACE_PPE_Flag27_IRQHandler, %function\r
-ACE_PPE_Flag27_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag28_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag28_IRQHandler\r
- .type ACE_PPE_Flag28_IRQHandler, %function\r
-ACE_PPE_Flag28_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag29_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag29_IRQHandler\r
- .type ACE_PPE_Flag29_IRQHandler, %function\r
-ACE_PPE_Flag29_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag30_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag30_IRQHandler\r
- .type ACE_PPE_Flag30_IRQHandler, %function\r
-ACE_PPE_Flag30_IRQHandler:\r
- B .\r
-\r
-/*==============================================================================\r
- * ACE_PPE_Flag31_IRQHandler\r
- */\r
- .weak ACE_PPE_Flag31_IRQHandler\r
- .type ACE_PPE_Flag31_IRQHandler, %function\r
-ACE_PPE_Flag31_IRQHandler:\r
- B .\r
-\r
-.end\r
--- /dev/null
+/*******************************************************************************\r
+ * (c) Copyright 2009 Actel Corporation. All rights reserved.\r
+ *\r
+ * Startup code for SmartFusion A2FM3Fxxx\r
+ *\r
+ * SVN $Revision: 2068 $\r
+ * SVN $Date: 2010-01-27 17:27:41 +0000 (Wed, 27 Jan 2010) $\r
+ */\r
+\r
+ MODULE ?cstartup\r
+\r
+ ;; Forward declaration of sections.\r
+ SECTION CSTACK:DATA:NOROOT(3)\r
+\r
+ SECTION .intvec:CODE:NOROOT(2)\r
+ \r
+ EXTERN __iar_program_start\r
+; EXTERN SystemInit\r
+ PUBLIC __vector_table\r
+\r
+ DATA\r
+__vector_table\r
+ DCD sfe(CSTACK)\r
+ DCD Reset_Handler\r
+\r
+ DCD NMI_Handler\r
+ DCD HardFault_Handler\r
+ DCD MemManage_Handler\r
+ DCD BusFault_Handler\r
+ DCD UsageFault_Handler\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD SVC_Handler\r
+ DCD DebugMon_Handler\r
+ DCD 0\r
+ DCD PendSV_Handler\r
+ DCD SysTick_Handler\r
+\r
+ ; External Interrupts\r
+ DCD WdogWakeup_IRQHandler\r
+ DCD BrownOut_1_5V_IRQHandler\r
+ DCD BrownOut_3_3V_IRQHandler\r
+ DCD RTC_Match_IRQHandler\r
+ DCD RTCIF_Pub_IRQHandler\r
+ DCD EthernetMAC_IRQHandler\r
+ DCD IAP_IRQHandler\r
+ DCD ENVM0_IRQHandler\r
+ DCD ENVM1_IRQHandler\r
+ DCD DMA_IRQHandler\r
+ DCD UART0_IRQHandler\r
+ DCD UART1_IRQHandler\r
+ DCD SPI0_IRQHandler\r
+ DCD SPI1_IRQHandler\r
+ DCD I2C0_IRQHandler\r
+ DCD I2C0_SMBAlert_IRQHandler\r
+ DCD I2C0_SMBus_IRQHandler\r
+ DCD I2C1_IRQHandler\r
+ DCD I2C1_SMBAlert_IRQHandler\r
+ DCD I2C1_SMBus_IRQHandler\r
+ DCD Timer1_IRQHandler\r
+ DCD Timer2_IRQHandler\r
+ DCD PLL_Lock_IRQHandler\r
+ DCD PLL_LockLost_IRQHandler\r
+ DCD CommError_IRQHandler\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD 0\r
+ DCD Fabric_IRQHandler\r
+ DCD GPIO0_IRQHandler\r
+ DCD GPIO1_IRQHandler\r
+ DCD GPIO2_IRQHandler\r
+ DCD GPIO3_IRQHandler\r
+ DCD GPIO4_IRQHandler\r
+ DCD GPIO5_IRQHandler\r
+ DCD GPIO6_IRQHandler\r
+ DCD GPIO7_IRQHandler\r
+ DCD GPIO8_IRQHandler\r
+ DCD GPIO9_IRQHandler\r
+ DCD GPIO10_IRQHandler\r
+ DCD GPIO11_IRQHandler\r
+ DCD GPIO12_IRQHandler\r
+ DCD GPIO13_IRQHandler\r
+ DCD GPIO14_IRQHandler\r
+ DCD GPIO15_IRQHandler\r
+ DCD GPIO16_IRQHandler\r
+ DCD GPIO17_IRQHandler\r
+ DCD GPIO18_IRQHandler\r
+ DCD GPIO19_IRQHandler\r
+ DCD GPIO20_IRQHandler\r
+ DCD GPIO21_IRQHandler\r
+ DCD GPIO22_IRQHandler\r
+ DCD GPIO23_IRQHandler\r
+ DCD GPIO24_IRQHandler\r
+ DCD GPIO25_IRQHandler\r
+ DCD GPIO26_IRQHandler\r
+ DCD GPIO27_IRQHandler\r
+ DCD GPIO28_IRQHandler\r
+ DCD GPIO29_IRQHandler\r
+ DCD GPIO30_IRQHandler\r
+ DCD GPIO31_IRQHandler\r
+ DCD ACE_PC0_Flag0_IRQHandler\r
+ DCD ACE_PC0_Flag1_IRQHandler\r
+ DCD ACE_PC0_Flag2_IRQHandler\r
+ DCD ACE_PC0_Flag3_IRQHandler\r
+ DCD ACE_PC1_Flag0_IRQHandler\r
+ DCD ACE_PC1_Flag1_IRQHandler\r
+ DCD ACE_PC1_Flag2_IRQHandler\r
+ DCD ACE_PC1_Flag3_IRQHandler\r
+ DCD ACE_PC2_Flag0_IRQHandler\r
+ DCD ACE_PC2_Flag1_IRQHandler\r
+ DCD ACE_PC2_Flag2_IRQHandler\r
+ DCD ACE_PC2_Flag3_IRQHandler\r
+ DCD ACE_ADC0_DataValid_IRQHandler\r
+ DCD ACE_ADC1_DataValid_IRQHandler\r
+ DCD ACE_ADC2_DataValid_IRQHandler\r
+ DCD ACE_ADC0_CalDone_IRQHandler\r
+ DCD ACE_ADC1_CalDone_IRQHandler\r
+ DCD ACE_ADC2_CalDone_IRQHandler\r
+ DCD ACE_ADC0_CalStart_IRQHandler\r
+ DCD ACE_ADC1_CalStart_IRQHandler\r
+ DCD ACE_ADC2_CalStart_IRQHandler\r
+ DCD ACE_Comp0_Fall_IRQHandler\r
+ DCD ACE_Comp1_Fall_IRQHandler\r
+ DCD ACE_Comp2_Fall_IRQHandler\r
+ DCD ACE_Comp3_Fall_IRQHandler\r
+ DCD ACE_Comp4_Fall_IRQHandler\r
+ DCD ACE_Comp5_Fall_IRQHandler\r
+ DCD ACE_Comp6_Fall_IRQHandler\r
+ DCD ACE_Comp7_Fall_IRQHandler\r
+ DCD ACE_Comp8_Fall_IRQHandler\r
+ DCD ACE_Comp9_Fall_IRQHandler\r
+ DCD ACE_Comp10_Fall_IRQHandler\r
+ DCD ACE_Comp11_Fall_IRQHandler\r
+ DCD ACE_Comp0_Rise_IRQHandler\r
+ DCD ACE_Comp1_Rise_IRQHandler\r
+ DCD ACE_Comp2_Rise_IRQHandler\r
+ DCD ACE_Comp3_Rise_IRQHandler\r
+ DCD ACE_Comp4_Rise_IRQHandler\r
+ DCD ACE_Comp5_Rise_IRQHandler\r
+ DCD ACE_Comp6_Rise_IRQHandler\r
+ DCD ACE_Comp7_Rise_IRQHandler\r
+ DCD ACE_Comp8_Rise_IRQHandler\r
+ DCD ACE_Comp9_Rise_IRQHandler\r
+ DCD ACE_Comp10_Rise_IRQHandler\r
+ DCD ACE_Comp11_Rise_IRQHandler\r
+ DCD ACE_ADC0_FifoFull_IRQHandler\r
+ DCD ACE_ADC0_FifoAFull_IRQHandler\r
+ DCD ACE_ADC0_FifoEmpty_IRQHandler\r
+ DCD ACE_ADC1_FifoFull_IRQHandler\r
+ DCD ACE_ADC1_FifoAFull_IRQHandler\r
+ DCD ACE_ADC1_FifoEmpty_IRQHandler\r
+ DCD ACE_ADC2_FifoFull_IRQHandler\r
+ DCD ACE_ADC2_FifoAFull_IRQHandler\r
+ DCD ACE_ADC2_FifoEmpty_IRQHandler\r
+ DCD ACE_PPE_Flag0_IRQHandler\r
+ DCD ACE_PPE_Flag1_IRQHandler\r
+ DCD ACE_PPE_Flag2_IRQHandler\r
+ DCD ACE_PPE_Flag3_IRQHandler\r
+ DCD ACE_PPE_Flag4_IRQHandler\r
+ DCD ACE_PPE_Flag5_IRQHandler\r
+ DCD ACE_PPE_Flag6_IRQHandler\r
+ DCD ACE_PPE_Flag7_IRQHandler\r
+ DCD ACE_PPE_Flag8_IRQHandler\r
+ DCD ACE_PPE_Flag9_IRQHandler\r
+ DCD ACE_PPE_Flag10_IRQHandler\r
+ DCD ACE_PPE_Flag11_IRQHandler\r
+ DCD ACE_PPE_Flag12_IRQHandler\r
+ DCD ACE_PPE_Flag13_IRQHandler\r
+ DCD ACE_PPE_Flag14_IRQHandler\r
+ DCD ACE_PPE_Flag15_IRQHandler\r
+ DCD ACE_PPE_Flag16_IRQHandler\r
+ DCD ACE_PPE_Flag17_IRQHandler\r
+ DCD ACE_PPE_Flag18_IRQHandler\r
+ DCD ACE_PPE_Flag19_IRQHandler\r
+ DCD ACE_PPE_Flag20_IRQHandler\r
+ DCD ACE_PPE_Flag21_IRQHandler\r
+ DCD ACE_PPE_Flag22_IRQHandler\r
+ DCD ACE_PPE_Flag23_IRQHandler\r
+ DCD ACE_PPE_Flag24_IRQHandler\r
+ DCD ACE_PPE_Flag25_IRQHandler\r
+ DCD ACE_PPE_Flag26_IRQHandler\r
+ DCD ACE_PPE_Flag27_IRQHandler\r
+ DCD ACE_PPE_Flag28_IRQHandler\r
+ DCD ACE_PPE_Flag29_IRQHandler\r
+ DCD ACE_PPE_Flag30_IRQHandler\r
+ DCD ACE_PPE_Flag31_IRQHandler\r
+\r
+\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+;;\r
+;; Default interrupt handlers.\r
+;;\r
+ THUMB\r
+\r
+ PUBWEAK Reset_Handler\r
+ SECTION .text:CODE:REORDER(2)\r
+Reset_Handler\r
+; LDR R0, =SystemInit\r
+; BLX R0\r
+ LDR R0, =__iar_program_start\r
+ BX R0\r
+\r
+ PUBWEAK NMI_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+NMI_Handler\r
+ B NMI_Handler\r
+ \r
+ PUBWEAK HardFault_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+HardFault_Handler\r
+ B HardFault_Handler\r
+ \r
+ PUBWEAK MemManage_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+MemManage_Handler\r
+ B MemManage_Handler\r
+ \r
+ PUBWEAK BusFault_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+BusFault_Handler\r
+ B BusFault_Handler\r
+ \r
+ PUBWEAK UsageFault_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+UsageFault_Handler\r
+ B UsageFault_Handler\r
+ \r
+ PUBWEAK SVC_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+SVC_Handler\r
+ B SVC_Handler\r
+ \r
+ PUBWEAK DebugMon_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+DebugMon_Handler\r
+ B DebugMon_Handler\r
+ \r
+ PUBWEAK PendSV_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+PendSV_Handler\r
+ B PendSV_Handler\r
+ \r
+ PUBWEAK SysTick_Handler\r
+ SECTION .text:CODE:REORDER(1)\r
+SysTick_Handler\r
+ B SysTick_Handler\r
+\r
+ PUBWEAK WdogWakeup_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+WdogWakeup_IRQHandler\r
+ B WdogWakeup_IRQHandler\r
+ \r
+ PUBWEAK BrownOut_1_5V_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+BrownOut_1_5V_IRQHandler\r
+ B BrownOut_1_5V_IRQHandler\r
+ \r
+ PUBWEAK BrownOut_3_3V_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+BrownOut_3_3V_IRQHandler\r
+ B BrownOut_3_3V_IRQHandler\r
+ \r
+ PUBWEAK RTC_Match_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+RTC_Match_IRQHandler\r
+ B RTC_Match_IRQHandler\r
+ \r
+ PUBWEAK RTCIF_Pub_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+RTCIF_Pub_IRQHandler\r
+ B RTCIF_Pub_IRQHandler\r
+ \r
+ PUBWEAK EthernetMAC_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+EthernetMAC_IRQHandler\r
+ B EthernetMAC_IRQHandler\r
+ \r
+ PUBWEAK IAP_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+IAP_IRQHandler\r
+ B IAP_IRQHandler\r
+ \r
+ PUBWEAK ENVM0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ENVM0_IRQHandler\r
+ B ENVM0_IRQHandler\r
+ \r
+ PUBWEAK ENVM1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ENVM1_IRQHandler\r
+ B ENVM1_IRQHandler\r
+ \r
+ PUBWEAK DMA_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+DMA_IRQHandler\r
+ B DMA_IRQHandler\r
+ \r
+ PUBWEAK UART0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+UART0_IRQHandler\r
+ B UART0_IRQHandler\r
+ \r
+ PUBWEAK UART1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+UART1_IRQHandler\r
+ B UART1_IRQHandler\r
+ \r
+ PUBWEAK SPI0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+SPI0_IRQHandler\r
+ B SPI0_IRQHandler\r
+ \r
+ PUBWEAK SPI1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+SPI1_IRQHandler\r
+ B SPI1_IRQHandler\r
+ \r
+ PUBWEAK I2C0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C0_IRQHandler\r
+ B I2C0_IRQHandler\r
+ \r
+ PUBWEAK I2C0_SMBAlert_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C0_SMBAlert_IRQHandler\r
+ B I2C0_SMBAlert_IRQHandler\r
+\r
+ PUBWEAK I2C0_SMBus_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C0_SMBus_IRQHandler\r
+ B I2C0_SMBus_IRQHandler\r
+ \r
+ PUBWEAK I2C1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C1_IRQHandler\r
+ B I2C1_IRQHandler\r
+ \r
+ PUBWEAK I2C1_SMBAlert_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C1_SMBAlert_IRQHandler\r
+ B I2C1_SMBAlert_IRQHandler\r
+ \r
+ PUBWEAK I2C1_SMBus_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+I2C1_SMBus_IRQHandler\r
+ B I2C1_SMBus_IRQHandler\r
+ \r
+ PUBWEAK Timer1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+Timer1_IRQHandler\r
+ B Timer1_IRQHandler\r
+ \r
+ PUBWEAK Timer2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+Timer2_IRQHandler\r
+ B Timer2_IRQHandler\r
+ \r
+ PUBWEAK PLL_Lock_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+PLL_Lock_IRQHandler\r
+ B PLL_Lock_IRQHandler\r
+ \r
+ PUBWEAK PLL_LockLost_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+PLL_LockLost_IRQHandler\r
+ B PLL_LockLost_IRQHandler\r
+ \r
+ PUBWEAK CommError_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+CommError_IRQHandler\r
+ B CommError_IRQHandler\r
+ \r
+ PUBWEAK Fabric_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+Fabric_IRQHandler\r
+ B Fabric_IRQHandler\r
+ \r
+ PUBWEAK GPIO0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO0_IRQHandler\r
+ B GPIO0_IRQHandler\r
+ \r
+ PUBWEAK GPIO1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO1_IRQHandler\r
+ B GPIO1_IRQHandler\r
+ \r
+ PUBWEAK GPIO2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO2_IRQHandler\r
+ B GPIO2_IRQHandler\r
+ \r
+ PUBWEAK GPIO3_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO3_IRQHandler\r
+ B GPIO3_IRQHandler\r
+ \r
+ PUBWEAK GPIO4_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO4_IRQHandler\r
+ B GPIO4_IRQHandler\r
+ \r
+ PUBWEAK GPIO5_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO5_IRQHandler\r
+ B GPIO5_IRQHandler\r
+ \r
+ PUBWEAK GPIO6_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO6_IRQHandler\r
+ B GPIO6_IRQHandler\r
+ \r
+ PUBWEAK GPIO7_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO7_IRQHandler\r
+ B GPIO7_IRQHandler\r
+ \r
+ PUBWEAK GPIO8_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO8_IRQHandler\r
+ B GPIO8_IRQHandler\r
+ \r
+ PUBWEAK GPIO9_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO9_IRQHandler\r
+ B GPIO9_IRQHandler\r
+ \r
+ PUBWEAK GPIO10_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO10_IRQHandler\r
+ B GPIO10_IRQHandler\r
+ \r
+ PUBWEAK GPIO11_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO11_IRQHandler\r
+ B GPIO11_IRQHandler\r
+ \r
+ PUBWEAK GPIO12_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO12_IRQHandler\r
+ B GPIO12_IRQHandler\r
+ \r
+ PUBWEAK GPIO13_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO13_IRQHandler\r
+ B GPIO13_IRQHandler\r
+ \r
+ PUBWEAK GPIO14_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO14_IRQHandler\r
+ B GPIO14_IRQHandler\r
+ \r
+ PUBWEAK GPIO15_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO15_IRQHandler\r
+ B GPIO15_IRQHandler\r
+ \r
+ PUBWEAK GPIO16_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO16_IRQHandler\r
+ B GPIO16_IRQHandler\r
+ \r
+ PUBWEAK GPIO17_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO17_IRQHandler\r
+ B GPIO17_IRQHandler\r
+ \r
+ PUBWEAK GPIO18_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO18_IRQHandler\r
+ B GPIO18_IRQHandler\r
+ \r
+ PUBWEAK GPIO19_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO19_IRQHandler\r
+ B GPIO19_IRQHandler\r
+ \r
+ PUBWEAK GPIO20_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO20_IRQHandler\r
+ B GPIO20_IRQHandler\r
+ \r
+ PUBWEAK GPIO21_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO21_IRQHandler\r
+ B GPIO21_IRQHandler\r
+ \r
+ PUBWEAK GPIO22_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO22_IRQHandler\r
+ B GPIO22_IRQHandler\r
+ \r
+ PUBWEAK GPIO23_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO23_IRQHandler\r
+ B GPIO23_IRQHandler\r
+ \r
+ PUBWEAK GPIO24_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO24_IRQHandler\r
+ B GPIO24_IRQHandler\r
+ \r
+ PUBWEAK GPIO25_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO25_IRQHandler\r
+ B GPIO25_IRQHandler\r
+ \r
+ PUBWEAK GPIO26_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO26_IRQHandler\r
+ B GPIO26_IRQHandler\r
+ \r
+ PUBWEAK GPIO27_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO27_IRQHandler\r
+ B GPIO27_IRQHandler\r
+ \r
+ PUBWEAK GPIO28_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO28_IRQHandler\r
+ B GPIO28_IRQHandler\r
+ \r
+ PUBWEAK GPIO29_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO29_IRQHandler\r
+ B GPIO29_IRQHandler\r
+ \r
+ PUBWEAK GPIO30_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO30_IRQHandler\r
+ B GPIO30_IRQHandler\r
+ \r
+ PUBWEAK GPIO31_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+GPIO31_IRQHandler\r
+ B GPIO31_IRQHandler\r
+\r
+ PUBWEAK ACE_PC0_Flag0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC0_Flag0_IRQHandler\r
+ B ACE_PC0_Flag0_IRQHandler\r
+\r
+ PUBWEAK ACE_PC0_Flag1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC0_Flag1_IRQHandler\r
+ B ACE_PC0_Flag1_IRQHandler\r
+\r
+ PUBWEAK ACE_PC0_Flag2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC0_Flag2_IRQHandler\r
+ B ACE_PC0_Flag2_IRQHandler\r
+\r
+ PUBWEAK ACE_PC0_Flag3_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC0_Flag3_IRQHandler\r
+ B ACE_PC0_Flag3_IRQHandler\r
+\r
+ PUBWEAK ACE_PC1_Flag0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC1_Flag0_IRQHandler\r
+ B ACE_PC1_Flag0_IRQHandler\r
+\r
+ PUBWEAK ACE_PC1_Flag1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC1_Flag1_IRQHandler\r
+ B ACE_PC1_Flag1_IRQHandler\r
+\r
+ PUBWEAK ACE_PC1_Flag2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC1_Flag2_IRQHandler\r
+ B ACE_PC1_Flag2_IRQHandler\r
+\r
+ PUBWEAK ACE_PC1_Flag3_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC1_Flag3_IRQHandler\r
+ B ACE_PC1_Flag3_IRQHandler\r
+\r
+ PUBWEAK ACE_PC2_Flag0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC2_Flag0_IRQHandler\r
+ B ACE_PC2_Flag0_IRQHandler\r
+\r
+ PUBWEAK ACE_PC2_Flag1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC2_Flag1_IRQHandler\r
+ B ACE_PC2_Flag1_IRQHandler\r
+\r
+ PUBWEAK ACE_PC2_Flag2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC2_Flag2_IRQHandler\r
+ B ACE_PC2_Flag2_IRQHandler\r
+\r
+ PUBWEAK ACE_PC2_Flag3_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PC2_Flag3_IRQHandler\r
+ B ACE_PC2_Flag3_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_DataValid_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_DataValid_IRQHandler\r
+ B ACE_ADC0_DataValid_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_DataValid_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_DataValid_IRQHandler\r
+ B ACE_ADC1_DataValid_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_DataValid_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_DataValid_IRQHandler\r
+ B ACE_ADC2_DataValid_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_CalDone_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_CalDone_IRQHandler\r
+ B ACE_ADC0_CalDone_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_CalDone_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_CalDone_IRQHandler\r
+ B ACE_ADC1_CalDone_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_CalDone_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_CalDone_IRQHandler\r
+ B ACE_ADC2_CalDone_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_CalStart_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_CalStart_IRQHandler\r
+ B ACE_ADC0_CalStart_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_CalStart_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_CalStart_IRQHandler\r
+ B ACE_ADC1_CalStart_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_CalStart_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_CalStart_IRQHandler\r
+ B ACE_ADC2_CalStart_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp0_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp0_Fall_IRQHandler\r
+ B ACE_Comp0_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp1_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp1_Fall_IRQHandler\r
+ B ACE_Comp1_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp2_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp2_Fall_IRQHandler\r
+ B ACE_Comp2_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp3_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp3_Fall_IRQHandler\r
+ B ACE_Comp3_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp4_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp4_Fall_IRQHandler\r
+ B ACE_Comp4_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp5_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp5_Fall_IRQHandler\r
+ B ACE_Comp5_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp6_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp6_Fall_IRQHandler\r
+ B ACE_Comp6_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp7_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp7_Fall_IRQHandler\r
+ B ACE_Comp7_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp8_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp8_Fall_IRQHandler\r
+ B ACE_Comp8_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp9_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp9_Fall_IRQHandler\r
+ B ACE_Comp9_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp10_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp10_Fall_IRQHandler\r
+ B ACE_Comp10_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp11_Fall_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp11_Fall_IRQHandler\r
+ B ACE_Comp11_Fall_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp0_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp0_Rise_IRQHandler\r
+ B ACE_Comp0_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp1_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp1_Rise_IRQHandler\r
+ B ACE_Comp1_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp2_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp2_Rise_IRQHandler\r
+ B ACE_Comp2_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp3_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp3_Rise_IRQHandler\r
+ B ACE_Comp3_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp4_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp4_Rise_IRQHandler\r
+ B ACE_Comp4_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp5_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp5_Rise_IRQHandler\r
+ B ACE_Comp5_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp6_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp6_Rise_IRQHandler\r
+ B ACE_Comp6_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp7_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp7_Rise_IRQHandler\r
+ B ACE_Comp7_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp8_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp8_Rise_IRQHandler\r
+ B ACE_Comp8_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp9_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp9_Rise_IRQHandler\r
+ B ACE_Comp9_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp10_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp10_Rise_IRQHandler\r
+ B ACE_Comp10_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_Comp11_Rise_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_Comp11_Rise_IRQHandler\r
+ B ACE_Comp11_Rise_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_FifoFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_FifoFull_IRQHandler\r
+ B ACE_ADC0_FifoFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_FifoAFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_FifoAFull_IRQHandler\r
+ B ACE_ADC0_FifoAFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC0_FifoEmpty_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC0_FifoEmpty_IRQHandler\r
+ B ACE_ADC0_FifoEmpty_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_FifoFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_FifoFull_IRQHandler\r
+ B ACE_ADC1_FifoFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_FifoAFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_FifoAFull_IRQHandler\r
+ B ACE_ADC1_FifoAFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC1_FifoEmpty_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC1_FifoEmpty_IRQHandler\r
+ B ACE_ADC1_FifoEmpty_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_FifoFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_FifoFull_IRQHandler\r
+ B ACE_ADC2_FifoFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_FifoAFull_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_FifoAFull_IRQHandler\r
+ B ACE_ADC2_FifoAFull_IRQHandler\r
+\r
+ PUBWEAK ACE_ADC2_FifoEmpty_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_ADC2_FifoEmpty_IRQHandler\r
+ B ACE_ADC2_FifoEmpty_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag0_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag0_IRQHandler\r
+ B ACE_PPE_Flag0_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag1_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag1_IRQHandler\r
+ B ACE_PPE_Flag1_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag2_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag2_IRQHandler\r
+ B ACE_PPE_Flag2_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag3_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag3_IRQHandler\r
+ B ACE_PPE_Flag3_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag4_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag4_IRQHandler\r
+ B ACE_PPE_Flag4_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag5_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag5_IRQHandler\r
+ B ACE_PPE_Flag5_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag6_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag6_IRQHandler\r
+ B ACE_PPE_Flag6_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag7_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag7_IRQHandler\r
+ B ACE_PPE_Flag7_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag8_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag8_IRQHandler\r
+ B ACE_PPE_Flag8_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag9_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag9_IRQHandler\r
+ B ACE_PPE_Flag9_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag10_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag10_IRQHandler\r
+ B ACE_PPE_Flag10_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag11_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag11_IRQHandler\r
+ B ACE_PPE_Flag11_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag12_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag12_IRQHandler\r
+ B ACE_PPE_Flag12_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag13_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag13_IRQHandler\r
+ B ACE_PPE_Flag13_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag14_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag14_IRQHandler\r
+ B ACE_PPE_Flag14_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag15_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag15_IRQHandler\r
+ B ACE_PPE_Flag15_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag16_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag16_IRQHandler\r
+ B ACE_PPE_Flag16_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag17_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag17_IRQHandler\r
+ B ACE_PPE_Flag17_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag18_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag18_IRQHandler\r
+ B ACE_PPE_Flag18_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag19_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag19_IRQHandler\r
+ B ACE_PPE_Flag19_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag20_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag20_IRQHandler\r
+ B ACE_PPE_Flag20_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag21_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag21_IRQHandler\r
+ B ACE_PPE_Flag21_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag22_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag22_IRQHandler\r
+ B ACE_PPE_Flag22_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag23_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag23_IRQHandler\r
+ B ACE_PPE_Flag23_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag24_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag24_IRQHandler\r
+ B ACE_PPE_Flag24_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag25_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag25_IRQHandler\r
+ B ACE_PPE_Flag25_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag26_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag26_IRQHandler\r
+ B ACE_PPE_Flag26_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag27_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag27_IRQHandler\r
+ B ACE_PPE_Flag27_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag28_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag28_IRQHandler\r
+ B ACE_PPE_Flag28_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag29_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag29_IRQHandler\r
+ B ACE_PPE_Flag29_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag30_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag30_IRQHandler\r
+ B ACE_PPE_Flag30_IRQHandler\r
+\r
+ PUBWEAK ACE_PPE_Flag31_IRQHandler\r
+ SECTION .text:CODE:REORDER(1)\r
+ACE_PPE_Flag31_IRQHandler\r
+ B ACE_PPE_Flag31_IRQHandler\r
+\r
+ END\r