3 # repertoire des modules
4 AVERSIVE_DIR = ../../..
5 # VALUE, absolute or relative path : example ../.. #
10 # address is 0xf000 (in words)
11 # LDFLAGS += -Wl,--section-start=.text=1e000
15 # address is 0x1f800 (in words)
16 LDFLAGS += -Wl,--section-start=.text=3f000
19 CFLAGS += -DUART_NUM=$(UART_NUM)
21 # List C source files here. (C dependencies are automatically generated.)
24 # List Assembler source files here.
25 # Make them always end in a capital .S. Files ending in a lowercase .s
26 # will not be considered source files but generated files (assembler
27 # output from the compiler), and will be deleted upon "make clean"!
28 # Even though the DOS/Win* filesystem matches both .s and .S the same,
29 # it will preserve the spelling of the filenames, and gcc itself does
30 # care about how the name is spelled on its command-line.
33 ########################################
35 -include .aversive_conf
36 include $(AVERSIVE_DIR)/mk/aversive_project.mk
38 program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep
39 echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
40 $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\