Reset by recopying memory file.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -37,7 +37,9 @@ gen_and_delete() {
|
|||||||
test $? -eq 0 && echo -n "." || exit $?
|
test $? -eq 0 && echo -n "." || exit $?
|
||||||
}
|
}
|
||||||
reset() {
|
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 $?
|
test $? -eq 0 || exit $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user