52
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011
# Stack libraries paths ----------------------
--------
LIB_PATH = \
-L$(COMPONENTS_PATH)/../lib
\
-L$(PDS_PATH)/lib \
-L$(CS_PATH)/lib \
-L$(BSP_PATH)/lib
## Stack include paths -----------------------
---------
INCLUDES = \
-I$(SE_PATH)/include \
-I$(APS_PATH)/include \
-I$(NWK_PATH)/include \
-I$(ZDO_PATH)/include \
-I$(MAC_PHY_PATH)/include
\
-I$(HAL_PATH)/include \
-I$(HAL_HWD_PATH)/include
\
-I$(BSP_PATH)/include \
-I$(CS_PATH)/include \
-I$(PDS_PATH)/include \
-I$(TC_PATH)/include \
-I$(SSP_PATH)/include
# Linking ------------------------------------
---------
ifeq ($(HAL), ATMEGA1281)
LINK_OBJECTS =
$(COMPONENTS_PATH)/../lib/WdtInitatmega1281.o
LINKER_FLAGS = -o$(PRJ_NAME).elf -
Map=$(PRJ_NAME).map
endif
ifeq ($(HAL), AT91SAM7X256)
LINK_OBJECTS =
$(COMPONENTS_PATH)/../lib/FirmwareBoot.o
LDSCRIPT = -Tatmel-rom.ld
LINKER_FLAGS = -Xlinker -o$(PRJ_NAME).elf -
Xlinker -M -Xlinker -Map=$(PRJ_NAME).map -
nostartfiles
endif
# Build --------------------------------------
----------