From 7f89aea2016ebde61b02914abc7984df50537f29 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 25 Jan 2017 22:02:09 +0100 Subject: o Improving the mcu-stm32 cmake library a bit. Starting on a USB example. --- gdb-apps | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gdb-apps') 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 -- cgit v1.2.3