summaryrefslogtreecommitdiff
path: root/chip/lm4/openocd/lm4x_cmds.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/openocd/lm4x_cmds.tcl')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index d289cdbbef..dbac6a1392 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -39,6 +39,10 @@ proc flash_falco { } {
flash_lm4 ../../../build/falco/ec.bin 0
}
+proc flash_peppy { } {
+ flash_lm4 ../../../build/peppy/ec.bin 0
+}
+
proc unprotect_link { } {
reset halt
flash erase_sector 0 254 255