tcl/target/imx8m: use hwthread rtos
[fw/openocd] / tcl / board / hammer.cfg
index ed83803fb5c6692f106833e239eef9f425ee87a4..ea3da81230c887ebe7aa57e3d966e93e5632fbed 100644 (file)
@@ -32,5 +32,6 @@ $_TARGETNAME configure -event reset-init {
 
 
 #flash configuration
-#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
-flash bank cfi 0x00000000 0x1000000 2 2 0
+#flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x00000000 0x1000000 2 2 $_TARGETNAME