Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
554 andfri 1
## Node specific configuration file for bios
361 andfri 2
 
3
HW_NAME=NodeEssential
368 arune 4
HW_VERSION=2
361 andfri 5
 
585 arune 6
# Uncomment to make node autostart after X time-msgs has been sent to node
7
# Do not choose 0 as X, also 1 is a bad choice
8
# This should not be used on nodes with application under developement
9
#AUTOSTART=5
10
 
416 arune 11
# This number should be unique on your network
423 eqlazer 12
NODE_ID=0x02
416 arune 13
# F_CPU is the clock frequency of your microcontroller, check fuses below for external/internal clock source
14
F_CPU=8000000UL
361 andfri 15
 
373 arune 16
#---MEGA8---
368 arune 17
#MCU=atmega8
18
#HIGHFUSE=0xd4
19
#LOWFUSE=0x24
20
#BOOT_START=0x1e00
21
 
373 arune 22
#---MEGA88---
554 andfri 23
#MCU=atmega88
24
#HIGHFUSE=0xdc
25
#LOWFUSE=0xe2
26
#EXTFUSE=0x04
27
#BOOT_START=0x1e00
361 andfri 28
 
554 andfri 29
#---MEGA168---
373 arune 30
#MCU=atmega168
31
#HIGHFUSE=0xdc
422 eqlazer 32
#LOWFUSE=0xe2
373 arune 33
#EXTFUSE=0x02
554 andfri 34
#BOOT_START=0x3c00
373 arune 35
 
361 andfri 36
# CAN configuration
37
CAN_CONTROLLER=MCP2515
368 arune 38
MCP_CLOCK_FREQ_MHZ=20
422 eqlazer 39
MCP_CAN_BITRATE_KBPS=250
368 arune 40
 
373 arune 41
 
554 andfri 42
#Some common settings of fuses
43
#LOWFUSE for mega88 and mega168	
368 arune 44
#0xe7		#CKDIV8=1, external crystal
416 arune 45
#0xe0		#CKDIV8=1, external clock   (used if mcu is clocked from can-controller, F_CPU should be 16MHz or 20MHz)
46
#0xe2		#CKDIV8=1, internal RC      (internal AVR-clock, F_CPU should be 8MHz)
368 arune 47
#LOWFUSE for mega8
48
#0x24		#BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz
373 arune 49
#0x20		#BODLEVEL = 4.0V, BODEN=enabled, external clock