target/espressif: add semihosting support
[fw/openocd] / tcl / target / atsamv.cfg
index 43962de31a357d3f07f8ddcedd186c7761557349..7e9f6c57ef6341fc04d22e59e357b048419a033b 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # ATMEL SAMV, SAMS, and SAME chips are Cortex-M7 parts
 # The chips are very similar; the SAMV series just has
 # more peripherals and seems like the "flagship" of the
@@ -39,7 +41,7 @@ target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap
 
 $_TARGETNAME configure -work-area-phys 0x20400000 -work-area-size $_WORKAREASIZE -work-area-backup 0
 
-adapter_khz 1800
+adapter speed 1800
 
 if {![using_hla]} {
    # if srst is not fitted use SYSRESETREQ to
@@ -57,4 +59,3 @@ if {![using_hla]} {
 
 set _FLASHNAME $_CHIPNAME.flash
 flash bank $_FLASHNAME atsamv 0x00400000 0 0 0 $_TARGETNAME
-