369da70f2a
* format: Strip trailing whitespaces
We want to get rid of trailing whitespaces completly as they make just git
noice. Much better to start using automated tools to get rid of them once and
not getting them back again. This way git history will be cleaner and review
easier.
Commit was generated with:
pre-commit run --all-files trailing-whitespace
* format: Files should have exactly one new line end of them
It is good practice that every file has one new line. It is not now days so
mandatory but it also is not nice if file has lot of newlines end of it. We will
use pre-commit which takes automatically care about this so let's fix all.
Commit was generated with:
pre-commit run --all-files end-of-file-fixer
* format: Convert tabs to spaces
Project mostly use spaces over tabs. When mixing tabs and spaces this usually
makes formatting issues and also when changing those in commits it will make lot
of git noise. We will force spaces most of the time and use pre-commit to fix.
Commit was generated with:
pre-commit run --all-files remove-tabs
---------
Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Kconfig - Subsystem configuration options
|
|
#
|
|
# @author Steve Karg <skarg@users.sourceforge.net>
|
|
# @date May 2024
|
|
# @copyright SPDX-License-Identifier: MIT
|
|
menuconfig BACNETSTACK_BACNET_BASIC
|
|
bool "BACNETSTACK_BACNET_BASIC"
|
|
default n
|
|
help
|
|
This option enables a basic BACnet Device object and tasking
|
|
|
|
if BACNETSTACK_BACNET_BASIC
|
|
|
|
module = BACNETSTACK_BACNET_BASIC
|
|
module-str = bacnet_basic
|
|
|
|
config BACNET_BASIC_DEVICE_OBJECT_NAME
|
|
string "BACnet device object default name"
|
|
default "Basic Server"
|
|
help
|
|
BACnet device object default name
|
|
|
|
config BACNET_BASIC_DEVICE_OBJECT_VERSION
|
|
string "BACnet device object default application version string"
|
|
default "1.0.0"
|
|
help
|
|
BACnet device object default application version string
|
|
|
|
config BACNET_BASIC_DEVICE_DESCRIPTION
|
|
string "BACnet device object default description string"
|
|
default "BACnet Basic Server"
|
|
help
|
|
BACnet device object default description string
|
|
|
|
config BACNET_BASIC_DEVICE_MODEL_NAME
|
|
string "BACnet device object default model name string"
|
|
default "Basic Server"
|
|
help
|
|
BACnet device object default model name string
|
|
|
|
config BACNET_BASIC_DEVICE_SHELL
|
|
bool "BACnet Basic Device subsystem shell"
|
|
depends on BACNETSTACK
|
|
default y if SHELL
|
|
|
|
endif # BACNETSTACK_BACNET_SETTINGS
|