1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 16:00:57 +00:00

add load to Makefile

This commit is contained in:
Pavol Rusnak 2016-03-31 16:48:57 +02:00
parent ee67b0bab7
commit 4a9b60a0f3
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 5 additions and 6 deletions

View File

@ -21,3 +21,7 @@ openocd: ## start openocd which connects to the device
gdb: ## start remote gdb session which connects to the openocd
gdb $(STMHAL_BUILD_DIR)/firmware.elf -ex 'target remote localhost:3333'
load: ## load contents of src/ into mass storage of trezor
rm -rf /run/media/${USER}/PYBFLASH/*
cp -a src/* /run/media/${USER}/PYBFLASH/

4
emu.sh
View File

@ -1,5 +1,3 @@
#!/bin/bash
cd `dirname $0`/src
../vendor/micropython/unix/micropython main.py
../vendor/micropython/unix/micropython -m main

View File

@ -1,6 +1,3 @@
from layout import Layout
Layout.show_send('1BitkeyP2nDd5oa64x7AjvBbbwST54W5Zmx2', 110.126967)
while True:
pass