mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
add gdb_bootloader to makefile
This commit is contained in:
parent
6e6c2ed6b7
commit
f09ce087c3
3
Makefile
3
Makefile
@ -70,6 +70,9 @@ 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'
|
||||||
|
|
||||||
|
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
|
load: ## load contents of src into mass storage of trezor
|
||||||
rm -rf /run/media/${USER}/PYBFLASH/*
|
rm -rf /run/media/${USER}/PYBFLASH/*
|
||||||
cp -a src/apps /run/media/${USER}/PYBFLASH/
|
cp -a src/apps /run/media/${USER}/PYBFLASH/
|
||||||
|
Loading…
Reference in New Issue
Block a user