ioutil: make the file compile on MacOS
[fw/openocd] / tcl / target / stellaris.cfg
index 0afe2e791ac8d8cd2fc6219aa01db5a769307c46..06f27c56807be3df913ec4638558ecd16d5dd46c 100644 (file)
@@ -47,8 +47,8 @@ swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf \
 if { [info exists WORKAREASIZE] } {
    set _WORKAREASIZE $WORKAREASIZE
 } else {
-   # default to 8K working area
-   set _WORKAREASIZE 0x2000
+   # default to 2K working area
+   set _WORKAREASIZE 0x800
 }
 
 set _TARGETNAME $_CHIPNAME.cpu
@@ -133,7 +133,7 @@ proc reset_peripherals {family} {
 $_TARGETNAME configure -event reset-start {
        adapter_khz 500
 
-       #       
+       #
        # When nRST is asserted on most Stellaris devices, it clears some of
        # the debug state.  The ARMv7M and Cortex-M3 TRMs say that's wrong;
        # and OpenOCD depends on those TRMs.  So we won't use SRST on those