|
@@ -0,0 +1,234 @@
|
|
|
+#-------------------------------
|
|
|
+# ATtiny 1634, Base instructions
|
|
|
+#-------------------------------
|
|
|
+attiny1634: TARGET = attiny1634
|
|
|
+attiny1634: MCU_TARGET = attiny1634
|
|
|
+attiny1634: LED_CMD ?= -DLED=C0
|
|
|
+attiny1634: CFLAGS += $(COMMON_OPTIONS) -DVIRTUAL_BOOT_PARTITION -DFOURPAGEERASE $(UART_CMD)
|
|
|
+attiny1634: AVR_FREQ ?= 8000000L
|
|
|
+attiny1634: LDSECTIONS = -Wl,--section-start=.text=0x3d80 -Wl,--section-start=.version=0x3ffe
|
|
|
+attiny1634: $(PROGRAM)_attiny1634.hex
|
|
|
+attiny1634: $(PROGRAM)_attiny1634.lst
|
|
|
+
|
|
|
+
|
|
|
+#-----------------------
|
|
|
+# ATtiny 1634, UART 0
|
|
|
+#-----------------------
|
|
|
+attiny1634at12:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=12000000L
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at16:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=16000000L
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at8:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=8000000L BAUD_RATE=57600
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at8_5v:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=8200000L BAUD_RATE=57600
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at737:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=7372800L BAUD_RATE=57600
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at921:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=9216000L BAUD_RATE=57600
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at110:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=11059200L
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at147:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=14745600L
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#-----------------------
|
|
|
+# ATtiny 1634, UART 1
|
|
|
+#-----------------------
|
|
|
+
|
|
|
+attiny1634at12ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=12000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at16ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=16000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at8ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=8000000L BAUD_RATE=57600 UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at8_5vser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=8200000L BAUD_RATE=57600 UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at737ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=7372800L BAUD_RATE=57600 UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at921ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=9216000L BAUD_RATE=57600 UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at110ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=11059200L UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny1634at147ser1:
|
|
|
+ "$(MAKE)" attiny1634 AVR_FREQ=14745600L UART=1
|
|
|
+ mv $(PROGRAM)_attiny1634.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny1634.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#--------------------------------
|
|
|
+# ATtiny 841, base instructions
|
|
|
+#-------------------------------
|
|
|
+
|
|
|
+attiny841: TARGET = attiny841
|
|
|
+attiny841: MCU_TARGET = attiny841
|
|
|
+attiny841: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION' '-DFOURPAGEERASE' $(UART_CMD)
|
|
|
+attiny841: AVR_FREQ ?= 8000000L
|
|
|
+attiny841: LDSECTIONS = -Wl,--section-start=.text=0x1d80 -Wl,--section-start=.version=0x1ffe
|
|
|
+attiny841: $(PROGRAM)_attiny841.hex
|
|
|
+attiny841: $(PROGRAM)_attiny841.lst
|
|
|
+
|
|
|
+#-----------------------
|
|
|
+# ATtiny 841, UART 0
|
|
|
+#-----------------------
|
|
|
+attiny841at184:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=18432000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at147:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=14745600L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at110:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=11059200L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at921:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=9216000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at737:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=7372800L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at20:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=20000000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at16:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=16000000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at12:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=12000000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at8:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=8000000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at8_5v:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=8200000L
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#-----------------------
|
|
|
+# ATtiny 841, UART 0
|
|
|
+#-----------------------
|
|
|
+attiny841at184ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=18432000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at147ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=14745600L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at110ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=11059200L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at921ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=9216000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at737ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=7372800L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at20ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=20000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at16ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=16000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at12ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=12000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at8ser1:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=8000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at20noLED:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=20000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at16noLED:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=16000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|
|
|
+attiny841at8noLED:
|
|
|
+ $(MAKE) attiny841 AVR_FREQ=8000000L UART=1
|
|
|
+ mv $(PROGRAM)_attiny841.hex $(PROGRAM)_$@.hex
|
|
|
+ mv $(PROGRAM)_attiny841.lst $(PROGRAM)_$@.lst
|
|
|
+
|