Subversion Repositories HomeAutomation

Rev

Rev 368 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 368 Rev 370
1
## Node specific configuration file
1
## Node specific configuration file
-
 
2
#This configuration sets up a NodeEssential, v2 with ID 2. The AVR is using external clock source, 20MHz (taken from MCP2515, using it's clock output. 
2
 
3
 
3
HW_NAME=NodeEssential
4
HW_NAME=NodeEssential
4
HW_VERSION=2
5
HW_VERSION=2
5
 
6
 
6
#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
7
NODE_ID=2
8
NODE_ID=2
8
F_CPU=20000000UL
9
F_CPU=20000000UL
9
 
10
 
10
#MCU=atmega8
11
#MCU=atmega8
11
#HIGHFUSE=0xd4
12
#HIGHFUSE=0xd4
12
#LOWFUSE=0x24
13
#LOWFUSE=0x24
13
#BOOT_START=0x1e00
14
#BOOT_START=0x1e00
14
 
15
 
15
MCU=atmega88
16
MCU=atmega88
16
HIGHFUSE=0xdc
17
HIGHFUSE=0xdc
17
LOWFUSE=0xe0
18
LOWFUSE=0xe0
18
EXTFUSE=0x04
19
EXTFUSE=0x04
19
BOOT_START=0x1e00
20
BOOT_START=0x1e00
20
 
21
 
21
# CAN configuration
22
# CAN configuration
22
CAN_CONTROLLER=MCP2515
23
CAN_CONTROLLER=MCP2515
23
MCP_CLOCK_FREQ_MHZ=20
24
MCP_CLOCK_FREQ_MHZ=20
24
MCP_CAN_BITRATE_KBPS=250
25
MCP_CAN_BITRATE_KBPS=250
25
 
-
 
26
 
26
 
27
#Some usual settings of fuses
27
#Some usual settings of fuses
28
#LOWFUSE for mega88		
28
#LOWFUSE for mega88		
29
#0xe7		#CKDIV8=1, external crystal
29
#0xe7		#CKDIV8=1, external crystal
30
#0xe0		#CKDIV8=1, external clock
30
#0xe0		#CKDIV8=1, external clock
31
#0xe2		#CKDIV8=1, internal RC
31
#0xe2		#CKDIV8=1, internal RC
32
#LOWFUSE for mega8
32
#LOWFUSE for mega8
33
#0x24		#BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz
33
#0x24		#BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz
34
#0x20		#BODLEVEL = 4.0V, BODEN=enabled, external clock
34
#0x20		#BODLEVEL = 4.0V, BODEN=enabled, external clock