Adding MS/TP support to rtos32 port.

This commit is contained in:
skarg
2005-05-06 21:11:36 +00:00
parent 6470db6f66
commit 9c51ec2cd0
3 changed files with 207 additions and 7 deletions
+8 -3
View File
@@ -21,7 +21,14 @@ PRODUCT = bacnet
PRODUCT_RTB = $(PRODUCT).rtb
PRODUCT_EXE = $(PRODUCT).exe
SRCS = init.c main.c ethernet.c bip.c \
# Choose the Data Link Layer to Enable
#DEFINES = -DDOC;BACDL_BIP=1
#DEFINES = -DDOC;BACDL_ETHERNET=1
DEFINES = -DDOC;BACDL_MSTP=1
SRCS = init.c main.c ethernet.c bip.c rs485.c \
..\..\mstp.c \
..\..\crc.c \
..\..\handlers.c \
..\..\bacdcode.c \
..\..\bigend.c \
@@ -52,8 +59,6 @@ LOCATE = $(RTOS32_DIR)\bin\rtloc
CC_DIR = $(BORLAND_DIR)\BIN
CC_INCLDIR = $(BORLAND_DIR)\include
INCL_DIRS = -I$(BORLAND_DIR)\include;$(RTOS32_DIR)\include;../../;
#DEFINES = -DDOC;BACDL_BIP=1
DEFINES = -DDOC;BACDL_ETHERNET=1
CFLAGS = $(INCL_DIRS) $(CS_FLAGS) $(DEFINES)