Skip to content

Commit

Permalink
Adding Atmel-ICE programmer
Browse files Browse the repository at this point in the history
  • Loading branch information
mar0x committed Jun 23, 2023
1 parent 4fddd40 commit c9abfb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ $(1)-$(2)-upload-flip2:
$(MAKE) -f $(MAKEFILE_PATH) BOARD=$(1) MCU=$(2) upload-flip2


.PHONY: $(1)-upload-ice $(1)-$(2)-upload-ice
$(1)-upload-ice: $(1)-$(2)-upload-ice

$(1)-$(2)-upload-ice:
$(MAKE) -f $(MAKEFILE_PATH) BOARD=$(1) MCU=$(2) upload-ice


.PHONY: $(1)-upload-mk2 $(1)-$(2)-upload-mk2
$(1)-upload-mk2: $(1)-$(2)-upload-mk2

Expand Down
4 changes: 4 additions & 0 deletions firmware/Makefile.avr.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ include asf-3.50.0/common/utils/make/Makefile.avr.in
upload-flip2: $(project).hex
$(AVRDUDE) -c flip2 -D -U application:w:$<:i

.PHONY: upload-ice
upload-ice: $(project).hex
$(AVRDUDE) -c atmelice_pdi -D -U application:w:$<:i

.PHONY: upload-mk2
upload-mk2: $(project).hex
$(AVRDUDE) -c avrispmkII -U application:w:$<:i
Expand Down

0 comments on commit c9abfb4

Please sign in to comment.