aboutsummaryrefslogtreecommitdiff
path: root/gdb-start
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-18 21:19:35 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-18 21:19:35 +0100
commit022daa0619f7d571db6e81c09ab5c0f0af389c18 (patch)
treea2b1c7f6d36f1f3ddfd109bc28ddbf71a9f85196 /gdb-start
parent7bc66b8b61d818f0beaaf9a944abd6e086e0fae6 (diff)
downloadstm32f103-playground-022daa0619f7d571db6e81c09ab5c0f0af389c18.tar.gz
stm32f103-playground-022daa0619f7d571db6e81c09ab5c0f0af389c18.tar.bz2
stm32f103-playground-022daa0619f7d571db6e81c09ab5c0f0af389c18.tar.xz
stm32f103-playground-022daa0619f7d571db6e81c09ab5c0f0af389c18.zip
o Functional initialization of .data and .bss.
o Adding a minimal printf library
Diffstat (limited to 'gdb-start')
-rw-r--r--gdb-start8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb-start b/gdb-start
index 3973a49..c7da6c3 100644
--- a/gdb-start
+++ b/gdb-start
@@ -4,18 +4,12 @@ define flash_test1
monitor arm semihosting enable
monitor reset halt
-monitor stm32f1x.cpu mwb 0x20000000 0x5a 20480
-
set confirm off
file build/test1.elf
load build/test1.elf
set confirm on
-#monitor flash probe 0
-#monitor stm32f1x mass_erase 0
-#monitor flash write_bank 0 test1.elf.bin 0
-# delete breakpoint
-# hbreak main
+monitor stm32f1x.cpu mwb 0x20000000 0x5a 20480
end
monitor reset halt