commit | 54d29b131396e046a882a656c8d96adb5ddad5c7 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Jan 23 20:39:08 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 23 20:39:08 2023 +0000 |
tree | 4aecf42d205259a4fd87bca9841f71f3b21c28f6 | |
parent | 71ba37c8a6cc65c8084078fb000e8f470cff8597 [diff] |
pw_protobuf: Generate enum-to-string functions Generate an <EnumName>ToString() function alongside the enum and the IsValid<EnumName>() function. Change-Id: I7b9a8c3cb9e24321072a32821430f8ec9aff9aeb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126683 Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@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/.