imx8m: add an m4 target to the imx8m
[fw/openocd] / tcl / target / imx8m.cfg
index 33149540af176ea5e5ded31960764f327c5d8979..5d7acbed10287aedc950d8417619b330f1960845 100644 (file)
@@ -53,3 +53,6 @@ for { set _core 0 } { $_core < $_cores } { incr _core } {
 
 eval $_smp_command
 targets $_TARGETNAME.0
+
+# declare the auxiliary Cortex-M4 core on AP #4
+target create ${_CHIPNAME}.m4 cortex_m -dap ${_CHIPNAME}.dap -ap-num 4