mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-02 11:58:32 +00:00
add load to Makefile
This commit is contained in:
parent
ee67b0bab7
commit
4a9b60a0f3
4
Makefile
4
Makefile
@ -21,3 +21,7 @@ openocd: ## start openocd which connects to the device
|
|||||||
|
|
||||||
gdb: ## start remote gdb session which connects to the openocd
|
gdb: ## start remote gdb session which connects to the openocd
|
||||||
gdb $(STMHAL_BUILD_DIR)/firmware.elf -ex 'target remote localhost:3333'
|
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
4
emu.sh
@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd `dirname $0`/src
|
cd `dirname $0`/src
|
||||||
|
../vendor/micropython/unix/micropython -m main
|
||||||
../vendor/micropython/unix/micropython main.py
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
from layout import Layout
|
from layout import Layout
|
||||||
|
|
||||||
Layout.show_send('1BitkeyP2nDd5oa64x7AjvBbbwST54W5Zmx2', 110.126967)
|
Layout.show_send('1BitkeyP2nDd5oa64x7AjvBbbwST54W5Zmx2', 110.126967)
|
||||||
|
|
||||||
while True:
|
|
||||||
pass
|
|
||||||
|
Loading…
Reference in New Issue
Block a user