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 | |
| 416 | arune | 6 | # This number should be unique on your network |
| 423 | eqlazer | 7 | NODE_ID=0x02 |
| 416 | arune | 8 | # F_CPU is the clock frequency of your microcontroller, check fuses below for external/internal clock source |
| 9 | F_CPU=8000000UL |
||
| 361 | andfri | 10 | |
| 373 | arune | 11 | #---MEGA8--- |
| 368 | arune | 12 | #MCU=atmega8 |
| 13 | #HIGHFUSE=0xd4 |
||
| 14 | #LOWFUSE=0x24 |
||
| 15 | #BOOT_START=0x1e00 |
||
| 16 | |||
| 373 | arune | 17 | #---MEGA88--- |
| 554 | andfri | 18 | #MCU=atmega88 |
| 19 | #HIGHFUSE=0xdc |
||
| 20 | #LOWFUSE=0xe2 |
||
| 21 | #EXTFUSE=0x04 |
||
| 22 | #BOOT_START=0x1e00 |
||
| 361 | andfri | 23 | |
| 554 | andfri | 24 | #---MEGA168--- |
| 373 | arune | 25 | #MCU=atmega168 |
| 26 | #HIGHFUSE=0xdc |
||
| 422 | eqlazer | 27 | #LOWFUSE=0xe2 |
| 373 | arune | 28 | #EXTFUSE=0x02 |
| 554 | andfri | 29 | #BOOT_START=0x3c00 |
| 373 | arune | 30 | |
| 361 | andfri | 31 | # CAN configuration |
| 32 | CAN_CONTROLLER=MCP2515 |
||
| 368 | arune | 33 | MCP_CLOCK_FREQ_MHZ=20 |
| 422 | eqlazer | 34 | MCP_CAN_BITRATE_KBPS=250 |
| 368 | arune | 35 | |
| 373 | arune | 36 | |
| 554 | andfri | 37 | #Some common settings of fuses |
| 38 | #LOWFUSE for mega88 and mega168 |
||
| 368 | arune | 39 | #0xe7 #CKDIV8=1, external crystal |
| 416 | arune | 40 | #0xe0 #CKDIV8=1, external clock (used if mcu is clocked from can-controller, F_CPU should be 16MHz or 20MHz) |
| 41 | #0xe2 #CKDIV8=1, internal RC (internal AVR-clock, F_CPU should be 8MHz) |
||
| 368 | arune | 42 | #LOWFUSE for mega8 |
| 43 | #0x24 #BODLEVEL = 4.0V, BODEN=enabled, internal 8MHz |
||
| 373 | arune | 44 | #0x20 #BODLEVEL = 4.0V, BODEN=enabled, external clock |