diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-12-20 22:25:48 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-12-20 22:25:48 +0100 |
commit | acf22f18828595a0731d3558b7e2d2ba321c926d (patch) | |
tree | cf32cd1322184382d79e1a248ce907fbdb5856b6 /gdb-start | |
parent | 4ce09995e336103ab1d6e20171e732bba1b4cfb2 (diff) | |
download | stm32f103-playground-acf22f18828595a0731d3558b7e2d2ba321c926d.tar.gz stm32f103-playground-acf22f18828595a0731d3558b7e2d2ba321c926d.tar.bz2 stm32f103-playground-acf22f18828595a0731d3558b7e2d2ba321c926d.tar.xz stm32f103-playground-acf22f18828595a0731d3558b7e2d2ba321c926d.zip |
o Interrupt-driven serial port writing.
Diffstat (limited to 'gdb-start')
-rw-r--r-- | gdb-start | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -27,7 +27,21 @@ define flash_serial1 set confirm on monitor stm32f1x.cpu mwb 0x20000000 0x5a 20480 - delete breakpoint 1 + hbreak halt +end + +define flash_serial2 + shell cd build && make serial2.elf + + monitor arm semihosting enable + monitor reset halt + + set confirm off + file build/serial2.elf + load build/serial2.elf + set confirm on + + monitor stm32f1x.cpu mwb 0x20000000 0x5a 20480 hbreak halt end |