Modified the BDK port for version 4 hardware layout

This commit is contained in:
skarg
2012-11-25 21:33:51 +00:00
parent 0b84ce44ec
commit fce60832e6
3 changed files with 62 additions and 3 deletions
+7 -1
View File
@@ -52,7 +52,7 @@ ifeq (${JTAG},jtag2fast)
AVRDUDE_PROGRAMMERID = jtag2fast
endif
ifndef JTAG
AVRDUDE_PROGRAMMERID = jtag2fast
AVRDUDE_PROGRAMMERID = dragon_jtag
endif
#
# port--serial or parallel port to which your
@@ -171,6 +171,12 @@ ifeq (${SEEPROM},128)
DEFINES += -DSEEPROM_PAGE_SIZE=64
DEFINES += -DSEEPROM_WORD_ADDRESS_16BIT=1
endif
ifeq (${BDK_VERSION},3)
DEFINES += -DBDK_VERSION=3
endif
#ifdef
OPTIMIZE_FLAGS = -mcall-prologues
OPTIMIZE_FLAGS += -finline-functions-called-once