aboutsummaryrefslogtreecommitdiff
path: root/openocd.cfg
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-14 07:51:19 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-14 07:51:19 +0100
commitc2aae4ccb63158f197c3d0629082e7699dfe8e25 (patch)
tree647d7de9bf61552bfc89b0a736f68caada92611c /openocd.cfg
parentafbb4cc73c44b6321cae39dbe46b97155805097d (diff)
downloadstm32f103-playground-c2aae4ccb63158f197c3d0629082e7699dfe8e25.tar.gz
stm32f103-playground-c2aae4ccb63158f197c3d0629082e7699dfe8e25.tar.bz2
stm32f103-playground-c2aae4ccb63158f197c3d0629082e7699dfe8e25.tar.xz
stm32f103-playground-c2aae4ccb63158f197c3d0629082e7699dfe8e25.zip
correct linking, putting the assembly code in .text with proper linking script made ld recognise the functions as thumb instructions.
Diffstat (limited to 'openocd.cfg')
-rw-r--r--openocd.cfg6
1 files changed, 1 insertions, 5 deletions
diff --git a/openocd.cfg b/openocd.cfg
index ba3b349..05e7ef2 100644
--- a/openocd.cfg
+++ b/openocd.cfg
@@ -1,12 +1,8 @@
# openocd
# Chip: STM32F103C8T6, 8=64k flash
-# Schematic: http://img.banggood.com/file/products/20150205235330SKU120191.pdf
-# http://www.st.com/web/en/resource/technical/document/datasheet/CD00161566.pdf
-# http://www.banggood.com/ARM-Cortex-M3-STM32F103C8T6-STM32-Minimum-System-Development-Board-p-920184.html
-# http://www.lctech-inc.com/Hardware/Detail.aspx?id=0172e854-77b0-43d5-b300-68e570c914fd
# Work-area size (RAM size) = 20kB for STM32F103Tx/STM32F103Cx/STM32F103Rx/STM32F103Vx devices
-set WORKAREASIZE 0x5000
+set WORKAREASIZE 0x1000
#interface ftdi
#ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H"