X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Flpc1768.cfg;fp=tcl%2Ftarget%2Flpc1768.cfg;h=6478b2cb064e746dc5cdb66e7be74261f35f17c9;hp=2059aedd866440b60e50532cfebb6f3440b4c901;hb=ca45e700b1c57caca2ef08e665e3c7e3e02ac8d3;hpb=17b546a900f2215d26cfdafa6938d814c0ab4ec3 diff --git a/tcl/target/lpc1768.cfg b/tcl/target/lpc1768.cfg index 2059aedd86..6478b2cb06 100644 --- a/tcl/target/lpc1768.cfg +++ b/tcl/target/lpc1768.cfg @@ -5,9 +5,9 @@ source [find target/swj-dp.tcl] if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME + set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME lpc1768 + set _CHIPNAME lpc1768 } # After reset the chip is clocked by the ~4MHz internal RC oscillator. @@ -17,12 +17,12 @@ if { [info exists CHIPNAME] } { # (The ROM code doing those updates cares about core clock speed...) # # CCLK is the core clock frequency in KHz -if { [info exists CCLK ] } { +if { [info exists CCLK] } { set _CCLK $CCLK } else { set _CCLK 4000 } -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x4ba00477