examples/AVR/Slave/Makefile
changeset 679 bb9fe2e2b2e1
parent 413 57c7a451c671
equal deleted inserted replaced
678:c1b9455929e6 679:bb9fe2e2b2e1
     4 
     4 
     5 ## General Flags
     5 ## General Flags
     6 PROJECT = SlaveAVR
     6 PROJECT = SlaveAVR
     7 MCU = at90can128
     7 MCU = at90can128
     8 TARGET = AVR
     8 TARGET = AVR
     9 CC = avr-gcc.exe
     9 CC = avr-gcc
    10 SRC = ../../../src
    10 SRC = ../../../src
    11 DRV = ../../../drivers/AVR
    11 DRV = ../../../drivers/AVR
    12 
    12 
    13 ## Options common to compile, link and assembly rules
    13 ## Options common to compile, link and assembly rules
    14 COMMON = -mmcu=$(MCU)
    14 COMMON = -mmcu=$(MCU)
    33 HEX_EEPROM_FLAGS = -j .eeprom
    33 HEX_EEPROM_FLAGS = -j .eeprom
    34 HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
    34 HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
    35 HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
    35 HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
    36 
    36 
    37 ## Include Directories
    37 ## Include Directories
    38 INCLUDES = -I../../../include -I../../../include/AVR
    38 INCLUDES = -I../../../include/AVR -I../../../include
    39 
    39 
    40 ## Objects that must be built in order to link
    40 ## Objects that must be built in order to link
    41 OBJECTS = 	$(DRV)/can_AVR.o\
    41 OBJECTS = 	$(DRV)/can_AVR.o\
    42 		$(DRV)/timer_AVR.o\
    42 		$(DRV)/timer_AVR.o\
    43 		$(SRC)/dcf.o\
    43 		$(SRC)/dcf.o\