Commit 747a607a authored by Spencer Oliver's avatar Spencer Oliver
Browse files

STM32x: issue warning when unlocking device (bug #16)



Issue warning to user when unlocking or writing the option bytes.
The new settings will not take effect until a target reset.

Signed-off-by: default avatarSpencer Oliver <ntfreak@users.sourceforge.net>
parent d4d4b11a
......@@ -978,7 +978,9 @@ COMMAND_HANDLER(stm32x_handle_unlock_command)
return ERROR_OK;
}
command_print(CMD_CTX, "stm32x unlocked");
command_print(CMD_CTX, "stm32x unlocked.\n"
"INFO: a reset or power cycle is required "
"for the new settings to take effect.");
return ERROR_OK;
}
......@@ -1114,7 +1116,9 @@ COMMAND_HANDLER(stm32x_handle_options_write_command)
return ERROR_OK;
}
command_print(CMD_CTX, "stm32x write options complete");
command_print(CMD_CTX, "stm32x write options complete.\n"
"INFO: a reset or power cycle is required "
"for the new settings to take effect.");
return ERROR_OK;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment