Control a robot over the internet using UDP and a Wifly module (WiFi).

Dependencies:   Motor TextLCD WiflyInterface mbed-rtos mbed

Committer:
apatel336
Date:
Thu Oct 17 13:27:56 2013 +0000
Revision:
0:c0dc3a76f3d4
Initial Release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
apatel336 0:c0dc3a76f3d4 1 /*----------------------------------------------------------------------------
apatel336 0:c0dc3a76f3d4 2 * RL-ARM - RTX
apatel336 0:c0dc3a76f3d4 3 *----------------------------------------------------------------------------
apatel336 0:c0dc3a76f3d4 4 * Name: HAL_CM3.S
apatel336 0:c0dc3a76f3d4 5 * Purpose: Hardware Abstraction Layer for Cortex-M3
apatel336 0:c0dc3a76f3d4 6 * Rev.: V4.60
apatel336 0:c0dc3a76f3d4 7 *----------------------------------------------------------------------------
apatel336 0:c0dc3a76f3d4 8 *
apatel336 0:c0dc3a76f3d4 9 * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH
apatel336 0:c0dc3a76f3d4 10 * All rights reserved.
apatel336 0:c0dc3a76f3d4 11 * Redistribution and use in source and binary forms, with or without
apatel336 0:c0dc3a76f3d4 12 * modification, are permitted provided that the following conditions are met:
apatel336 0:c0dc3a76f3d4 13 * - Redistributions of source code must retain the above copyright
apatel336 0:c0dc3a76f3d4 14 * notice, this list of conditions and the following disclaimer.
apatel336 0:c0dc3a76f3d4 15 * - Redistributions in binary form must reproduce the above copyright
apatel336 0:c0dc3a76f3d4 16 * notice, this list of conditions and the following disclaimer in the
apatel336 0:c0dc3a76f3d4 17 * documentation and/or other materials provided with the distribution.
apatel336 0:c0dc3a76f3d4 18 * - Neither the name of ARM nor the names of its contributors may be used
apatel336 0:c0dc3a76f3d4 19 * to endorse or promote products derived from this software without
apatel336 0:c0dc3a76f3d4 20 * specific prior written permission.
apatel336 0:c0dc3a76f3d4 21 *
apatel336 0:c0dc3a76f3d4 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
apatel336 0:c0dc3a76f3d4 23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
apatel336 0:c0dc3a76f3d4 24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
apatel336 0:c0dc3a76f3d4 25 * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
apatel336 0:c0dc3a76f3d4 26 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
apatel336 0:c0dc3a76f3d4 27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
apatel336 0:c0dc3a76f3d4 28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
apatel336 0:c0dc3a76f3d4 29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
apatel336 0:c0dc3a76f3d4 30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
apatel336 0:c0dc3a76f3d4 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
apatel336 0:c0dc3a76f3d4 32 * POSSIBILITY OF SUCH DAMAGE.
apatel336 0:c0dc3a76f3d4 33 *---------------------------------------------------------------------------*/
apatel336 0:c0dc3a76f3d4 34
apatel336 0:c0dc3a76f3d4 35 .file "HAL_CM3.S"
apatel336 0:c0dc3a76f3d4 36 .syntax unified
apatel336 0:c0dc3a76f3d4 37
apatel336 0:c0dc3a76f3d4 38 .equ TCB_TSTACK, 36
apatel336 0:c0dc3a76f3d4 39
apatel336 0:c0dc3a76f3d4 40
apatel336 0:c0dc3a76f3d4 41 /*----------------------------------------------------------------------------
apatel336 0:c0dc3a76f3d4 42 * Functions
apatel336 0:c0dc3a76f3d4 43 *---------------------------------------------------------------------------*/
apatel336 0:c0dc3a76f3d4 44
apatel336 0:c0dc3a76f3d4 45 .thumb
apatel336 0:c0dc3a76f3d4 46
apatel336 0:c0dc3a76f3d4 47 .section ".text"
apatel336 0:c0dc3a76f3d4 48 .align 2
apatel336 0:c0dc3a76f3d4 49
apatel336 0:c0dc3a76f3d4 50
apatel336 0:c0dc3a76f3d4 51 /*--------------------------- rt_set_PSP ------------------------------------*/
apatel336 0:c0dc3a76f3d4 52
apatel336 0:c0dc3a76f3d4 53 # void rt_set_PSP (U32 stack);
apatel336 0:c0dc3a76f3d4 54
apatel336 0:c0dc3a76f3d4 55 .thumb_func
apatel336 0:c0dc3a76f3d4 56 .type rt_set_PSP, %function
apatel336 0:c0dc3a76f3d4 57 .global rt_set_PSP
apatel336 0:c0dc3a76f3d4 58 rt_set_PSP:
apatel336 0:c0dc3a76f3d4 59 .fnstart
apatel336 0:c0dc3a76f3d4 60 .cantunwind
apatel336 0:c0dc3a76f3d4 61
apatel336 0:c0dc3a76f3d4 62 MSR PSP,R0
apatel336 0:c0dc3a76f3d4 63 BX LR
apatel336 0:c0dc3a76f3d4 64
apatel336 0:c0dc3a76f3d4 65 .fnend
apatel336 0:c0dc3a76f3d4 66 .size rt_set_PSP, .-rt_set_PSP
apatel336 0:c0dc3a76f3d4 67
apatel336 0:c0dc3a76f3d4 68
apatel336 0:c0dc3a76f3d4 69 /*--------------------------- rt_get_PSP ------------------------------------*/
apatel336 0:c0dc3a76f3d4 70
apatel336 0:c0dc3a76f3d4 71 # U32 rt_get_PSP (void);
apatel336 0:c0dc3a76f3d4 72
apatel336 0:c0dc3a76f3d4 73 .thumb_func
apatel336 0:c0dc3a76f3d4 74 .type rt_get_PSP, %function
apatel336 0:c0dc3a76f3d4 75 .global rt_get_PSP
apatel336 0:c0dc3a76f3d4 76 rt_get_PSP:
apatel336 0:c0dc3a76f3d4 77 .fnstart
apatel336 0:c0dc3a76f3d4 78 .cantunwind
apatel336 0:c0dc3a76f3d4 79
apatel336 0:c0dc3a76f3d4 80 MRS R0,PSP
apatel336 0:c0dc3a76f3d4 81 BX LR
apatel336 0:c0dc3a76f3d4 82
apatel336 0:c0dc3a76f3d4 83 .fnend
apatel336 0:c0dc3a76f3d4 84 .size rt_get_PSP, .-rt_get_PSP
apatel336 0:c0dc3a76f3d4 85
apatel336 0:c0dc3a76f3d4 86
apatel336 0:c0dc3a76f3d4 87 /*--------------------------- os_set_env ------------------------------------*/
apatel336 0:c0dc3a76f3d4 88
apatel336 0:c0dc3a76f3d4 89 # void os_set_env (void);
apatel336 0:c0dc3a76f3d4 90 /* Switch to Unprivileged/Privileged Thread mode, use PSP. */
apatel336 0:c0dc3a76f3d4 91
apatel336 0:c0dc3a76f3d4 92 .thumb_func
apatel336 0:c0dc3a76f3d4 93 .type os_set_env, %function
apatel336 0:c0dc3a76f3d4 94 .global os_set_env
apatel336 0:c0dc3a76f3d4 95 os_set_env:
apatel336 0:c0dc3a76f3d4 96 .fnstart
apatel336 0:c0dc3a76f3d4 97 .cantunwind
apatel336 0:c0dc3a76f3d4 98
apatel336 0:c0dc3a76f3d4 99 MOV R0,SP /* PSP = MSP */
apatel336 0:c0dc3a76f3d4 100 MSR PSP,R0
apatel336 0:c0dc3a76f3d4 101 LDR R0,=os_flags
apatel336 0:c0dc3a76f3d4 102 LDRB R0,[R0]
apatel336 0:c0dc3a76f3d4 103 LSLS R0,#31
apatel336 0:c0dc3a76f3d4 104 ITE NE
apatel336 0:c0dc3a76f3d4 105 MOVNE R0,#0x02 /* Privileged Thread mode, use PSP */
apatel336 0:c0dc3a76f3d4 106 MOVEQ R0,#0x03 /* Unprivileged Thread mode, use PSP */
apatel336 0:c0dc3a76f3d4 107 MSR CONTROL,R0
apatel336 0:c0dc3a76f3d4 108 BX LR
apatel336 0:c0dc3a76f3d4 109
apatel336 0:c0dc3a76f3d4 110 .fnend
apatel336 0:c0dc3a76f3d4 111 .size os_set_env, .-os_set_env
apatel336 0:c0dc3a76f3d4 112
apatel336 0:c0dc3a76f3d4 113
apatel336 0:c0dc3a76f3d4 114 /*--------------------------- _alloc_box ------------------------------------*/
apatel336 0:c0dc3a76f3d4 115
apatel336 0:c0dc3a76f3d4 116 # void *_alloc_box (void *box_mem);
apatel336 0:c0dc3a76f3d4 117 /* Function wrapper for Unprivileged/Privileged mode. */
apatel336 0:c0dc3a76f3d4 118
apatel336 0:c0dc3a76f3d4 119 .thumb_func
apatel336 0:c0dc3a76f3d4 120 .type _alloc_box, %function
apatel336 0:c0dc3a76f3d4 121 .global _alloc_box
apatel336 0:c0dc3a76f3d4 122 _alloc_box:
apatel336 0:c0dc3a76f3d4 123 .fnstart
apatel336 0:c0dc3a76f3d4 124 .cantunwind
apatel336 0:c0dc3a76f3d4 125
apatel336 0:c0dc3a76f3d4 126 LDR R12,=rt_alloc_box
apatel336 0:c0dc3a76f3d4 127 MRS R3,IPSR
apatel336 0:c0dc3a76f3d4 128 LSLS R3,#24
apatel336 0:c0dc3a76f3d4 129 IT NE
apatel336 0:c0dc3a76f3d4 130 BXNE R12
apatel336 0:c0dc3a76f3d4 131 MRS R3,CONTROL
apatel336 0:c0dc3a76f3d4 132 LSLS R3,#31
apatel336 0:c0dc3a76f3d4 133 IT EQ
apatel336 0:c0dc3a76f3d4 134 BXEQ R12
apatel336 0:c0dc3a76f3d4 135 SVC 0
apatel336 0:c0dc3a76f3d4 136 BX LR
apatel336 0:c0dc3a76f3d4 137
apatel336 0:c0dc3a76f3d4 138 .fnend
apatel336 0:c0dc3a76f3d4 139 .size _alloc_box, .-_alloc_box
apatel336 0:c0dc3a76f3d4 140
apatel336 0:c0dc3a76f3d4 141
apatel336 0:c0dc3a76f3d4 142 /*--------------------------- _free_box -------------------------------------*/
apatel336 0:c0dc3a76f3d4 143
apatel336 0:c0dc3a76f3d4 144 # int _free_box (void *box_mem, void *box);
apatel336 0:c0dc3a76f3d4 145 /* Function wrapper for Unprivileged/Privileged mode. */
apatel336 0:c0dc3a76f3d4 146
apatel336 0:c0dc3a76f3d4 147 .thumb_func
apatel336 0:c0dc3a76f3d4 148 .type _free_box, %function
apatel336 0:c0dc3a76f3d4 149 .global _free_box
apatel336 0:c0dc3a76f3d4 150 _free_box:
apatel336 0:c0dc3a76f3d4 151 .fnstart
apatel336 0:c0dc3a76f3d4 152 .cantunwind
apatel336 0:c0dc3a76f3d4 153
apatel336 0:c0dc3a76f3d4 154 LDR R12,=rt_free_box
apatel336 0:c0dc3a76f3d4 155 MRS R3,IPSR
apatel336 0:c0dc3a76f3d4 156 LSLS R3,#24
apatel336 0:c0dc3a76f3d4 157 IT NE
apatel336 0:c0dc3a76f3d4 158 BXNE R12
apatel336 0:c0dc3a76f3d4 159 MRS R3,CONTROL
apatel336 0:c0dc3a76f3d4 160 LSLS R3,#31
apatel336 0:c0dc3a76f3d4 161 IT EQ
apatel336 0:c0dc3a76f3d4 162 BXEQ R12
apatel336 0:c0dc3a76f3d4 163 SVC 0
apatel336 0:c0dc3a76f3d4 164 BX LR
apatel336 0:c0dc3a76f3d4 165
apatel336 0:c0dc3a76f3d4 166 .fnend
apatel336 0:c0dc3a76f3d4 167 .size _free_box, .-_free_box
apatel336 0:c0dc3a76f3d4 168
apatel336 0:c0dc3a76f3d4 169
apatel336 0:c0dc3a76f3d4 170 /*-------------------------- SVC_Handler ------------------------------------*/
apatel336 0:c0dc3a76f3d4 171
apatel336 0:c0dc3a76f3d4 172 # void SVC_Handler (void);
apatel336 0:c0dc3a76f3d4 173
apatel336 0:c0dc3a76f3d4 174 .thumb_func
apatel336 0:c0dc3a76f3d4 175 .type SVC_Handler, %function
apatel336 0:c0dc3a76f3d4 176 .global SVC_Handler
apatel336 0:c0dc3a76f3d4 177 SVC_Handler:
apatel336 0:c0dc3a76f3d4 178 .fnstart
apatel336 0:c0dc3a76f3d4 179 .cantunwind
apatel336 0:c0dc3a76f3d4 180
apatel336 0:c0dc3a76f3d4 181 MRS R0,PSP /* Read PSP */
apatel336 0:c0dc3a76f3d4 182 LDR R1,[R0,#24] /* Read Saved PC from Stack */
apatel336 0:c0dc3a76f3d4 183 LDRB R1,[R1,#-2] /* Load SVC Number */
apatel336 0:c0dc3a76f3d4 184 CBNZ R1,SVC_User
apatel336 0:c0dc3a76f3d4 185
apatel336 0:c0dc3a76f3d4 186 LDM R0,{R0-R3,R12} /* Read R0-R3,R12 from stack */
apatel336 0:c0dc3a76f3d4 187 BLX R12 /* Call SVC Function */
apatel336 0:c0dc3a76f3d4 188
apatel336 0:c0dc3a76f3d4 189 MRS R12,PSP /* Read PSP */
apatel336 0:c0dc3a76f3d4 190 STM R12,{R0-R2} /* Store return values */
apatel336 0:c0dc3a76f3d4 191
apatel336 0:c0dc3a76f3d4 192 LDR R3,=os_tsk
apatel336 0:c0dc3a76f3d4 193 LDM R3,{R1,R2} /* os_tsk.run, os_tsk.new */
apatel336 0:c0dc3a76f3d4 194 CMP R1,R2
apatel336 0:c0dc3a76f3d4 195 BEQ SVC_Exit /* no task switch */
apatel336 0:c0dc3a76f3d4 196
apatel336 0:c0dc3a76f3d4 197 CBZ R1,SVC_Next /* Runtask deleted? */
apatel336 0:c0dc3a76f3d4 198 STMDB R12!,{R4-R11} /* Save Old context */
apatel336 0:c0dc3a76f3d4 199 STR R12,[R1,#TCB_TSTACK] /* Update os_tsk.run->tsk_stack */
apatel336 0:c0dc3a76f3d4 200
apatel336 0:c0dc3a76f3d4 201 PUSH {R2,R3}
apatel336 0:c0dc3a76f3d4 202 BL rt_stk_check /* Check for Stack overflow */
apatel336 0:c0dc3a76f3d4 203 POP {R2,R3}
apatel336 0:c0dc3a76f3d4 204
apatel336 0:c0dc3a76f3d4 205 SVC_Next:
apatel336 0:c0dc3a76f3d4 206 STR R2,[R3] /* os_tsk.run = os_tsk.new */
apatel336 0:c0dc3a76f3d4 207
apatel336 0:c0dc3a76f3d4 208 LDR R12,[R2,#TCB_TSTACK] /* os_tsk.new->tsk_stack */
apatel336 0:c0dc3a76f3d4 209 LDMIA R12!,{R4-R11} /* Restore New Context */
apatel336 0:c0dc3a76f3d4 210 MSR PSP,R12 /* Write PSP */
apatel336 0:c0dc3a76f3d4 211
apatel336 0:c0dc3a76f3d4 212 SVC_Exit:
apatel336 0:c0dc3a76f3d4 213 MVN LR,#~0xFFFFFFFD /* set EXC_RETURN value */
apatel336 0:c0dc3a76f3d4 214 BX LR
apatel336 0:c0dc3a76f3d4 215
apatel336 0:c0dc3a76f3d4 216 /*------------------- User SVC ------------------------------*/
apatel336 0:c0dc3a76f3d4 217
apatel336 0:c0dc3a76f3d4 218 SVC_User:
apatel336 0:c0dc3a76f3d4 219 PUSH {R4,LR} /* Save Registers */
apatel336 0:c0dc3a76f3d4 220 LDR R2,=SVC_Count
apatel336 0:c0dc3a76f3d4 221 LDR R2,[R2]
apatel336 0:c0dc3a76f3d4 222 CMP R1,R2
apatel336 0:c0dc3a76f3d4 223 BHI SVC_Done /* Overflow */
apatel336 0:c0dc3a76f3d4 224
apatel336 0:c0dc3a76f3d4 225 LDR R4,=SVC_Table-4
apatel336 0:c0dc3a76f3d4 226 LDR R4,[R4,R1,LSL #2] /* Load SVC Function Address */
apatel336 0:c0dc3a76f3d4 227
apatel336 0:c0dc3a76f3d4 228 LDM R0,{R0-R3,R12} /* Read R0-R3,R12 from stack */
apatel336 0:c0dc3a76f3d4 229 BLX R4 /* Call SVC Function */
apatel336 0:c0dc3a76f3d4 230
apatel336 0:c0dc3a76f3d4 231 MRS R12,PSP
apatel336 0:c0dc3a76f3d4 232 STM R12,{R0-R3} /* Function return values */
apatel336 0:c0dc3a76f3d4 233 SVC_Done:
apatel336 0:c0dc3a76f3d4 234 POP {R4,PC} /* RETI */
apatel336 0:c0dc3a76f3d4 235
apatel336 0:c0dc3a76f3d4 236 .fnend
apatel336 0:c0dc3a76f3d4 237 .size SVC_Handler, .-SVC_Handler
apatel336 0:c0dc3a76f3d4 238
apatel336 0:c0dc3a76f3d4 239
apatel336 0:c0dc3a76f3d4 240 /*-------------------------- PendSV_Handler ---------------------------------*/
apatel336 0:c0dc3a76f3d4 241
apatel336 0:c0dc3a76f3d4 242 # void PendSV_Handler (void);
apatel336 0:c0dc3a76f3d4 243
apatel336 0:c0dc3a76f3d4 244 .thumb_func
apatel336 0:c0dc3a76f3d4 245 .type PendSV_Handler, %function
apatel336 0:c0dc3a76f3d4 246 .global PendSV_Handler
apatel336 0:c0dc3a76f3d4 247 .global Sys_Switch
apatel336 0:c0dc3a76f3d4 248 PendSV_Handler:
apatel336 0:c0dc3a76f3d4 249 .fnstart
apatel336 0:c0dc3a76f3d4 250 .cantunwind
apatel336 0:c0dc3a76f3d4 251
apatel336 0:c0dc3a76f3d4 252 BL rt_pop_req
apatel336 0:c0dc3a76f3d4 253
apatel336 0:c0dc3a76f3d4 254 Sys_Switch:
apatel336 0:c0dc3a76f3d4 255 LDR R3,=os_tsk
apatel336 0:c0dc3a76f3d4 256 LDM R3,{R1,R2} /* os_tsk.run, os_tsk.new */
apatel336 0:c0dc3a76f3d4 257 CMP R1,R2
apatel336 0:c0dc3a76f3d4 258 BEQ Sys_Exit
apatel336 0:c0dc3a76f3d4 259
apatel336 0:c0dc3a76f3d4 260 MRS R12,PSP /* Read PSP */
apatel336 0:c0dc3a76f3d4 261 STMDB R12!,{R4-R11} /* Save Old context */
apatel336 0:c0dc3a76f3d4 262 STR R12,[R1,#TCB_TSTACK] /* Update os_tsk.run->tsk_stack */
apatel336 0:c0dc3a76f3d4 263
apatel336 0:c0dc3a76f3d4 264 PUSH {R2,R3}
apatel336 0:c0dc3a76f3d4 265 BL rt_stk_check /* Check for Stack overflow */
apatel336 0:c0dc3a76f3d4 266 POP {R2,R3}
apatel336 0:c0dc3a76f3d4 267
apatel336 0:c0dc3a76f3d4 268 STR R2,[R3] /* os_tsk.run = os_tsk.new */
apatel336 0:c0dc3a76f3d4 269
apatel336 0:c0dc3a76f3d4 270 LDR R12,[R2,#TCB_TSTACK] /* os_tsk.new->tsk_stack */
apatel336 0:c0dc3a76f3d4 271 LDMIA R12!,{R4-R11} /* Restore New Context */
apatel336 0:c0dc3a76f3d4 272 MSR PSP,R12 /* Write PSP */
apatel336 0:c0dc3a76f3d4 273
apatel336 0:c0dc3a76f3d4 274 Sys_Exit:
apatel336 0:c0dc3a76f3d4 275 MVN LR,#~0xFFFFFFFD /* set EXC_RETURN value */
apatel336 0:c0dc3a76f3d4 276 BX LR /* Return to Thread Mode */
apatel336 0:c0dc3a76f3d4 277
apatel336 0:c0dc3a76f3d4 278 .fnend
apatel336 0:c0dc3a76f3d4 279 .size PendSV_Handler, .-PendSV_Handler
apatel336 0:c0dc3a76f3d4 280
apatel336 0:c0dc3a76f3d4 281
apatel336 0:c0dc3a76f3d4 282 /*-------------------------- SysTick_Handler --------------------------------*/
apatel336 0:c0dc3a76f3d4 283
apatel336 0:c0dc3a76f3d4 284 # void SysTick_Handler (void);
apatel336 0:c0dc3a76f3d4 285
apatel336 0:c0dc3a76f3d4 286 .thumb_func
apatel336 0:c0dc3a76f3d4 287 .type SysTick_Handler, %function
apatel336 0:c0dc3a76f3d4 288 .global SysTick_Handler
apatel336 0:c0dc3a76f3d4 289 SysTick_Handler:
apatel336 0:c0dc3a76f3d4 290 .fnstart
apatel336 0:c0dc3a76f3d4 291 .cantunwind
apatel336 0:c0dc3a76f3d4 292
apatel336 0:c0dc3a76f3d4 293 BL rt_systick
apatel336 0:c0dc3a76f3d4 294 B Sys_Switch
apatel336 0:c0dc3a76f3d4 295
apatel336 0:c0dc3a76f3d4 296 .fnend
apatel336 0:c0dc3a76f3d4 297 .size SysTick_Handler, .-SysTick_Handler
apatel336 0:c0dc3a76f3d4 298
apatel336 0:c0dc3a76f3d4 299
apatel336 0:c0dc3a76f3d4 300 /*-------------------------- OS_Tick_Handler --------------------------------*/
apatel336 0:c0dc3a76f3d4 301
apatel336 0:c0dc3a76f3d4 302 # void OS_Tick_Handler (void);
apatel336 0:c0dc3a76f3d4 303
apatel336 0:c0dc3a76f3d4 304 .thumb_func
apatel336 0:c0dc3a76f3d4 305 .type OS_Tick_Handler, %function
apatel336 0:c0dc3a76f3d4 306 .global OS_Tick_Handler
apatel336 0:c0dc3a76f3d4 307 OS_Tick_Handler:
apatel336 0:c0dc3a76f3d4 308 .fnstart
apatel336 0:c0dc3a76f3d4 309 .cantunwind
apatel336 0:c0dc3a76f3d4 310
apatel336 0:c0dc3a76f3d4 311 BL os_tick_irqack
apatel336 0:c0dc3a76f3d4 312 BL rt_systick
apatel336 0:c0dc3a76f3d4 313 B Sys_Switch
apatel336 0:c0dc3a76f3d4 314
apatel336 0:c0dc3a76f3d4 315 .fnend
apatel336 0:c0dc3a76f3d4 316 .size OS_Tick_Handler, .-OS_Tick_Handler
apatel336 0:c0dc3a76f3d4 317
apatel336 0:c0dc3a76f3d4 318
apatel336 0:c0dc3a76f3d4 319 .end
apatel336 0:c0dc3a76f3d4 320
apatel336 0:c0dc3a76f3d4 321 /*----------------------------------------------------------------------------
apatel336 0:c0dc3a76f3d4 322 * end of file
apatel336 0:c0dc3a76f3d4 323 *---------------------------------------------------------------------------*/