summaryrefslogtreecommitdiff
path: root/src/attiny/Makefile-attiny.defs
diff options
context:
space:
mode:
Diffstat (limited to 'src/attiny/Makefile-attiny.defs')
-rw-r--r--src/attiny/Makefile-attiny.defs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/attiny/Makefile-attiny.defs b/src/attiny/Makefile-attiny.defs
new file mode 100644
index 00000000..8949ba45
--- /dev/null
+++ b/src/attiny/Makefile-attiny.defs
@@ -0,0 +1,12 @@
+include $(TOPDIR)/avr/Makefile-avr.defs
+
+vpath % $(TOPDIR)/attiny:$(AO_VPATH)
+
+MCU=attiny85
+DUDECPUTYPE=t85
+#PROGRAMMER=stk500v2 -P usb
+LOADSLOW=-i 32 -B 32
+LOADARG=-p $(DUDECPUTYPE) -c $(PROGRAMMER) -e -U flash:w:
+
+ATTINY_CFLAGS = -mmcu=$(MCU) -mcall-prologues -DATTINY \
+ -I$(TOPDIR)/attiny $(AO_CFLAGS) \ No newline at end of file