Remove all occurrences of 'mem2array' and 'array2mem'
authorMarc Schink <dev@zapb.de>
Fri, 25 Feb 2022 14:44:58 +0000 (15:44 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Mar 2022 09:48:19 +0000 (09:48 +0000)
commitbe0d68eb66b513ef406ffa83102f89a8f4602914
tree08dd44dbe610f2c39251098a11d06d5fdd6a403d
parente370e06b724f6e3a0fdd8611a3d461c2cc15735c
Remove all occurrences of 'mem2array' and 'array2mem'

Replace deprecated commands 'mem2array' and 'array2mem' with
new Tcl commands 'read_memory' and 'write_memory'.

Change-Id: I116d995995396133ca782b14cce02bd1ab917a4e
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/6859
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
18 files changed:
contrib/rpc_examples/ocd_rpc_example.py
tcl/board/at91cap7a-stk-sdram.cfg
tcl/board/at91sam9g20-ek.cfg
tcl/board/embedded-artists_lpc2478-32.cfg
tcl/board/hilscher_nxhx10.cfg
tcl/board/icnova_sam9g45_sodimm.cfg
tcl/chip/atmel/at91/aic.tcl
tcl/cpu/arc/common.tcl
tcl/mem_helper.tcl
tcl/memory.tcl
tcl/target/c100helper.tcl
tcl/target/hilscher_netx500.cfg
tcl/target/psoc4.cfg
tcl/target/stm32h7x.cfg
tcl/target/stm32mp15x.cfg
tcl/target/stm32wlx.cfg
tcl/target/ti_cc3220sf.cfg
testing/examples/cortex/cm3-ftest.cfg