Rev 422 | Blame | Last modification | View Log | SVN | RSS feed
## Node specific configuration file# This configuration sets up a NodeEssential, v2 with ID 2. The AVR is using internal clock source, 8MHz# Rename this file to config.inc and then modify the params belowHW_NAME=NodeEssentialHW_VERSION=2# NODE_ID should be allocated from a database and not specified here (not done yet though)# This number should be unique on your networkNODE_ID=0x02# F_CPU is the clock frequency of your microcontroller, check fuses below for external/internal clock sourceF_CPU=8000000UL#---MEGA8---#MCU=atmega8#HIGHFUSE=0xd4#LOWFUSE=0x24#BOOT_START=0x1e00#---MEGA88---MCU=atmega88HIGHFUSE=0xdcLOWFUSE=0xe2EXTFUSE=0x04BOOT_START=0x1E00#---mega168---#MCU=atmega168#HIGHFUSE=0xdc#LOWFUSE=0xe2#EXTFUSE=0x02#BOOT_START=0x3C00# CAN configurationCAN_CONTROLLER=MCP2515MCP_CLOCK_FREQ_MHZ=20MCP_CAN_BITRATE_KBPS=250#Some usual settings of fuses#LOWFUSE for mega88 and mega168#0xe7 #CKDIV8=1, external crystal#0xe0 #CKDIV8=1, external clock (used if mcu is clocked from can-controller, F_CPU should be 16MHz or 20MHz)#0xe2 #CKDIV8=1, internal RC (internal AVR-clock, F_CPU should be 8MHz)#LOWFUSE for mega8#0x24 #BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz#0x20 #BODLEVEL = 4.0V, BODEN=enabled, external clock