Commit e146a28a authored by Guillaume Revaillot's avatar Guillaume Revaillot
Browse files

st-flash: add sanity check to option flash.

current opt parse code can make bad cmdline parameter attempt to flash bad
flash option.

ie: calling st-flash write --area=option a_file.bin

will make parser attempt to translate "a_file.bon" to an uint32 and will return 0..,
parent 72cfd5ee
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