Subversion Repositories HomeAutomation

Rev

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

Rev 370 Rev 373
Line 6... Line 6...
6
 
6
 
7
#NODE_ID should be allocated from a database and not specified here
7
#NODE_ID should be allocated from a database and not specified here
8
NODE_ID=2
8
NODE_ID=2
9
F_CPU=20000000UL
9
F_CPU=20000000UL
10
 
10
 
-
 
11
#---MEGA8---
11
#MCU=atmega8
12
#MCU=atmega8
12
#HIGHFUSE=0xd4
13
#HIGHFUSE=0xd4
13
#LOWFUSE=0x24
14
#LOWFUSE=0x24
14
#BOOT_START=0x1e00
15
#BOOT_START=0x1e00
15
 
16
 
-
 
17
#---MEGA88---
16
MCU=atmega88
18
MCU=atmega88
17
HIGHFUSE=0xdc
19
HIGHFUSE=0xdc
18
LOWFUSE=0xe0
20
LOWFUSE=0xe0
19
EXTFUSE=0x04
21
EXTFUSE=0x04
20
BOOT_START=0x1e00
22
BOOT_START=0x1E00
-
 
23
 
-
 
24
#---mega168---
-
 
25
#MCU=atmega168
-
 
26
#HIGHFUSE=0xdc
-
 
27
#LOWFUSE=0xe0
-
 
28
#EXTFUSE=0x02
-
 
29
#BOOT_START=0x3B40
21
 
30
 
22
# CAN configuration
31
# CAN configuration
23
CAN_CONTROLLER=MCP2515
32
CAN_CONTROLLER=MCP2515
24
MCP_CLOCK_FREQ_MHZ=20
33
MCP_CLOCK_FREQ_MHZ=20
25
MCP_CAN_BITRATE_KBPS=250
34
MCP_CAN_BITRATE_KBPS=1000
-
 
35
 
26
 
36
 
27
#Some usual settings of fuses
37
#Some usual settings of fuses
28
#LOWFUSE for mega88		
38
#LOWFUSE for mega88	and mega168	
29
#0xe7		#CKDIV8=1, external crystal
39
#0xe7		#CKDIV8=1, external crystal
30
#0xe0		#CKDIV8=1, external clock
40
#0xe0		#CKDIV8=1, external clock
31
#0xe2		#CKDIV8=1, internal RC
41
#0xe2		#CKDIV8=1, internal RC
32
#LOWFUSE for mega8
42
#LOWFUSE for mega8
33
#0x24		#BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz
43
#0x24		#BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz