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
+4 -3
View File
@@ -36,17 +36,18 @@
#include <stdint.h>
#include <stddef.h>
#include <string.h>
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
/* BACnet Stack API */
#include "bacnet/datalink/dlmstp.h"
#include "bacnet/datalink/mstpdef.h"
#include "bacnet/datalink/crc.h"
#include "rs485.h"
#include "bacnet/npdu.h"
#include "bacnet/bits.h"
#include "bacnet/bytes.h"
#include "bacnet/bacaddr.h"
#include "bacnet/basic/sys/ringbuf.h"
#include "bacnet/basic/sys/mstimer.h"
/* port specific */
#include "rs485.h"
/* This file has been customized for use with small microprocessors */
/* Assumptions:
+1 -1
View File
@@ -62,7 +62,7 @@
#endif
#include "iar2gcc.h"
#include "bacnet/bits.h"
#include "bacnet/basic/sys/bits.h"
/* SEEPROM is 24LC128 */
/*#define SEEPROM_PAGE_SIZE 64 */