]> git.cryptolib.org Git - avr-crypto-lib.git/blob - Makefile_en21_conf.inc
adjusting test system debug uart reference
[avr-crypto-lib.git] / Makefile_en21_conf.inc
1
2 MCU_TARGET     = atmega128
3 F_CPU          = 14745600
4 OPTIMIZE       = -Os # -Os
5 EXTRALINK      = xram.o
6 DEFS           = -D$(call uc, $(MCU_TARGET)) -DF_CPU=$(F_CPU)
7 BOARD_NAME     = ethernut2.1
8 FLASHCMD       = /bin/bash openocd_flash.sh #
9 RESETCMD       = 
10
11 override CFLAGS_A       = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
12 override CFLAGS         = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@))   $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
13
14 override LDFLAGS       = -gdwarf-2 -Wl,--section-start,.data=0x801100,--defsym=__heap_end=0x807fff -Wl,-Map,#
15 override ASFLAGS           = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
16