Fixed ports for Atmega8, Atmega168, and Xmega to compile.

This commit is contained in:
skarg
2016-10-25 13:42:13 +00:00
parent b2938bb68a
commit c7147f3805
7 changed files with 284 additions and 68 deletions
+3 -2
View File
@@ -16,6 +16,7 @@ SIZE = avr-size
# Source locations
BACNET_CORE = ../../src
BACNET_INCLUDE = ../../include
BACNET_OBJECT_INCLUDE = ../../demo/object
BACNET_DEMO = ../../demo
# local files for this project
@@ -27,7 +28,7 @@ CSRC = apdu.c \
timer.c
# common demo files needed
DEMOSRC =
DEMOSRC = \
$(BACNET_DEMO)/handler/h_rp.c \
$(BACNET_DEMO)/handler/txbuf.c \
$(BACNET_DEMO)/handler/h_npdu.c \
@@ -73,7 +74,7 @@ CORESRC = \
# $(BACNET_CORE)/address.c \
## Include Directories
INCLUDES = -I. -I$(BACNET_INCLUDE)
INCLUDES = -I. -I$(BACNET_INCLUDE) -I$(BACNET_OBJECT_INCLUDE)
# Source to Object conversion
COBJ = $(CSRC:.c=.o)