diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 3f6b093a9a66bb..c4462401f7cc53 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -543,9 +543,9 @@ def main(argv: Sequence[str]) -> None: else: flush_print("RPC PW disabled") - if (options.build_target == "esp32"): - shell.run_cmd( - f"export SDKCONFIG_DEFAULTS={_CHEF_SCRIPT_PATH}/esp32/sdkconfig.defaults") + if (options.build_target == "esp32"): + shell.run_cmd( + f"export SDKCONFIG_DEFAULTS={_CHEF_SCRIPT_PATH}/esp32/sdkconfig.defaults") flush_print( f"Product ID 0x{options.pid:02X} / Vendor ID 0x{options.vid:02X}") diff --git a/examples/chef/esp32/CMakeLists.txt b/examples/chef/esp32/CMakeLists.txt index b03f1e123b88b2..d86d3efac2586e 100644 --- a/examples/chef/esp32/CMakeLists.txt +++ b/examples/chef/esp32/CMakeLists.txt @@ -60,6 +60,9 @@ flashing_script() if (CONFIG_ENABLE_PW_RPC) get_filename_component(CHIP_ROOT ./third_party/connectedhomeip REALPATH) include(third_party/connectedhomeip/third_party/pigweed/repo/pw_build/pigweed.cmake) + +pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config) + pw_set_backend(pw_log pw_log_basic) pw_set_backend(pw_assert.check pw_assert_log.check_backend) pw_set_backend(pw_assert.assert pw_assert.assert_compatibility_backend) diff --git a/examples/chef/esp32/main/CMakeLists.txt b/examples/chef/esp32/main/CMakeLists.txt index 68f43aece32ea8..807fff286c0cd5 100644 --- a/examples/chef/esp32/main/CMakeLists.txt +++ b/examples/chef/esp32/main/CMakeLists.txt @@ -154,7 +154,7 @@ pw_proto_library(descriptor_service STRIP_PREFIX ${CHIP_ROOT}/examples/common/pigweed/protos DEPS - pw_protobuf.common_protos + pw_protobuf.common_proto ) pw_proto_library(device_service @@ -178,7 +178,7 @@ pw_proto_library(wifi_service PREFIX wifi_service DEPS - pw_protobuf.common_protos + pw_protobuf.common_proto STRIP_PREFIX ${CHIP_ROOT}/examples/common/pigweed/protos )