Skip to content

Commit

Permalink
Rename flash targets for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Dec 4, 2023
1 parent 688c4e1 commit 79bf5f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ APOLLO=environment/bin/apollo

all: analyzer firmware packetry

.PHONY: all clean analyzer firmware update-firmware update-apollo update-analyzer update-packetry
.PHONY: all clean analyzer firmware update-firmware update-packetry flash-apollo flash-analyzer

update-firmware:
$(APOLLO_VARS) make -C dependencies/apollo/firmware get-deps
$(APOLLO_VARS) make -C dependencies/apollo/firmware

update-apollo: firmware.bin
flash-apollo: firmware.bin
dfu-util -d 1d50:615c --detach
sleep 1
dfu-util -d 1d50:615c --download firmware.bin

update-analyzer: analyzer.bit
flash-analyzer: analyzer.bit
$(APOLLO) flash-erase
$(APOLLO) flash-program analyzer.bit

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ To set up the environment and build everything:

To update Apollo on an attached Cynthion:

`make update-apollo`
`make flash-apollo`

To update analyzer gateware on an attached Cynthion:

`make update-analyzer`
`make flash-analyzer`

To run Packetry:

Expand Down

0 comments on commit 79bf5f3

Please sign in to comment.