1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-18 11:21:11 +00:00
trezor-firmware/flash.sh
2016-09-27 17:20:58 +02:00

9 lines
182 B
Bash
Executable File

#!/bin/bash
set -e
BUILD_DIR=vendor/micropython/stmhal/build-TREZORV2
st-flash write $BUILD_DIR/firmware0.bin 0x8000000
sleep 0.1
st-flash write $BUILD_DIR/firmware1.bin 0x8020000