commit | ec277a229f5e5b89f85841caf444872446580485 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Aug 22 17:27:44 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 22 17:27:44 2023 +0000 |
tree | 63423fffec308b70d513594ea858a8a86de92e38 | |
parent | 246c2cdf71d80b038349f0ce2772fbe43c499d9d [diff] |
pw_tokenizer: Deprecate tokenizer buffer size config pw_tokenizer no longer has any macros that stack-allocate a tokenization buffer, so it does not need a config macro for this buffer size. - Create a new config macro for pw_log_tokenized's stack-allocated buffer. Have it default to PW_TOKENIZER_CFG_ENCODING_BUFFER_SIZE_BYTES for backwards compatibility. - Remove the kDefaultBase64EncodedBuffer size from pw_tokenizer, since there is no default buffer size in pw_tokenizer. - Introduce pw_log_tokenized/base64.h that provides a function for encoding the pw_log_tokenized buffer as Base64. - Switch base64_over_hdlc and pw_log_zephyr to use pw::InlineString for Base64 encoding. Change-Id: I0205598da51150ba31001889bd2d822329261887 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/163257 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Erik Gilling <konkers@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.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/.