Subversion Repositories HomeAutomation

Rev

Rev 585 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 585 Rev 628
Line 33... Line 33...
33
#EXTFUSE=0x02
33
#EXTFUSE=0x02
34
#BOOT_START=0x3c00
34
#BOOT_START=0x3c00
35
 
35
 
36
# CAN configuration
36
# CAN configuration
37
CAN_CONTROLLER=MCP2515
37
CAN_CONTROLLER=MCP2515
38
MCP_CLOCK_FREQ_MHZ=20
38
MCP_CS_PORT=PORTB
-
 
39
MCP_CS_DDR=DDRB
-
 
40
MCP_CS_BIT=PB2
39
MCP_CAN_BITRATE_KBPS=250
41
MCP_CAN_BITRATE_KBPS=250
-
 
42
MCP_CLOCK_FREQ_MHZ=20
-
 
43
MCP_CLOCK_PRESC=1
-
 
44
 
-
 
45
# For 				MCP_CLOCK_FREQ_MHZ=20	MCP_CLOCK_FREQ_MHZ=16
-
 
46
# MCP_CLOCK_PRESC		external clock			external clock
-
 
47
# 		1 					20MHz					16MHz 
-
 
48
# 		2					10MHz					8MHz
-
 
49
# 		4					5MHz					4MHz
-
 
50
# 		8					2.5MHz					2MHz
-
 
51
# Make sure to change F_CPU accordingly if using external clock on AVR (LOWFUSE)
40
 
52
 
41
 
53
 
42
#Some common settings of fuses
54
#Some common settings of fuses
43
#LOWFUSE for mega88 and mega168	
55
#LOWFUSE for mega88 and mega168	
44
#0xe7		#CKDIV8=1, external crystal
56
#0xe7		#CKDIV8=1, external crystal