Subversion Repositories HomeAutomation

Rev

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

Rev 563 Rev 569
Line 1... Line 1...
1
# System specific configuration file
1
# System specific configuration file
2
# Rename this file to system.inc and then modify the params below, 
2
# Rename this file to system.inc and then modify the params below, 
3
# make sure the last row is uncommented first time you program a node with bios
3
# make sure the second ULFLAGS is uncommented first time you program a node with bios
4
 
4
 
5
 
5
 
6
# Define the command used to upload BIOS to the node
6
# Define the command used to upload BIOS to the node
7
# It will be executed as $(UPLOAD) $(ULFLAGS).
7
# It will be executed as $(UPLOAD) $(ULFLAGS).
8
# $(MCU) is the AVR to use and the file to upload is $(BIOSDIR)/$(BIOSTARGET).hex
8
# $(MCU) is the AVR to use and the file to upload is $(BIOSDIR)/$(BIOSTARGET).hex
Line 19... Line 19...
19
endif
19
endif
20
ifdef LOWFUSE
20
ifdef LOWFUSE
21
AVRDUDE_WRITE_FUSEBITS += -U lfuse:w:$(LOWFUSE):m
21
AVRDUDE_WRITE_FUSEBITS += -U lfuse:w:$(LOWFUSE):m
22
endif
22
endif
23
 
23
 
24
#comment this line for not programming fusebits
24
#this line should not be commented when you program a node with bios
-
 
25
#when this line is uncommented the avr will be programmed with fuses automatically (fuses is defined in bios.inc)
25
ULFLAGS      += $(AVRDUDE_WRITE_FUSEBITS)
26
ULFLAGS      += $(AVRDUDE_WRITE_FUSEBITS)
26
 
27
 
27
#Commands used to upload a new version of bios over can, see makefile for more details
28
#Commands used to upload a new version of bios over can, see makefile for more details
28
CANUPLOAD         = mono ../../../../PcSoftware/canDude/canDude.exe
29
CANUPLOAD         = mono ../../../../PcSoftware/canDude/canDude.exe
29
CANULFLAGS        = -h localhost -p 1200
30
CANULFLAGS        = -h localhost -p 1200