The old sam7 and stm32 tcl scripts I wrote last year are crusty and 
where not fixed when the tcl code was re-arranged and moved around.

[this has already been committed]

-Duane.

du...@desk ~/test/openocd/tcl
$ svn diff
Index: chip/atmel/at91/at91sam7x128.tcl
===================================================================
--- chip/atmel/at91/at91sam7x128.tcl    (revision 2657)
+++ chip/atmel/at91/at91sam7x128.tcl    (working copy)
@@ -1,7 +1,7 @@
-source [find tcl/bitsbytes.tcl]
-source [find tcl/cpu/arm/arm7tdmi.tcl]
-source [find tcl/memory.tcl]
-source [find tcl/mmr_helpers.tcl]
+source [find bitsbytes.tcl]
+source [find cpu/arm/arm7tdmi.tcl]
+source [find memory.tcl]
+source [find mmr_helpers.tcl]

 set CHIP_MAKER  atmel
 set CHIP_FAMILY at91sam7
@@ -122,7 +122,7 @@
 set AT91C_ID(30) IRQ0
 set AT91C_ID(31) IRQ1

-source [find tcl/chip/atmel/at91/aic.tcl]
-source [find tcl/chip/atmel/at91/usarts.tcl]
-source [find tcl/chip/atmel/at91/pmc.tcl]
-source [find tcl/chip/atmel/at91/rtt.tcl]
+source [find chip/atmel/at91/aic.tcl]
+source [find chip/atmel/at91/usarts.tcl]
+source [find chip/atmel/at91/pmc.tcl]
+source [find chip/atmel/at91/rtt.tcl]
Index: chip/atmel/at91/at91sam7x256.tcl
===================================================================
--- chip/atmel/at91/at91sam7x256.tcl    (revision 2657)
+++ chip/atmel/at91/at91sam7x256.tcl    (working copy)
@@ -1,7 +1,7 @@
-source [find tcl/bitsbytes.tcl]
-source [find tcl/cpu/arm/arm7tdmi.tcl]
-source [find tcl/memory.tcl]
-source [find tcl/mmr_helpers.tcl]
+source [find bitsbytes.tcl]
+source [find cpu/arm/arm7tdmi.tcl]
+source [find memory.tcl]
+source [find mmr_helpers.tcl]

 set CHIP_MAKER  atmel
 set CHIP_FAMILY at91sam7
@@ -120,7 +120,7 @@
 set AT91C_ID(31)   "IRQ1"


-source [find tcl/chip/atmel/at91/aic.tcl]
-source [find tcl/chip/atmel/at91/usarts.tcl]
-source [find tcl/chip/atmel/at91/pmc.tcl]
-source [find tcl/chip/atmel/at91/rtt.tcl]
+source [find chip/atmel/at91/aic.tcl]
+source [find chip/atmel/at91/usarts.tcl]
+source [find chip/atmel/at91/pmc.tcl]
+source [find chip/atmel/at91/rtt.tcl]
Index: chip/st/stm32/stm32.tcl
===================================================================
--- chip/st/stm32/stm32.tcl     (revision 2657)
+++ chip/st/stm32/stm32.tcl     (working copy)
@@ -1,7 +1,7 @@
-source [find tcl/bitsbytes.tcl]
-source [find tcl/cpu/arm/cortex_m3.tcl]
-source [find tcl/memory.tcl]
-source [find tcl/mmr_helpers.tcl]
+source [find bitsbytes.tcl]
+source [find cpu/arm/cortex_m3.tcl]
+source [find memory.tcl]
+source [find mmr_helpers.tcl]

-source [find tcl/chip/st/stm32/stm32_regs.tcl]
-source [find tcl/chip/st/stm32/stm32_rcc.tcl]
+source [find chip/st/stm32/stm32_regs.tcl]
+source [find chip/st/stm32/stm32_rcc.tcl]

du...@desk ~/test/openocd/tcl
$ svn commit -m'Crusty Code fixes from the tcl directory re-arragements'
Sending        tcl/chip/atmel/at91/at91sam7x128.tcl
Sending        tcl/chip/atmel/at91/at91sam7x256.tcl
Sending        tcl/chip/st/stm32/stm32.tcl
Transmitting file data ...
Committed revision 2661.

du...@desk ~/test/openocd/tcl
$



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to