Rev 1667 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed
# System specific configuration file# Rename this file to system.inc and then modify the params below# Define the command used to upload BIOS to the node# It will be executed as $(UPLOAD) $(ULFLAGS).# $(MCU) is the AVR device to use and the file to upload is $(BIOSDIR)/$(BIOSTARGET).hex#You may need to change 'avrisp2' below if you have another type of programmer deviceUPLOAD = avrdudeULFLAGS = -p $(MCU) -P usb -c avrisp2 -U flash:w:$(BIOSDIR)/$(BIOSTARGET).hexAVRDUDE_WRITE_FUSEBITS = -uifdef EXTFUSEAVRDUDE_WRITE_FUSEBITS += -U efuse:w:$(EXTFUSE):mendififdef HIGHFUSEAVRDUDE_WRITE_FUSEBITS += -U hfuse:w:$(HIGHFUSE):mendififdef LOWFUSEAVRDUDE_WRITE_FUSEBITS += -U lfuse:w:$(LOWFUSE):mendif#when this line is uncommented the avr will be programmed with fuses automatically (fuses is defined in bios.inc)ULFLAGS += $(AVRDUDE_WRITE_FUSEBITS)#Commands used to upload a new version of bios over can, see makefile for more detailsCANUPLOAD = mono ../../../../PcSoftware/canDude/canDude.exeCANULFLAGS = -h localhost -p 1200SETCONF = perl ../../../../PcSoftware/scripts/setConfig/setConfig.pl#CANUPLOAD = ../../../../PcSoftware/scripts/atomDude.pl#CANULFLAGS = -h localhost -p 1202#SETCONF = perl ../../../../PcSoftware/scripts/setConfig/setAtomConfig.pl##### BUILD BINARIES ######Define the binaries to use on your system, if not in path then add path (example: AWK=/usr/bin/awk)# on BSD/MAC this should be MD5SUM = md5MD5SUM = md5sum# on cygwin (windows) and perhaps other platforms this should be AWK = gawkAWK = awkSHELL = shCC = avr-gccOBJCOPY = avr-objcopyOBJDUMP = avr-objdumpSIZE = avr-sizeNM = avr-nmCOPY = cpRM = rm -fMKDIR = mkdirAR = avr-arUUIDGEN = uuidgenCUT = cutGREP = grepCAT = catECHO = echoPERL = perl