Skip to content

Commit 4c7755c

Browse files
authoredApr 16, 2020
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
1 parent 0336f62 commit 4c7755c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎board/build.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bin: obj/$(PROJ_NAME).bin
4242

4343
# this flashes everything
4444
recover: obj/bootstub.$(PROJ_NAME).bin obj/$(PROJ_NAME).bin
45-
-PYTHONPATH=../ python3 -c "from python import Panda; Panda().reset(enter_bootloader=True)"
45+
-PYTHONPATH=../ python3 -c "from python import Panda; Panda().reset(enter_bootstub=True); Panda().reset(enter_bootloader=True)"
4646
sleep 1.0
4747
$(DFU_UTIL) -d 0483:df11 -a 0 -s 0x08004000 -D obj/$(PROJ_NAME).bin
4848
$(DFU_UTIL) -d 0483:df11 -a 0 -s 0x08000000:leave -D obj/bootstub.$(PROJ_NAME).bin

0 commit comments

Comments
 (0)