]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/fm4_s6e2cc.cfg
target: add Espressif ESP32 basic support
[fw/openocd] / tcl / target / fm4_s6e2cc.cfg
index 60b73b9747feb35fb47186387f3ff1fe41a3116b..c6f835daece3efb0019d2f711e918e65761ab858 100644 (file)
@@ -11,7 +11,7 @@ if { [info exists WORKAREASIZE] } {
        set _WORKAREASIZE 0x18000
 }
 
-$_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \
+$_TARGETNAME configure -work-area-phys [expr {0x20000000 - $_WORKAREASIZE}] \
                        -work-area-size $_WORKAREASIZE -work-area-backup 0
 
 set _FLASHNAME $_CHIPNAME.flash