Skip to content

Commit

Permalink
Match Panda DFU entry fix in "make recover" process (#509)
Browse files Browse the repository at this point in the history
* Match DFU entry fix from f07a6ee in "make recover" process

* Why use many code when few code do trick
  • Loading branch information
jyoung8607 authored Apr 16, 2020
1 parent 0336f62 commit 4c7755c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c7755c

Please sign in to comment.