aboutsummaryrefslogtreecommitdiff
path: root/gdb-apps
diff options
context:
space:
mode:
Diffstat (limited to 'gdb-apps')
-rw-r--r--gdb-apps17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb-apps b/gdb-apps
index f4be9b7..1850c52 100644
--- a/gdb-apps
+++ b/gdb-apps
@@ -31,6 +31,23 @@ define flash_can1_b
set variable is_client = 1
end
+define flash_dma1
+ shell cd build && make dma1.elf
+
+ monitor arm semihosting enable
+ monitor reset halt
+
+ set confirm off
+ file build/apps/dma1/dma1.elf
+ load build/apps/dma1/dma1.elf
+ set confirm on
+
+ hbreak halt
+ hbreak main
+ c
+ set variable is_client = 1
+end
+
define flash_test1
shell cd build && make test1.elf