From c2aae4ccb63158f197c3d0629082e7699dfe8e25 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 14 Dec 2015 07:51:19 +0100 Subject: correct linking, putting the assembly code in .text with proper linking script made ld recognise the functions as thumb instructions. --- openocd.cfg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'openocd.cfg') 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" -- cgit v1.2.3