diff options
| author | Keith Packard <keithp@keithp.com> | 2019-09-18 17:10:14 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-09-18 17:10:14 -0700 |
| commit | d607cbee5c9b406ef0f4e522c12e56993632cf00 (patch) | |
| tree | 9f2d664083b83a643eb021491192177b92e7e78a /src/attiny | |
| parent | 260dd06107c8f8f5c7e606a283d388cb3ba46465 (diff) | |
altos: Add missing build files for avr/attiny devices
These were sitting in my src directory but not in git
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/attiny')
| -rw-r--r-- | src/attiny/Makefile-attiny.defs | 12 | ||||
| -rw-r--r-- | src/attiny/Makefile.defs | 1 |
2 files changed, 13 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 diff --git a/src/attiny/Makefile.defs b/src/attiny/Makefile.defs new file mode 100644 index 00000000..a3a6d8a6 --- /dev/null +++ b/src/attiny/Makefile.defs @@ -0,0 +1 @@ +include $(TOPDIR)/attiny/Makefile-attiny.defs |
