Rev 557 | Rev 559 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 557 | Rev 558 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | # make sure the last row is uncommented first time you program a node with bios |
3 | # make sure the last row 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 $( |
8 | # $(MCU) is the AVR to use and the file to upload is $(BIOSDIR)/$(BIOSTARGET).hex |
| 9 | 9 | ||
| 10 | UPLOAD = avrdude |
10 | UPLOAD = avrdude |
| 11 | ULFLAGS = -p $(MCU) -P usb -c avrisp2 -U flash:w:$( |
11 | ULFLAGS = -p $(MCU) -P usb -c avrisp2 -U flash:w:$(BIOSDIR)/$(BIOSTARGET).hex |
| 12 | 12 | ||
| 13 | AVRDUDE_WRITE_FUSEBITS = -u |
13 | AVRDUDE_WRITE_FUSEBITS = -u |
| 14 | ifdef EXTFUSE |
14 | ifdef EXTFUSE |
| 15 | AVRDUDE_WRITE_FUSEBITS += -U efuse:w:$(EXTFUSE):m |
15 | AVRDUDE_WRITE_FUSEBITS += -U efuse:w:$(EXTFUSE):m |
| 16 | endif |
16 | endif |