31ffc8024e
* Fixed compile warnings from double-float promotions. * Changed zephyr compile to suppress deprecation warnings * Fixed CreateObject API return value in many objects header files * Changed zephyr build defines as strdup is no longer required for log print of strings
54 lines
782 B
CMake
54 lines
782 B
CMake
#
|
|
# Copyright (c) 2022 Legrand North America, LLC.
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
zephyr_compile_definitions(
|
|
BACNET_STACK_DEPRECATED_DISABLE
|
|
)
|
|
|
|
zephyr_sources(device.c)
|
|
|
|
if(CONFIG_BACNET_USE_DYNAMIC_DESCRIPTION)
|
|
zephyr_sources(
|
|
acc.c
|
|
access_credential.c
|
|
access_door.c
|
|
access_point.c
|
|
access_rights.c
|
|
access_user.c
|
|
access_zone.c
|
|
ai.c
|
|
ao.c
|
|
av.c
|
|
bacfile.c
|
|
bi.c
|
|
bo.c
|
|
bv.c
|
|
calendar.c
|
|
channel.c
|
|
command.c
|
|
credential_data_input.c
|
|
csv.c
|
|
iv.c
|
|
lc.c
|
|
lo.c
|
|
lsp.c
|
|
ms-input.c
|
|
mso.c
|
|
msv.c
|
|
nc.c
|
|
osv.c
|
|
piv.c
|
|
schedule.c
|
|
time_value.c
|
|
trendlog.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_BACDL_BIP netport.c)
|
|
|
|
zephyr_linker_sources(DATA_SECTIONS objects.ld)
|
|
|
|
endif()
|