Skip to content
Snippets Groups Projects
Commit 08b05dab authored by q3k's avatar q3k
Browse files

tools/flash-full.sh: init

parent 21dd1425
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
set -e -x
# This script performs a full erase & flash of all the firmware components,
# including the recovery mode.
if [ ! -f sdkconfig.defaults ] || [ ! -f recovery/sdkconfig.defaults ]; then
echo >/dev/stderr "Run this script for the root of the repository (ie. tools/flash-full.sh)."
exit 1
fi
idf.py build erase_flash
( cd recovery ; idf.py build flash )
idf.py app-flash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment