aboutsummaryrefslogtreecommitdiff
path: root/DarkHorse/Makefile
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-26 02:47:36 -0600
committerSelene ToyKeeper2017-08-26 02:47:36 -0600
commitb534b2c60925a03e51863967c91e38ac13962e8f (patch)
treed86e40bd4277e48fe697cc29f78617f7bc3e8173 /DarkHorse/Makefile
parentForgot to wrap one line for making thermal regulation optional. (diff)
downloadanduril-b534b2c60925a03e51863967c91e38ac13962e8f.tar.gz
anduril-b534b2c60925a03e51863967c91e38ac13962e8f.tar.bz2
anduril-b534b2c60925a03e51863967c91e38ac13962e8f.zip
Removed ancient unfinished version of DarkHorse.
I basically didn't even start on it; just had an idea and then didn't touch it again.
Diffstat (limited to 'DarkHorse/Makefile')
-rw-r--r--DarkHorse/Makefile41
1 files changed, 0 insertions, 41 deletions
diff --git a/DarkHorse/Makefile b/DarkHorse/Makefile
deleted file mode 100644
index a18cf9a..0000000
--- a/DarkHorse/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-PROGRAM = DarkHorse
-MCU = attiny13
-CC = avr-gcc
-OBJCOPY = avr-objcopy
-CFLAGS += -Wall -g -Os -mmcu=$(MCU)
-LDFLAGS +=
-OBJS = $(PROGRAM).o
-# uncomment to remove raw commands from build output
-#Q := @
-
-all: $(PROGRAM).hex
-
-$(PROGRAM).elf: $(PROGRAM).o
- @printf " LD $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
-
-$(PROGRAM).hex: $(PROGRAM).elf
- @printf " OBJCOPY $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(OBJCOPY) -O ihex $< $@
- @printf " SIZE $(subst $(shell pwd)/,,$(@))\n"
- $(Q)avr-size $@
-
-%.o: %.c
- @printf " CC $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(CC) $(CFLAGS) -o $@ -c $<
-
-flash: $(PROGRAM).hex
- @printf " FLASH $(PROGRAM).hex\n"
- $(Q)avrdude -c usbasp -p t13 -V -u -Uflash:w:$(PROGRAM).hex -Ulfuse:w:0x75:m -Uhfuse:w:0xFF:m
-
-flash-example: precompiled.hex
- @printf " FLASH precompiled.hex\n"
- $(Q)avrdude -c usbasp -p t13 -V -u -Uflash:w:precompiled.hex -Ulfuse:w:0x75:m -Uhfuse:w:0xFF:m
-
-clean:
- @printf " CLEAN $(subst $(shell pwd)/,,$(OBJS))\n"
- $(Q)rm -f $(OBJS)
- @printf " CLEAN $(PROGRAM).elf\n"
- $(Q)rm -f *.elf
- @printf " CLEAN $(PROGRAM).hex\n"
- $(Q)rm -f $(PROGRAM).hex
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.