Subversion Repositories HomeAutomation

Rev

Rev 181 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 181 Rev 223
Line 4... Line 4...
4
OPTIMIZE       = -Os -mcall-prologues
4
OPTIMIZE       = -Os -mcall-prologues
5
BOOT_START     = 0x1800
-
 
6
BIOS_INTERFACE_START = 0x800060
-
 
7
BIOS_INTERFACE_END   = 0x800080
-
 
8
 
5
 
9
DEFS           = -DBIOS_INTERFACE=$(BIOS_INTERFACE_START)
6
DEFS           = 
10
LIBS           =
7
LIBS           =
11
 
8
 
12
# You should not have to change anything below here.
9
# You should not have to change anything below here.
13
 
10
 
14
CC             = avr-gcc
11
CC             = avr-gcc
15
 
12
 
16
# Override is only needed by avr-lib build system.
13
# Override is only needed by avr-lib build system.
17
 
14
 
18
override CFLAGS        = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
15
override CFLAGS        = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
19
#override LDFLAGS       = -Wl,-Map,$(PRG).map,--section-start=.bios_interface=$(BIOS_INTERFACE_START),-Tdata=$(BIOS_INTERFACE_END),-Ttext=$(BOOT_START),--cref
-
 
20
override LDFLAGS       = -Wl,-Map,$(PRG).map,-T$(MCU_TARGET)_bios.ld,--cref
16
override LDFLAGS       = -Wl,-Map,$(PRG).map,-T$(MCU_TARGET)_bios.ld,--cref
21
 
17
 
22
OBJCOPY        = avr-objcopy
18
OBJCOPY        = avr-objcopy
23
OBJDUMP        = avr-objdump
19
OBJDUMP        = avr-objdump
24
SIZE           = avr-size
20
SIZE           = avr-size