mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 01:18:06 +00:00
Reset by recopying memory file.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
feec958d10
commit
9dbd764c8c
1 changed files with 3 additions and 1 deletions
|
|
@ -37,7 +37,9 @@ gen_and_delete() {
|
|||
test $? -eq 0 && echo -n "." || exit $?
|
||||
}
|
||||
reset() {
|
||||
python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 --silent --no-dev-cert > /dev/null 2>&1
|
||||
#python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 --silent --no-dev-cert > /dev/null 2>&1
|
||||
rm -f memory.flash
|
||||
tar -xf tests/memory.tar.gz
|
||||
test $? -eq 0 || exit $?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue