from psoc6.c:1029
static const struct command_registration psoc6_exec_command_handlers[] = {
{
.name = "mass_erase",
.handler = psoc6_handle_mass_erase_command,
.mode = COMMAND_EXEC,
.usage = "bank",
.help = "Erases entire Main Flash",
},
{
.name = "reset_halt",
.handler = psoc6_handle_reset_halt,
.mode = COMMAND_EXEC,
.usage = "",
.help = "Tries to simulate broken Vector Catch",
},
{
.name = "reset_to_entry",
.handler = psoc6_handle_reset_to_entry,
.mode = COMMAND_EXEC,
.usage = "entry point address",
.help = "Resets the entire chip and waits for the current core to stop at the specified adderss",
},
COMMAND_REGISTRATION_DONE
};