ARC.mk


MCU	= atmega16
BOOT_START = 0x3C00
# .5kw, 12mhz external crystal oscillator, 4.0 BOD, JTAG disabled, preserve EEPROM
FUSE_L	= -U lfuse:w:0x2E:m
FUSE_H	= -U hfuse:w:0xD2:m
FUSE_E	=
LOCK	= -U  lock:w:0xCF:m
#define Boot override & indicator LED ports.
DEFS	= -DLED_DDR=DDRB	\
	  -DLED=PB4		\
	  -DLED_PORT=PORTB	\
	  -DSW_DDR=DDRB		\
	  -DSW_PORT=PORTB	\
	  -DSW_PIN=PINB		\
	  -DSW=PB6		\
	  -DF_CPU=12000000	\
	  -DBAUD_RATE=115200

Back