From 7a3182fa42b0f4c11ccc3c667398da819cad4bd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Schm=C3=B6lzer?= Date: Thu, 4 Jul 2013 19:38:04 +0200 Subject: [PATCH] OpenULINK firmware: fix name of USB Jump Table symbol MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix a case mistake in the name of the USB Jump Table ("USB_jump_table" vs. "USB_Jump_Table") which led to an assembler error when attempting to build the firmware with recent SDCC versions, because the assembler now treats symbol names as case-sensitive. Successfully tested with ULINK probe and STM32F103 (debug, erase and write flash). Change-Id: I979667b9130efcdccc3ac73269c38f06e0590048 Signed-off-by: Martin Schmölzer Reviewed-on: http://openocd.zylin.com/1482 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 b/src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 index 244a1be4..8ddd6801 100644 --- a/src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 +++ b/src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 @@ -1,5 +1,5 @@ ;--------------------------------------------------------------------------; -; Copyright (C) 2011 by Martin Schmoelzer ; +; Copyright (C) 2011-2013 by Martin Schmoelzer ; ; ; ; ; ; This program is free software; you can redistribute it and/or modify ; @@ -28,7 +28,7 @@ .area USB_JV (ABS,OVR) ; Absolute, Overlay .org 0x43 ; USB interrupt (INT2) jumps here USB_AutoVector = #. + 2 - ljmp USB_jump_table + ljmp USB_Jump_Table ;--------------------------------------------------------------------------; ; USB Jump Table ; @@ -36,7 +36,7 @@ USB_AutoVector = #. + 2 .area USB_JT (ABS) ; Absolute placement .org 0x1B00 ; Place jump table at 0x1B00 -USB_jump_table: ; autovector jump table +USB_Jump_Table: ; autovector jump table ljmp _sudav_isr ; Setup Data Available .db 0 ljmp _sof_isr ; Start of Frame -- 2.39.5