commit | 8b408829fcd8b9d74d49bf0f2d23554a7461e3b6 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Fri Feb 16 03:13:38 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 16 03:13:38 2024 +0000 |
tree | 457b855630a6e29c54926ec1dd189ac4759f5a32 | |
parent | bb1870ce1c8d99afe0fdf87212a0f19337572ee9 [diff] |
pw_assert_log: Fix Soong rules The the Soong pw_assert_log_defaults cc_defaults was incorrectly using pw_log_null as the log backend. This redirects all PW_LOG* calls to a no-op function, breaking PW_CHECK, PW_ASSERT and friends who depend on that. This would mean that code continued executing after a crash! Do not let defaults inject backends, especially the pw_log_null backend. Bug: 324266698 Change-Id: Iaff1bcd5737f58c6c7a21f01ee50a9f6af725fb1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/190602 Reviewed-by: Matthew Sedam <matthewsedam@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.com> Reviewed-by: Alan Rosenthal <alanrosenthal@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.