Revision 197
Removed fuse writing since it seems to be placing the fuses out of memory and causing the programmer to fail
trunk/bootloader/bootloader.c | ||
---|---|---|
1 | 1 |
#include "bootloader.h" |
2 | 2 |
|
3 | 3 |
// Setup the default fuses |
4 |
// This seems to be broken for now... |
|
4 | 5 |
/* |
5 | 6 |
FUSES = { |
6 | 7 |
.low = (FUSE_SUT0 & FUSE_CKSEL3 & FUSE_CKSEL2 & FUSE_CKSEL0), |
7 | 8 |
.high = (FUSE_EESAVE & FUSE_SPIEN), |
8 |
.extended = (FUSE_SELFPRGEN), |
|
9 |
};*/ |
|
9 |
.extended = (FUSE_SELFPRGEN) |
|
10 |
}; |
|
11 |
*/ |
|
10 | 12 |
|
11 | 13 |
|
12 | 14 |
|
trunk/bootloader/Makefile | ||
---|---|---|
187 | 187 |
# -Map: create map file |
188 | 188 |
# --cref: add cross reference to map file |
189 | 189 |
LDFLAGS = -Wl,--script=linker_script.x,-Map=$(TARGET).map,--cref,--section-start=.text=$(BOOTSTART),--section-start=.jumps=$(JUMPSTART),--undefined=_jumptable,--gc-sections |
190 |
#LDFLAGS = -Wl,-Map=$(TARGET).map,--cref,--section-start=.text=$(BOOTSTART),--section-start=.jumps=$(JUMPSTART),--undefined=_jumptable |
|
191 | 190 |
LDFLAGS += $(EXTMEMOPTS) |
192 | 191 |
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) |
193 | 192 |
|
Also available in: Unified diff