diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-25 22:02:09 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-01-25 22:02:09 +0100 |
commit | 7f89aea2016ebde61b02914abc7984df50537f29 (patch) | |
tree | f21117d11242e26aeb880058f07263431adf869d /gdb-apps | |
parent | 8a3fedbcb8fc58dae8b43db3cae39688ec0332ef (diff) | |
download | stm32f103-playground-7f89aea2016ebde61b02914abc7984df50537f29.tar.gz stm32f103-playground-7f89aea2016ebde61b02914abc7984df50537f29.tar.bz2 stm32f103-playground-7f89aea2016ebde61b02914abc7984df50537f29.tar.xz stm32f103-playground-7f89aea2016ebde61b02914abc7984df50537f29.zip |
o Improving the mcu-stm32 cmake library a bit. Starting on a USB example.
Diffstat (limited to 'gdb-apps')
-rw-r--r-- | gdb-apps | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |