-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gdbinit
More file actions
37 lines (33 loc) · 726 Bytes
/
.gdbinit
File metadata and controls
37 lines (33 loc) · 726 Bytes
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
31
32
33
34
35
36
37
target remote localhost:3333
symbol-file app.elf
monitor poll on
monitor reset
monitor wait 500
monitor soft_reset_halt
define hook-step
mon cortex_m3 maskisr on
end
define hookpost-step
mon cortex_m3 maskisr off
end
define syms
symbol-file app.elf
end
define flash
#monitor soft_reset_halt
#monitor reset init
#monitor halt
monitor reset halt
#monitor adapter_khz 600
#monitor flash write_image app.elf
monitor flash write_image erase unlock app.bin 0x0 bin
#monitor flash write_image app.bin 0x0 bin
monitor verify_image app.bin 0x0 bin
symbol-file app.elf
monitor reset init
#monitor adapter_khz 600
end
define reboot
monitor reset init
continue
end