Testing with MS/TP.
This commit is contained in:
@@ -2,8 +2,12 @@
|
||||
echo Build with MinGW mingw.sourceforge.net
|
||||
echo Note: copy mingw32-make.exe to make.exe to build for Win32
|
||||
make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= clean all
|
||||
|
||||
rem Build for MinGW debug
|
||||
rem make BACNET_PORT=win32 clean all
|
||||
|
||||
rem Build for MinGW MS/TP
|
||||
rem make BACNET_PORT=win32 DEBUGGING= BACDL_DEFINE=-DBACDL_MSTP=1 clean all
|
||||
|
||||
rem On Linux, install mingw32 and use this:
|
||||
rem make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= CC=i586-mingw32msvc-gcc AR=i586-mingw32msvc-ar clean all
|
||||
|
||||
@@ -192,6 +192,7 @@ static void Init_DataLink(
|
||||
} else {
|
||||
dlmstp_set_mac_address(127);
|
||||
}
|
||||
apdu_timeout_set(60000);
|
||||
#endif
|
||||
if (!datalink_init(getenv("BACNET_IFACE"))) {
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user