Subversion Repositories HomeAutomation

Rev

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

Rev 553 Rev 554
Line 1... Line 1...
1
## Node specific configuration file
1
## Node specific configuration file for bios
2
# This configuration sets up a NodeEssential, v2 with ID 2. The AVR is using internal clock source, 8MHz
-
 
3
# Rename this file to config.inc and then modify the params below
-
 
4
 
2
 
5
HW_NAME=NodeEssential
3
HW_NAME=NodeEssential
6
HW_VERSION=2
4
HW_VERSION=2
7
 
5
 
8
# NODE_ID should be allocated from a database and not specified here (not done yet though)
-
 
9
# This number should be unique on your network
6
# This number should be unique on your network
10
NODE_ID=0x02
7
NODE_ID=0x02
11
# F_CPU is the clock frequency of your microcontroller, check fuses below for external/internal clock source
8
# F_CPU is the clock frequency of your microcontroller, check fuses below for external/internal clock source
12
F_CPU=8000000UL
9
F_CPU=8000000UL
13
 
10
 
Line 16... Line 13...
16
#HIGHFUSE=0xd4
13
#HIGHFUSE=0xd4
17
#LOWFUSE=0x24
14
#LOWFUSE=0x24
18
#BOOT_START=0x1e00
15
#BOOT_START=0x1e00
19
 
16
 
20
#---MEGA88---
17
#---MEGA88---
21
MCU=atmega88
18
#MCU=atmega88
22
HIGHFUSE=0xdc
19
#HIGHFUSE=0xdc
23
LOWFUSE=0xe2
20
#LOWFUSE=0xe2
24
EXTFUSE=0x04
21
#EXTFUSE=0x04
25
BOOT_START=0x1E00
22
#BOOT_START=0x1e00
26
 
23
 
27
#---mega168---
24
#---MEGA168---
28
#MCU=atmega168
25
#MCU=atmega168
29
#HIGHFUSE=0xdc
26
#HIGHFUSE=0xdc
30
#LOWFUSE=0xe2
27
#LOWFUSE=0xe2
31
#EXTFUSE=0x02
28
#EXTFUSE=0x02
32
#BOOT_START=0x3C00
29
#BOOT_START=0x3c00
33
 
30
 
34
# CAN configuration
31
# CAN configuration
35
CAN_CONTROLLER=MCP2515
32
CAN_CONTROLLER=MCP2515
36
MCP_CLOCK_FREQ_MHZ=20
33
MCP_CLOCK_FREQ_MHZ=20
37
MCP_CAN_BITRATE_KBPS=250
34
MCP_CAN_BITRATE_KBPS=250
38
 
35
 
39
 
36
 
40
#Some usual settings of fuses
37
#Some common settings of fuses
41
#LOWFUSE for mega88	and mega168	
38
#LOWFUSE for mega88 and mega168	
42
#0xe7		#CKDIV8=1, external crystal
39
#0xe7		#CKDIV8=1, external crystal
43
#0xe0		#CKDIV8=1, external clock   (used if mcu is clocked from can-controller, F_CPU should be 16MHz or 20MHz)
40
#0xe0		#CKDIV8=1, external clock   (used if mcu is clocked from can-controller, F_CPU should be 16MHz or 20MHz)
44
#0xe2		#CKDIV8=1, internal RC      (internal AVR-clock, F_CPU should be 8MHz)
41
#0xe2		#CKDIV8=1, internal RC      (internal AVR-clock, F_CPU should be 8MHz)
45
#LOWFUSE for mega8
42
#LOWFUSE for mega8