mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Jul 01 08:15:11 2015 +0100
Revision:
577:15494b56c2f3
Parent:
targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/startup_W7500x.s@558:0880f51c4036
Synchronized with git revision 7766e75dd858812cd79aedb3080349715f55dd56

Full URL: https://github.com/mbedmicro/mbed/commit/7766e75dd858812cd79aedb3080349715f55dd56/

GCC asm updates

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 558:0880f51c4036 1 ;/**************************************************************************//**
mbed_official 558:0880f51c4036 2 ; * @file startup_CMSDK_CM0.s
mbed_official 558:0880f51c4036 3 ; * @brief CMSIS Cortex-M0 Core Device Startup File for
mbed_official 558:0880f51c4036 4 ; * Device CMSDK_CM0
mbed_official 558:0880f51c4036 5 ; * @version V3.01
mbed_official 558:0880f51c4036 6 ; * @date 06. March 2012
mbed_official 558:0880f51c4036 7 ; * @modify 29. April 2014 by WIZnet ; added WZTOE_HANDLER
mbed_official 558:0880f51c4036 8
mbed_official 558:0880f51c4036 9 ; * @note
mbed_official 558:0880f51c4036 10 ; * Copyright (C) 2012 ARM Limited. All rights reserved.
mbed_official 558:0880f51c4036 11 ; *
mbed_official 558:0880f51c4036 12 ; * @par
mbed_official 558:0880f51c4036 13 ; * ARM Limited (ARM) is supplying this software for use with Cortex-M
mbed_official 558:0880f51c4036 14 ; * processor based microcontrollers. This file can be freely distributed
mbed_official 558:0880f51c4036 15 ; * within development tools that are supporting such ARM based processors.
mbed_official 558:0880f51c4036 16 ; *
mbed_official 558:0880f51c4036 17 ; * @par
mbed_official 558:0880f51c4036 18 ; * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
mbed_official 558:0880f51c4036 19 ; * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
mbed_official 558:0880f51c4036 20 ; * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
mbed_official 558:0880f51c4036 21 ; * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
mbed_official 558:0880f51c4036 22 ; * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
mbed_official 558:0880f51c4036 23 ; *
mbed_official 558:0880f51c4036 24 ; ******************************************************************************/
mbed_official 558:0880f51c4036 25 ;/*
mbed_official 558:0880f51c4036 26 ;//-------- <<< Use Configuration Wizard in Context Menu >>> ------------------
mbed_official 558:0880f51c4036 27 ;*/
mbed_official 558:0880f51c4036 28
mbed_official 558:0880f51c4036 29
mbed_official 558:0880f51c4036 30 __initial_sp EQU 0x20004000 ; Top of RAM (16 KB for WIZwiki_W7500)
mbed_official 558:0880f51c4036 31
mbed_official 558:0880f51c4036 32 PRESERVE8
mbed_official 558:0880f51c4036 33 THUMB
mbed_official 558:0880f51c4036 34
mbed_official 558:0880f51c4036 35
mbed_official 558:0880f51c4036 36 ; Vector Table Mapped to Address 0 at Reset
mbed_official 558:0880f51c4036 37
mbed_official 558:0880f51c4036 38 AREA RESET, DATA, READONLY
mbed_official 558:0880f51c4036 39 EXPORT __Vectors
mbed_official 558:0880f51c4036 40 EXPORT __Vectors_End
mbed_official 558:0880f51c4036 41 EXPORT __Vectors_Size
mbed_official 558:0880f51c4036 42
mbed_official 558:0880f51c4036 43 __Vectors DCD __initial_sp ; Top of Stack
mbed_official 558:0880f51c4036 44 DCD Reset_Handler ; Reset Handler
mbed_official 558:0880f51c4036 45 DCD NMI_Handler ; NMI Handler
mbed_official 558:0880f51c4036 46 DCD HardFault_Handler ; Hard Fault Handler
mbed_official 558:0880f51c4036 47 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 48 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 49 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 50 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 51 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 52 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 53 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 54 DCD SVC_Handler ; SVCall Handler
mbed_official 558:0880f51c4036 55 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 56 DCD 0 ; Reserved
mbed_official 558:0880f51c4036 57 DCD PendSV_Handler ; PendSV Handler
mbed_official 558:0880f51c4036 58 DCD SysTick_Handler ; SysTick Handler
mbed_official 558:0880f51c4036 59 DCD SSP0_Handler ; 16+ 0: SSP 0 Handler
mbed_official 558:0880f51c4036 60 DCD SSP1_Handler ; 16+ 1: SSP 1 Handler
mbed_official 558:0880f51c4036 61 DCD UART0_Handler ; 16+ 2: UART 0 Handler
mbed_official 558:0880f51c4036 62 DCD UART1_Handler ; 16+ 3: UART 1 Handler
mbed_official 558:0880f51c4036 63 DCD UART2_Handler ; 16+ 4: UART 2 Handler
mbed_official 558:0880f51c4036 64 DCD I2C0_Handler ; 16+ 5: I2C 0 Handler
mbed_official 558:0880f51c4036 65 DCD I2C1_Handler ; 16+ 6: I2C 1 Handler
mbed_official 558:0880f51c4036 66 DCD PORT0_Handler ; 16+ 7: GPIO Port 0 Combined Handler
mbed_official 558:0880f51c4036 67 DCD PORT1_Handler ; 16+ 8: GPIO Port 1 Combined Handler
mbed_official 558:0880f51c4036 68 DCD PORT2_Handler ; 16+ 9: GPIO Port 2 Combined Handler
mbed_official 558:0880f51c4036 69 DCD PORT3_Handler ; 16+10: GPIO Port 3 Combined Handler
mbed_official 558:0880f51c4036 70 DCD DMA_Handler ; 16+11: DMA Combined Handler
mbed_official 558:0880f51c4036 71 DCD DUALTIMER0_Handler ; 16+12: Dual timer 0 handler
mbed_official 558:0880f51c4036 72 DCD DUALTIMER1_Handler ; 16+13: Dual timer 1 handler
mbed_official 558:0880f51c4036 73 DCD PWM0_Handler ; 16+14: PWM0 Handler
mbed_official 558:0880f51c4036 74 DCD PWM1_Handler ; 16+15: PWM1 Handler
mbed_official 558:0880f51c4036 75 DCD PWM2_Handler ; 16+16: PWM2 Handler
mbed_official 558:0880f51c4036 76 DCD PWM3_Handler ; 16+17: PWM3 Handler
mbed_official 558:0880f51c4036 77 DCD PWM4_Handler ; 16+18: PWM4 Handler
mbed_official 558:0880f51c4036 78 DCD PWM5_Handler ; 16+19: PWM5 Handler
mbed_official 558:0880f51c4036 79 DCD PWM6_Handler ; 16+20: PWM6 Handler
mbed_official 558:0880f51c4036 80 DCD PWM7_Handler ; 16+21: PWM7 Handler
mbed_official 558:0880f51c4036 81 DCD RTC_Handler ; 16+22: RTC Handler
mbed_official 558:0880f51c4036 82 DCD ADC_Handler ; 16+23: ADC Handler
mbed_official 558:0880f51c4036 83 DCD WZTOE_Handler ; 16+24: WZTOE_Handler
mbed_official 558:0880f51c4036 84 DCD EXTI_Handler ; 16+25: EXTI_Handler
mbed_official 558:0880f51c4036 85 __Vectors_End
mbed_official 558:0880f51c4036 86
mbed_official 558:0880f51c4036 87 __Vectors_Size EQU __Vectors_End - __Vectors
mbed_official 558:0880f51c4036 88
mbed_official 558:0880f51c4036 89 AREA |.text|, CODE, READONLY
mbed_official 558:0880f51c4036 90
mbed_official 558:0880f51c4036 91
mbed_official 558:0880f51c4036 92 ; Reset Handler
mbed_official 558:0880f51c4036 93
mbed_official 558:0880f51c4036 94 Reset_Handler PROC
mbed_official 558:0880f51c4036 95 EXPORT Reset_Handler [WEAK]
mbed_official 558:0880f51c4036 96 IMPORT SystemInit
mbed_official 558:0880f51c4036 97 IMPORT __main
mbed_official 558:0880f51c4036 98 LDR R0, =SystemInit
mbed_official 558:0880f51c4036 99 BLX R0
mbed_official 558:0880f51c4036 100 LDR R0, =__main
mbed_official 558:0880f51c4036 101 BX R0
mbed_official 558:0880f51c4036 102 ENDP
mbed_official 558:0880f51c4036 103
mbed_official 558:0880f51c4036 104
mbed_official 558:0880f51c4036 105 ; Dummy Exception Handlers (infinite loops which can be modified)
mbed_official 558:0880f51c4036 106
mbed_official 558:0880f51c4036 107 NMI_Handler PROC
mbed_official 558:0880f51c4036 108 EXPORT NMI_Handler [WEAK]
mbed_official 558:0880f51c4036 109 B .
mbed_official 558:0880f51c4036 110 ENDP
mbed_official 558:0880f51c4036 111 HardFault_Handler\
mbed_official 558:0880f51c4036 112 PROC
mbed_official 558:0880f51c4036 113 EXPORT HardFault_Handler [WEAK]
mbed_official 558:0880f51c4036 114 B .
mbed_official 558:0880f51c4036 115 ENDP
mbed_official 558:0880f51c4036 116 SVC_Handler PROC
mbed_official 558:0880f51c4036 117 EXPORT SVC_Handler [WEAK]
mbed_official 558:0880f51c4036 118 B .
mbed_official 558:0880f51c4036 119 ENDP
mbed_official 558:0880f51c4036 120 PendSV_Handler PROC
mbed_official 558:0880f51c4036 121 EXPORT PendSV_Handler [WEAK]
mbed_official 558:0880f51c4036 122 B .
mbed_official 558:0880f51c4036 123 ENDP
mbed_official 558:0880f51c4036 124 SysTick_Handler PROC
mbed_official 558:0880f51c4036 125 EXPORT SysTick_Handler [WEAK]
mbed_official 558:0880f51c4036 126 B .
mbed_official 558:0880f51c4036 127 ENDP
mbed_official 558:0880f51c4036 128 Default_Handler PROC
mbed_official 558:0880f51c4036 129 EXPORT SSP0_Handler [WEAK]
mbed_official 558:0880f51c4036 130 EXPORT SSP1_Handler [WEAK]
mbed_official 558:0880f51c4036 131 EXPORT UART0_Handler [WEAK]
mbed_official 558:0880f51c4036 132 EXPORT UART1_Handler [WEAK]
mbed_official 558:0880f51c4036 133 EXPORT UART2_Handler [WEAK]
mbed_official 558:0880f51c4036 134 EXPORT I2C0_Handler [WEAK]
mbed_official 558:0880f51c4036 135 EXPORT I2C1_Handler [WEAK]
mbed_official 558:0880f51c4036 136 EXPORT PORT0_Handler [WEAK]
mbed_official 558:0880f51c4036 137 EXPORT PORT1_Handler [WEAK]
mbed_official 558:0880f51c4036 138 EXPORT PORT2_Handler [WEAK]
mbed_official 558:0880f51c4036 139 EXPORT PORT3_Handler [WEAK]
mbed_official 558:0880f51c4036 140 EXPORT DMA_Handler [WEAK]
mbed_official 558:0880f51c4036 141 EXPORT DUALTIMER0_Handler [WEAK]
mbed_official 558:0880f51c4036 142 EXPORT DUALTIMER1_Handler [WEAK]
mbed_official 558:0880f51c4036 143 EXPORT PWM0_Handler [WEAK]
mbed_official 558:0880f51c4036 144 EXPORT PWM1_Handler [WEAK]
mbed_official 558:0880f51c4036 145 EXPORT PWM2_Handler [WEAK]
mbed_official 558:0880f51c4036 146 EXPORT PWM3_Handler [WEAK]
mbed_official 558:0880f51c4036 147 EXPORT PWM4_Handler [WEAK]
mbed_official 558:0880f51c4036 148 EXPORT PWM5_Handler [WEAK]
mbed_official 558:0880f51c4036 149 EXPORT PWM6_Handler [WEAK]
mbed_official 558:0880f51c4036 150 EXPORT PWM7_Handler [WEAK]
mbed_official 558:0880f51c4036 151 EXPORT RTC_Handler [WEAK]
mbed_official 558:0880f51c4036 152 EXPORT ADC_Handler [WEAK]
mbed_official 558:0880f51c4036 153 EXPORT WZTOE_Handler [WEAK]
mbed_official 558:0880f51c4036 154 EXPORT EXTI_Handler [WEAK]
mbed_official 558:0880f51c4036 155 SSP0_Handler
mbed_official 558:0880f51c4036 156 SSP1_Handler
mbed_official 558:0880f51c4036 157 UART0_Handler
mbed_official 558:0880f51c4036 158 UART1_Handler
mbed_official 558:0880f51c4036 159 UART2_Handler
mbed_official 558:0880f51c4036 160 I2C0_Handler
mbed_official 558:0880f51c4036 161 I2C1_Handler
mbed_official 558:0880f51c4036 162 PORT0_Handler
mbed_official 558:0880f51c4036 163 PORT1_Handler
mbed_official 558:0880f51c4036 164 PORT2_Handler
mbed_official 558:0880f51c4036 165 PORT3_Handler
mbed_official 558:0880f51c4036 166 DMA_Handler
mbed_official 558:0880f51c4036 167 DUALTIMER0_Handler
mbed_official 558:0880f51c4036 168 DUALTIMER1_Handler
mbed_official 558:0880f51c4036 169 PWM0_Handler
mbed_official 558:0880f51c4036 170 PWM1_Handler
mbed_official 558:0880f51c4036 171 PWM2_Handler
mbed_official 558:0880f51c4036 172 PWM3_Handler
mbed_official 558:0880f51c4036 173 PWM4_Handler
mbed_official 558:0880f51c4036 174 PWM5_Handler
mbed_official 558:0880f51c4036 175 PWM6_Handler
mbed_official 558:0880f51c4036 176 PWM7_Handler
mbed_official 558:0880f51c4036 177 RTC_Handler
mbed_official 558:0880f51c4036 178 ADC_Handler
mbed_official 558:0880f51c4036 179 WZTOE_Handler
mbed_official 558:0880f51c4036 180 EXTI_Handler
mbed_official 558:0880f51c4036 181 B .
mbed_official 558:0880f51c4036 182 ENDP
mbed_official 558:0880f51c4036 183
mbed_official 558:0880f51c4036 184
mbed_official 558:0880f51c4036 185 ALIGN
mbed_official 558:0880f51c4036 186 END