1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-31 10:30:58 +00:00

add gdb_bootloader to makefile

This commit is contained in:
Pavol Rusnak 2016-09-29 13:22:31 +02:00
parent 6e6c2ed6b7
commit f09ce087c3
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -70,6 +70,9 @@ 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'
gdb_bootloader: ## start remote gdb session which connects to the openocd
gdb $(STMHAL_BUILD_DIR)/bootloader.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/apps /run/media/${USER}/PYBFLASH/