Skip to content

Commit

Permalink
Update Pigweed to 8659ed599 (#23741)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgoliver authored and pull[bot] committed Aug 1, 2023
1 parent 5647a0d commit 195a7be
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 8 deletions.
4 changes: 4 additions & 0 deletions examples/all-clusters-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ 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)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)

Expand Down
1 change: 1 addition & 0 deletions examples/all-clusters-app/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
5 changes: 5 additions & 0 deletions examples/all-clusters-minimal-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ 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)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
1 change: 1 addition & 0 deletions examples/chef/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
4 changes: 4 additions & 0 deletions examples/lighting-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ 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)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)

Expand Down
1 change: 1 addition & 0 deletions examples/lighting-app/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
4 changes: 4 additions & 0 deletions examples/lock-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ idf_build_set_property(COMPILE_OPTIONS "-Wno-error=maybe-uninitialized" APPEND)
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)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)
pw_set_backend(pw_log pw_log_basic)
Expand Down
4 changes: 4 additions & 0 deletions examples/ota-requestor-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ idf_build_set_property(COMPILE_OPTIONS "-Wno-error=maybe-uninitialized" APPEND)
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)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)
pw_set_backend(pw_log pw_log_basic)
Expand Down
1 change: 1 addition & 0 deletions examples/ota-requestor-app/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
4 changes: 4 additions & 0 deletions examples/pigweed-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo")

include(${PIGWEED_ROOT}/pw_build/pigweed.cmake)
include(${PIGWEED_ROOT}/pw_protobuf_compiler/proto.cmake)
include($ENV{PW_ROOT}/pw_assert/backend.cmake)
include($ENV{PW_ROOT}/pw_log/backend.cmake)
include($ENV{PW_ROOT}/pw_sys_io/backend.cmake)
include($ENV{PW_ROOT}/pw_trace/backend.cmake)

pw_set_module_config(pw_rpc_CONFIG pw_rpc.disable_global_mutex_config)
pw_set_backend(pw_log pw_log_basic)
Expand Down
4 changes: 1 addition & 3 deletions examples/platform/ameba/pw_sys_io/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
include($ENV{PW_ROOT}/pw_build/pigweed.cmake)

# This is compiled in gn build, just provide headers and let linker sort it out.
pw_add_module_library(pw_sys_io.ameba
SOURCES
pw_add_library(pw_sys_io.ameba INTERFACE
PRIVATE_DEPS
pw_sys_io
HEADERS
public
)

3 changes: 1 addition & 2 deletions examples/platform/esp32/pw_sys_io/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
include($ENV{PW_ROOT}/pw_build/pigweed.cmake)

# This is compiled in gn build, just provide headers and let linker sort it out.
pw_add_module_library(pw_sys_io.esp32
SOURCES
pw_add_library(pw_sys_io.esp32 INTERFACE
PRIVATE_DEPS
pw_sys_io
HEADERS
Expand Down
4 changes: 3 additions & 1 deletion examples/platform/nrfconnect/pw_sys_io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ target_compile_options(suppress_zephyr_warnings INTERFACE
-Wno-undef
)

pw_add_module_library(pw_sys_io.nrfconnect
pw_add_library(pw_sys_io.nrfconnect STATIC
SOURCES
sys_io_nrfconnect.cc
PUBLIC_INCLUDES
public
PRIVATE_DEPS
pw_sys_io
suppress_zephyr_warnings
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/telink/pw_sys_io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ target_compile_options(suppress_zephyr_warnings INTERFACE
-Wno-undef
)

pw_add_module_library(pw_sys_io.telink
pw_add_library(pw_sys_io.telink STATIC
SOURCES
sys_io_telink.cc
PRIVATE_DEPS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ target_link_libraries(${COMPONENT_LIB} PUBLIC
pw_log
pw_rpc.server
pw_sys_io
pw_trace
pw_trace_tokenized
pw_trace_tokenized.trace_buffer
pw_trace_tokenized.rpc_service
Expand Down
2 changes: 1 addition & 1 deletion third_party/pigweed/repo
Submodule repo updated 924 files

0 comments on commit 195a7be

Please sign in to comment.