Skip to content

Commit

Permalink
fix esp all-clusters-minimal build proble
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Mar 19, 2024
1 parent 05d17b5 commit ba12515
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ menu "Demo"
depends on IDF_TARGET_ESP32C2
endchoice

config CHIP_PROJECT_CONFIG
string "CHIP Project Configuration file"
default "main/include/CHIPProjectConfig.h"

choice
prompt "Rendezvous Mode"
default RENDEZVOUS_MODE_BLE if BT_ENABLED
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
*
* Copyright (c) 2023 Project CHIP Authors
* All rights reserved.
*
* 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
*
* http://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.
*/

/**
* @file
* Example project configuration file for CHIP.
*
* This is a place to put application or project-specific overrides
* to the default configuration values for general CHIP features.
*
*/

#pragma once

/**
* @def CONFIG_BUILD_FOR_HOST_UNIT_TEST
*
* @brief Defines whether we're currently building for unit testing, which enables a set of features
* that are only utilized in those tests. This flag should not be enabled on devices. If you have a test
* that uses this flag, either appropriately conditionalize the entire test on this flag, or to exclude
* the compliation of that test source file entirely.
*/
#define CONFIG_BUILD_FOR_HOST_UNIT_TEST 1

0 comments on commit ba12515

Please sign in to comment.