Added a MSTP monitor build for BACnet Development Kit. Use 'make BUILD=monitor' with Makefile. Uses second serial port at 115200, and can be monitored using mstpcap utility.

This commit is contained in:
skarg
2010-07-18 20:22:24 +00:00
parent a298d07b9a
commit c0d63a1ed0
4 changed files with 28 additions and 1 deletions
+5 -1
View File
@@ -155,6 +155,10 @@ ifeq (${BUILD},release)
OPTIMIZATION = -Os $(OPTIMIZE_FLAGS)
DEBUGGING = -DNDEBUG
endif
ifeq (${BUILD},monitor)
OPTIMIZATION = -Os $(OPTIMIZE_FLAGS)
DEBUGGING = -DNDEBUG -DMSTP_MONITOR
endif
## BACnet options
BFLAGS = -DBACDL_MSTP
@@ -271,7 +275,7 @@ AVRDUDE_WRITE_FLASH = -e -U flash:w:$(TARGET).hex
AVRDUDE_INSTALL = $(AVRDUDE_WRITE_FLASH)
#AVRDUDE_INSTALL += $(AVRDUDE_WRITE_FUSES)
## Objects that must be built in order to link
## Objects not in library that must be built in order to link
OBJECTS = $(COBJ) $(DEMOOBJ)
## Build