| # 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_multisink" |
| |
| config PIGWEED_MULTISINK |
| bool "Multisink module used for forwarding multiple attached sinks" |
| help |
| See :ref:`module-pw_multisink` for module details. |
| |
| if PIGWEED_MULTISINK |
| |
| config PIGWEED_MULTISINK_LOCK_INTERRUPT_SAFE |
| bool "Use an interrupt safe lock" |
| default y |
| help |
| When reading and writing from the underlying ring-buffer. The multisink |
| module will use an interrupt safe lock instead of a mutex. |
| |
| config PIGWEED_MULTISINK_UTIL |
| bool "Link pw_multisink.util library" |
| help |
| Include the Pigweed provided utility functions for multisink operations. |
| |
| endif # PIGWEED_MULTISINK |
| |
| endmenu |