mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/startup_LPC17xx.s
- Committer:
- todotani
- Date:
- 2014-09-05
- Revision:
- 308:59cc78a25982
- Parent:
- 13:0645d8841f51
File content as of revision 308:59cc78a25982:
.equ Stack_Size, 0x1024 .section ".stack", "w" .align 3 .globl __cs3_stack_mem .globl __cs3_stack_size __cs3_stack_mem: .if Stack_Size .space Stack_Size .endif .size __cs3_stack_mem, . - __cs3_stack_mem .set __cs3_stack_size, . - __cs3_stack_mem .equ Heap_Size, 0x8000 .section ".heap", "w" .align 3 .globl __cs3_heap_start .globl __cs3_heap_end __cs3_heap_start: .if Heap_Size .space Heap_Size .endif __cs3_heap_end: .section ".cs3.interrupt_vector" .globl __cs3_interrupt_vector_cortex_m .type __cs3_interrupt_vector_cortex_m, %object __cs3_interrupt_vector_cortex_m: .long __cs3_stack .long __cs3_reset .long NMI_Handler .long HardFault_Handler .long MemManage_Handler .long BusFault_Handler .long UsageFault_Handler .long 0 .long 0 .long 0 .long 0 .long SVC_Handler .long DebugMon_Handler .long 0 .long PendSV_Handler .long SysTick_Handler .long WDT_IRQHandler .long TIMER0_IRQHandler .long TIMER1_IRQHandler .long TIMER2_IRQHandler .long TIMER3_IRQHandler .long UART0_IRQHandler .long UART1_IRQHandler .long UART2_IRQHandler .long UART3_IRQHandler .long PWM1_IRQHandler .long I2C0_IRQHandler .long I2C1_IRQHandler .long I2C2_IRQHandler .long SPI_IRQHandler .long SSP0_IRQHandler .long SSP1_IRQHandler .long PLL0_IRQHandler .long RTC_IRQHandler .long EINT0_IRQHandler .long EINT1_IRQHandler .long EINT2_IRQHandler .long EINT3_IRQHandler .long ADC_IRQHandler .long BOD_IRQHandler .long USB_IRQHandler .long CAN_IRQHandler .long DMA_IRQHandler .long I2S_IRQHandler .long ENET_IRQHandler .long RIT_IRQHandler .long MCPWM_IRQHandler .long QEI_IRQHandler .long PLL1_IRQHandler .long USBActivity_IRQHandler .long CANActivity_IRQHandler .size __cs3_interrupt_vector_cortex_m, . - __cs3_interrupt_vector_cortex_m .thumb .section .cs3.reset,"x",%progbits .thumb_func .globl __cs3_reset_cortex_m .type __cs3_reset_cortex_m, %function __cs3_reset_cortex_m: .fnstart LDR R0, =SystemInit BLX R0 LDR R0, =__cs3_start_c BX R0 .pool .cantunwind .fnend .size __cs3_reset_cortex_m,.-__cs3_reset_cortex_m .section ".text" .weak NMI_Handler .type NMI_Handler, %function NMI_Handler: B . .size NMI_Handler, . - NMI_Handler .weak HardFault_Handler .type HardFault_Handler, %function HardFault_Handler: B . .size HardFault_Handler, . - HardFault_Handler .weak MemManage_Handler .type MemManage_Handler, %function MemManage_Handler: B . .size MemManage_Handler, . - MemManage_Handler .weak BusFault_Handler .type BusFault_Handler, %function BusFault_Handler: B . .size BusFault_Handler, . - BusFault_Handler .weak UsageFault_Handler .type UsageFault_Handler, %function UsageFault_Handler: B . .size UsageFault_Handler, . - UsageFault_Handler .weak SVC_Handler .type SVC_Handler, %function SVC_Handler: B . .size SVC_Handler, . - SVC_Handler .weak DebugMon_Handler .type DebugMon_Handler, %function DebugMon_Handler: B . .size DebugMon_Handler, . - DebugMon_Handler .weak PendSV_Handler .type PendSV_Handler, %function PendSV_Handler: B . .size PendSV_Handler, . - PendSV_Handler .weak SysTick_Handler .type SysTick_Handler, %function SysTick_Handler: B . .size SysTick_Handler, . - SysTick_Handler .globl Default_Handler .type Default_Handler, %function Default_Handler: B . .size Default_Handler, . - Default_Handler .macro IRQ handler .weak \handler .set \handler, Default_Handler .endm IRQ WDT_IRQHandler IRQ TIMER0_IRQHandler IRQ TIMER1_IRQHandler IRQ TIMER2_IRQHandler IRQ TIMER3_IRQHandler IRQ UART0_IRQHandler IRQ UART1_IRQHandler IRQ UART2_IRQHandler IRQ UART3_IRQHandler IRQ PWM1_IRQHandler IRQ I2C0_IRQHandler IRQ I2C1_IRQHandler IRQ I2C2_IRQHandler IRQ SPI_IRQHandler IRQ SSP0_IRQHandler IRQ SSP1_IRQHandler IRQ PLL0_IRQHandler IRQ RTC_IRQHandler IRQ EINT0_IRQHandler IRQ EINT1_IRQHandler IRQ EINT2_IRQHandler IRQ EINT3_IRQHandler IRQ ADC_IRQHandler IRQ BOD_IRQHandler IRQ USB_IRQHandler IRQ CAN_IRQHandler IRQ DMA_IRQHandler IRQ I2S_IRQHandler IRQ ENET_IRQHandler IRQ RIT_IRQHandler IRQ MCPWM_IRQHandler IRQ QEI_IRQHandler IRQ PLL1_IRQHandler IRQ USBActivity_IRQHandler IRQ CANActivity_IRQHandler .end