add SRST=1 option to Makefile to assert srst before attach
This commit is contained in:
Родитель
5a6ab15ef3
Коммит
7ea9e83d7d
2
build.mk
2
build.mk
|
@ -216,7 +216,7 @@ ifeq ($(BMP),)
|
|||
echo "target extended-remote | $(OPENOCD) -f $(SCRIPTS)/gdbdebug.cfg" >> built/debug.gdb
|
||||
else
|
||||
echo "target extended-remote $(BMP_PORT)" >> built/debug.gdb
|
||||
ifneq ($(HARD_ERASE),)
|
||||
ifneq ($(HARD_ERASE)$(SRST),)
|
||||
echo "monitor connect_srst enable" >> built/debug.gdb
|
||||
else
|
||||
echo "monitor connect_srst disable" >> built/debug.gdb
|
||||
|
|
Загрузка…
Ссылка в новой задаче