xref: /aosp_15_r20/external/pigweed/pw_system/Kconfig (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2023 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15menu "pw_system"
16
17config PIGWEED_SYSTEM_LOG_BACKEND
18    bool "Use pw_system.log_backend as the logging backend"
19    help
20      See :ref:`module-pw_log` for logging module details.
21
22config PIGWEED_SYSTEM_TARGET_HOOKS
23    bool "Use the backend for the pw_system.target_hooks library"
24    help
25      Configure the system's:
26      - log thread
27      - RPC thread
28      - Work queue thread
29
30config PIGWEED_SYSTEM_HDLC_RPC_SERVER
31    bool "Link pw_system.hdlc_rpc_server library and set backend"
32    help
33      Automatically include an HDLC (:ref:`module-pw_hdlc`) RPC server
34      (:ref:`module-pw_rpc`) in the system.
35
36if PIGWEED_SYSTEM_TARGET_HOOKS
37
38config PIGWEED_SYSTEM_TARGET_HOOKS_LOG_STACK_SIZE
39    int "Log thread stack size"
40    default 4096
41
42config PIGWEED_SYSTEM_TARGET_HOOKS_RPC_STACK_SIZE
43    int "RPC thread stack size"
44    default 4096
45
46config PIGWEED_SYSTEM_TARGET_HOOKS_WORK_QUEUE_STACK_SIZE
47    int "Work Queue thread stack size"
48    default 4096
49
50endif # PIGWEED_SYSTEM_TARGET_HOOKS
51
52endmenu
53