Add core stack headers into bacdef.h and cleanup includes. (#602)

* Added dependent BACnet stack headers into bacdef.h file.

* Changed bacdef.h and other stack includes in c/h files to have a common pattern.

* Moved bits.h, bytes.h, and bacnet_stack_exports.h under bacnet/basic/sys/ folder.
This commit is contained in:
Steve Karg
2024-03-15 16:58:52 -05:00
committed by GitHub
parent 78f7340266
commit 1520f2c612
448 changed files with 1549 additions and 1506 deletions
+2 -2
View File
@@ -34,10 +34,10 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include "bacnet/bits.h"
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
/* BACnet Stack API */
#include "bacnet/bacdcode.h"
#include "bacnet/bacenum.h"
#include "bacnet/dcc.h"
#include "bacnet/basic/services.h"
/* me */
+6 -4
View File
@@ -49,15 +49,17 @@
#if PRINT_ENABLED
#include <stdio.h>
#endif
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
/* BACnet Stack API */
#include "bacnet/datalink/mstp.h"
#include "bacnet/bytes.h"
#include "bacnet/bits.h"
#include "crc.h"
#include "bacnet/bacaddr.h"
#include "rs485.h"
#if PRINT_ENABLED
#include "bacnet/datalink/mstptext.h"
#endif
/* port specific */
#include "crc.h"
#include "rs485.h"
/* debug print statements */
#if PRINT_ENABLED