X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fattiny%2FMakefile-attiny.defs;fp=src%2Fattiny%2FMakefile-attiny.defs;h=8949ba4505775f557495ff57df72e729200b36b9;hb=d607cbee5c9b406ef0f4e522c12e56993632cf00;hp=0000000000000000000000000000000000000000;hpb=260dd06107c8f8f5c7e606a283d388cb3ba46465;p=fw%2Faltos 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