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>
36 lines
880 B
Plaintext
36 lines
880 B
Plaintext
# Copyright (c) 2020 Legrand North America, LLC.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
# Kconfig -
|
|
|
|
menuconfig BACNETSTACK_BACNET_SERVER
|
|
bool "BACNETSTACK_BACNET_SERVER"
|
|
help
|
|
This option enables BACnet Server services
|
|
|
|
if BACNETSTACK_BACNET_SERVER
|
|
|
|
module = BACNETSTACK_BACNET_SERVER
|
|
module-str = bac_server
|
|
|
|
config BACNETSTACK_BACNET_SERVER_APP_PRIORITY
|
|
int "App init priority"
|
|
default 0
|
|
help
|
|
This sets the starting priority of the thread.
|
|
|
|
config BACNETSTACK_BACNET_SERVER_PRIO
|
|
int "BACnet server thread priority"
|
|
default 50
|
|
help
|
|
This sets the execution priority of the thread.
|
|
|
|
config BACNETSTACK_BACNET_SERVER_STACK_SIZE
|
|
int "BACnet server stack size"
|
|
default 4096
|
|
help
|
|
This sets the stack size of the thread.
|
|
|
|
endif # BACNETSTACK_BACNET_SERVER
|