commit | 3a25778fcb2a32c121f13ebd14e29e00908efc4d | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Wed Apr 12 18:03:29 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 12 18:03:29 2023 +0000 |
tree | 92f84b2457c64232d9b089b8263d46474ba134db | |
parent | 12959c3767edb7de4f8e914529c131b3df87156b [diff] |
pw_string: Add conversion warnings for all targets This also adds assertion checks in cases where the length of the incoming value might be greater than the maximum value of the string size type. Bug: b/259746255 Change-Id: I7af9a673cfd2db3d80e2380daf8f37f5850c70fc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/138331 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Taylor Cramer <cramertj@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/.