From 4c7755c4718e0775f40a5671049448eefc2f3805 Mon Sep 17 00:00:00 2001 From: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Thu, 16 Apr 2020 15:51:16 -0700 Subject: [PATCH] Match Panda DFU entry fix in "make recover" process (#509) * Match DFU entry fix from f07a6ee in "make recover" process * Why use many code when few code do trick --- board/build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/build.mk b/board/build.mk index 21daf53ad027102..5e205f0287cf8d1 100644 --- a/board/build.mk +++ b/board/build.mk @@ -42,7 +42,7 @@ bin: obj/$(PROJ_NAME).bin # this flashes everything recover: obj/bootstub.$(PROJ_NAME).bin obj/$(PROJ_NAME).bin - -PYTHONPATH=../ python3 -c "from python import Panda; Panda().reset(enter_bootloader=True)" + -PYTHONPATH=../ python3 -c "from python import Panda; Panda().reset(enter_bootstub=True); Panda().reset(enter_bootloader=True)" sleep 1.0 $(DFU_UTIL) -d 0483:df11 -a 0 -s 0x08004000 -D obj/$(PROJ_NAME).bin $(DFU_UTIL) -d 0483:df11 -a 0 -s 0x08000000:leave -D obj/bootstub.$(PROJ_NAME).bin