from msp432p4.c:364
static const struct command_registration msp432p4_exec_command_handlers[] = {
{
.name = "mass_erase",
.handler = msp432p4_handle_mass_erase_command,
.mode = COMMAND_EXEC,
.help = "Erase entire flash device.",
},
{
.name = "init",
.handler = msp432p4_handle_init_command,
.mode = COMMAND_EXEC,
.help = "Init flash for operations.",
},
{
.name = "erase_sector",
.handler = msp432p4_handle_erase_sector,
.mode = COMMAND_EXEC,
.help = "Erase a single sector from flash.",
},
COMMAND_REGISTRATION_DONE
};