]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/Makefile
Tag for Version 3.2
[avrcpm.git] / avr / Makefile
index 7c0328fee51dc981597773b2c3a53e240afc7a0f..38c5dd620562d0a83526da40e6104087fa04a689 100644 (file)
@@ -6,14 +6,16 @@
 #Defining options here will override the defaults from the config file.
 
 #MCU = atmega88
-MCU = atmega328P
+MCU = atmega328p
 #F_CPU = 20000000
 #DRAM_8BIT = 0
 #BAUD = 57600
 #BAUD = 115200
-#I2C = 0
+#I2C_SUPPORT = 0
+ADC_SUPPORT = 0
 #EM_Z80        = 0
 #FAT16_SUPPORT = 0
+#CPMDSK_SUPPORT = 0
 #MMCBOOTLOADER = 0
 
 
@@ -51,8 +53,11 @@ endif
 ifdef BAUD
   CDEFS += -DBAUD=$(BAUD)
 endif
-ifdef I2C
-  CDEFS += -DI2C=$(I2C)
+ifdef I2C_SUPPORT
+  CDEFS += -DI2C_SUPPORT=$(I2C_SUPPORT)
+endif
+ifdef ADC_SUPPORT
+  CDEFS += -DADC_SUPPORT=$(ADC_SUPPORT)
 endif
 ifdef EM_Z80
   CDEFS += -DEM_Z80=$(EM_Z80)
@@ -60,6 +65,9 @@ endif
 ifdef FAT16_SUPPORT
   CDEFS += -DFAT16_SUPPORT=$(FAT16_SUPPORT)
 endif
+ifdef CPMDSK_SUPPORT
+  CDEFS += -DCPMDSK_SUPPORT=$(CPMDSK_SUPPORT)
+endif
 ifdef MMCBOOTLOADER
   CDEFS += -DMMCBOOTLOADER=$(MMCBOOTLOADER)
 endif