From 7034aa525737cf4f62065c79b2edcb3209f29013 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 4 Feb 2021 14:02:35 +0100 Subject: [PATCH] openocd: revert to deprecated adapter_khz --- tools/jtag_openocd/board-at91sam7s.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/jtag_openocd/board-at91sam7s.cfg b/tools/jtag_openocd/board-at91sam7s.cfg index 960c1461b..9f570632a 100644 --- a/tools/jtag_openocd/board-at91sam7s.cfg +++ b/tools/jtag_openocd/board-at91sam7s.cfg @@ -29,4 +29,6 @@ sam7x.cpu configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size flash bank sam7x.flash.0 at91sam7 0 0 0 0 sam7x.cpu 0 0 0 0 0 0 0 18432 flash bank sam7x.flash.1 at91sam7 0 0 0 0 sam7x.cpu 1 0 0 0 0 0 0 18432 transport select jtag -adapter speed 1000 +# Since some 0.10.0 versions, "adapter_khz" is deprecated in favor of "adapter speed" but there are also some 0.10.0 not recognizing "adapter speed" so we'll stick to "adapter_khz" for now... +# adapter speed 1000 +adapter_khz 1000