diff loadtools/flmain.c @ 981:f21798eb13cf

fc-loadtool: implement flash ppb-* commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 05:46:00 +0000
parents 511e2b85c115
children
line wrap: on
line diff
--- a/loadtools/flmain.c	Sat Dec 02 04:31:58 2023 +0000
+++ b/loadtools/flmain.c	Sat Dec 02 05:46:00 2023 +0000
@@ -97,6 +97,9 @@
 extern int flashcmd_erase();
 extern int flashcmd_erase_program_boot();
 extern int flashcmd_lock_state();
+extern int flashcmd_ppb_program();
+extern int flashcmd_ppb_program_all();
+extern int flashcmd_ppb_erase_all();
 extern int flashcmd_progbin_wrap();
 extern int flashcmd_program_m0();
 extern int flashcmd_program_srec();
@@ -125,6 +128,9 @@
 	{"id", flashcmd_id},
 	{"info", flashcmd_info},
 	{"lock-state", flashcmd_lock_state},
+	{"ppb-program", flashcmd_ppb_program},
+	{"ppb-program-all", flashcmd_ppb_program_all},
+	{"ppb-erase-all", flashcmd_ppb_erase_all},
 	{"program-bin", flashcmd_progbin_wrap},
 	{"program-m0", flashcmd_program_m0},
 	{"program-srec", flashcmd_program_srec},