-
Notifications
You must be signed in to change notification settings - Fork 1
/
startup_debug.s
30 lines (30 loc) · 1.11 KB
/
startup_debug.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/******************************************************************************
* _dbgstart
* Debugger IVT (Core-internal interrupts only)
*
* This table is used when the debugger is running (WCH-Link V2.8) and uses
* "Table of Instructions" format - i.e. instructions at each interrupt vector.
* Hence, all interrupts will fall through to the final ebreak.
******************************************************************************/
.section .init,"ax",@progbits
.balign 4
.globl _dbg_vector
_dbg_vector:
.option push
.option norvc
/* Internal interrupts */
j _start /* Reset Handler */
nop
nop /* NMI Handler */
nop /* Hard Fault Handler */
nop
nop
nop
nop
nop
nop
nop
nop /* SysTick Handler */
nop
ebreak /* SW Handler */
.option pop