aboutsummaryrefslogtreecommitdiff
path: root/pw_system/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pw_system/Kconfig')
-rw-r--r--pw_system/Kconfig52
1 files changed, 52 insertions, 0 deletions
diff --git a/pw_system/Kconfig b/pw_system/Kconfig
new file mode 100644
index 000000000..61f6420bd
--- /dev/null
+++ b/pw_system/Kconfig
@@ -0,0 +1,52 @@
+# Copyright 2023 The Pigweed Authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+menu "pw_system"
+
+config PIGWEED_SYSTEM_LOG_BACKEND
+ bool "Use pw_system.log_backend as the logging backend"
+ help
+ See :ref:`module-pw_log` for logging module details.
+
+config PIGWEED_SYSTEM_TARGET_HOOKS
+ bool "Use the backend for the pw_system.target_hooks library"
+ help
+ Configure the system's:
+ - log thread
+ - RPC thread
+ - Work queue thread
+
+config PIGWEED_SYSTEM_HDLC_RPC_SERVER
+ bool "Link pw_system.hdlc_rpc_server library and set backend"
+ help
+ Automatically include an HDLC (:ref:`module-pw_hdlc`) RPC server
+ (:ref:`module-pw_rpc`) in the system.
+
+if PIGWEED_SYSTEM_TARGET_HOOKS
+
+config PIGWEED_SYSTEM_TARGET_HOOKS_LOG_STACK_SIZE
+ int "Log thread stack size"
+ default 4096
+
+config PIGWEED_SYSTEM_TARGET_HOOKS_RPC_STACK_SIZE
+ int "RPC thread stack size"
+ default 4096
+
+config PIGWEED_SYSTEM_TARGET_HOOKS_WORK_QUEUE_STACK_SIZE
+ int "Work Queue thread stack size"
+ default 4096
+
+endif # PIGWEED_SYSTEM_TARGET_HOOKS
+
+endmenu