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:
@@ -188,6 +188,7 @@ target_compile_definitions(${EXECUTABLE} PRIVATE
|
||||
-DPRINT_ENABLED=0
|
||||
-DMAX_TSM_TRANSACTIONS=0
|
||||
-DCRC_USE_TABLE
|
||||
-DBACAPP_MINIMAL
|
||||
)
|
||||
|
||||
# inhibit pedantic warnings
|
||||
|
||||
@@ -22,7 +22,7 @@ BACNET_FLAGS += -DMAX_OCTET_STRING_BYTES=64
|
||||
BACNET_FLAGS += -DPRINT_ENABLED=0
|
||||
BACNET_FLAGS += -DMAX_APDU=480
|
||||
BACNET_FLAGS += -DCRC_USE_TABLE
|
||||
#BACNET_FLAGS += -DDLMSTP_TEST
|
||||
BACNET_FLAGS += -DBACAPP_MINIMAL
|
||||
ifeq (${LEGACY},true)
|
||||
# disable deprecated function warnings for legacy builds
|
||||
BACNET_FLAGS += -DBACNET_STACK_DEPRECATED_DISABLE
|
||||
|
||||
@@ -231,6 +231,7 @@
|
||||
<state>PRINT_ENABLED=0</state>
|
||||
<state>MAX_APDU=480</state>
|
||||
<state>CRC_USE_TABLE</state>
|
||||
<state>BACAPP_MINIMAL</state>
|
||||
</option>
|
||||
<option>
|
||||
<name>CCPreprocFile</name>
|
||||
|
||||
Reference in New Issue
Block a user