mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-01 13:15:55 +02:00
fw/Makefile: cleanup
Remove references to a reset-secret, removed remote control via programming interface.
This commit is contained in:
parent
cc4b5607c7
commit
3c4855deff
17
fw/Makefile
17
fw/Makefile
@ -57,7 +57,7 @@ endif
|
|||||||
# ----- Rules -----------------------------------------------------------------
|
# ----- Rules -----------------------------------------------------------------
|
||||||
|
|
||||||
.PHONY: all clean nosecrets upload prog version.c
|
.PHONY: all clean nosecrets upload prog version.c
|
||||||
.PHONY: prog-app prog-read on off reset
|
.PHONY: prog-app prog-read
|
||||||
|
|
||||||
all: $(NAME).bin boot.bin
|
all: $(NAME).bin boot.bin
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ clean:
|
|||||||
rm -f version.c version.d version.o
|
rm -f version.c version.d version.o
|
||||||
|
|
||||||
nosecrets:
|
nosecrets:
|
||||||
rm -f unlock-secret.inc reset-secret.inc image-secret.inc
|
rm -f unlock-secret.inc image-secret.inc
|
||||||
|
|
||||||
# ----- Build version ---------------------------------------------------------
|
# ----- Build version ---------------------------------------------------------
|
||||||
|
|
||||||
@ -129,9 +129,6 @@ SECRET = { dd if=$(RANDOM) iflag=fullblock bs=$(1) count=1 status=noxfer | \
|
|||||||
unlock-secret.inc:
|
unlock-secret.inc:
|
||||||
$(BUILD) $(call SECRET,64) >$@ || { rm -f $@; exit 1; }
|
$(BUILD) $(call SECRET,64) >$@ || { rm -f $@; exit 1; }
|
||||||
|
|
||||||
reset-secret.inc:
|
|
||||||
$(BUILD) $(call SECRET,64) >$@ || { rm -f $@; exit 1; }
|
|
||||||
|
|
||||||
image-secret.inc:
|
image-secret.inc:
|
||||||
$(BUILD) $(call SECRET,128) >$@ || { rm -f $@; exit 1; }
|
$(BUILD) $(call SECRET,128) >$@ || { rm -f $@; exit 1; }
|
||||||
|
|
||||||
@ -184,13 +181,3 @@ prog:
|
|||||||
prog-read:
|
prog-read:
|
||||||
ssh $(HOST) avrdude -F -p $(CHIP) -c nanonote_antorcha \
|
ssh $(HOST) avrdude -F -p $(CHIP) -c nanonote_antorcha \
|
||||||
-U flash:r:mcu.bin:r
|
-U flash:r:mcu.bin:r
|
||||||
|
|
||||||
on:
|
|
||||||
ssh $(HOST) poke 0x10010318 4
|
|
||||||
|
|
||||||
off:
|
|
||||||
ssh $(HOST) poke 0x10010314 4
|
|
||||||
|
|
||||||
reset:
|
|
||||||
ssh $(HOST) poke 0x10010318 2048
|
|
||||||
ssh $(HOST) poke 0x10010314 2048
|
|
||||||
|
Loading…
Reference in New Issue
Block a user