| # 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. |
| |
| # Do not rely on the PW_ROOT environment variable being set through bootstrap. |
| # Regardless of whether it's set or not the following include will ensure it is. |
| |
| # Test configs: |
| CONFIG_TEST=y |
| |
| # C++ configs: |
| CONFIG_CPP=y |
| CONFIG_CPP_MAIN=y |
| CONFIG_STD_CPP20=y |
| CONFIG_REQUIRES_FULL_LIBCPP=y |
| |
| # Enable asserts |
| CONFIG_PIGWEED_ASSERT=y |
| |
| # Enable logging (needed to capture gTest output) |
| CONFIG_LOG=y |
| CONFIG_PIGWEED_LOG_ZEPHYR=y |
| CONFIG_PIGWEED_SYS_IO=y |