Chore/bacnet-sc-unrelated-cleanup (#620)
* Added required linux Ethernet library for ethernet build * Added .obj to gitignore * Fixed BACnet port for APPLE to use BSD in CMake * Changed format in CMake to enable cleaner SC merge * Added create-object and delete-object recipes in GCC Makefile * Added datalink timer to all example OS apps * Changed most microcontroller ports to use BACAPP_MINIMAL to specify which datatypes can be written. * Fixed zephyr OS for BACnet/IP warning * Fixed zephyr OS log to not require log_strdup * Added writefile API to file object example * Added API to device-client to make it more robust. * Added API in network-port object for getting the ASCII object-name * Added debug print with a timestamp option * Added debug print with hex dump print * Added API to network port object for activate and discard * Added default define for debug with timestamp * Added prototype in header for disabled debug printf. * Added fifo peek ahead function to peek at more than one byte. * Added get-mac value for network port that uses buffer rather than octetstring
This commit is contained in:
@@ -221,6 +221,7 @@ target_compile_definitions(${EXECUTABLE} PRIVATE
|
||||
-DMAX_APDU=480
|
||||
-DBIG_ENDIAN=0
|
||||
-DMAX_TSM_TRANSACTIONS=1
|
||||
-DBACAPP_MINIMAL
|
||||
)
|
||||
|
||||
# inhibit pedantic warnings
|
||||
|
||||
@@ -144,12 +144,12 @@ OPTIMIZE_FLAGS := -Os -ggdb
|
||||
OPTIMIZE_FLAGS += -DNDEBUG
|
||||
|
||||
BACNET_FLAGS = -DBACDL_MSTP=1
|
||||
BACNET_FLAGS += -DBACAPP_ALL
|
||||
BACNET_FLAGS += -DMAX_APDU=1476
|
||||
BACNET_FLAGS += -DBIG_ENDIAN=0
|
||||
BACNET_FLAGS += -DMAX_TSM_TRANSACTIONS=0
|
||||
BACNET_FLAGS += -DMAX_CHARACTER_STRING_BYTES=64
|
||||
BACNET_FLAGS += -DMAX_OCTET_STRING_BYTES=64
|
||||
BACNET_FLAGS += -DBACAPP_MINIMAL
|
||||
# if called from root Makefile, PRINT was already defined
|
||||
BACNET_FLAGS += -UPRINT_ENABLED
|
||||
BACNET_FLAGS += -DPRINT_ENABLED=0
|
||||
|
||||
@@ -227,6 +227,7 @@
|
||||
<state>MAX_APDU=1476</state>
|
||||
<state>BIG_ENDIAN=0</state>
|
||||
<state>MAX_TSM_TRANSACTIONS=1</state>
|
||||
<state>BACAPP_MINIMAL</state>
|
||||
</option>
|
||||
<option>
|
||||
<name>CCPreprocFile</name>
|
||||
|
||||
Reference in New Issue
Block a user