Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions board/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ POSTCOMPILE = @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d && touch $@
# this no longer pushes the bootstub
flash: obj/$(PROJ_NAME).bin
PYTHONPATH=../ python3 -c "from python import Panda; Panda().flash('obj/$(PROJ_NAME).bin')"
PYTHONPATH=../ python3 -c "from python import Panda; print('flash succeeded') if Panda().get_signature() == Panda().get_signature_from_firmware('obj/$(PROJ_NAME).bin') else print('flash failed')"

ota: obj/$(PROJ_NAME).bin
curl http://192.168.0.10/stupdate --upload-file $<
Expand Down