commit | 92e75196ab4c840b59752a9135d75f9289fc4cf7 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Oct 05 04:04:10 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 05 04:04:10 2023 +0000 |
tree | 6c7047264f640b08d1bd5807b8c8f996e9da040d | |
parent | 7d7c5014128732557257fb6f9b51879a1ae6bcc6 [diff] |
pw_rpc: Generate DynamicClient that dynamically allocates call objects - Add PW_RPC_MAKE_UNIQUE_PTR and PW_RPC_MAKE_UNIQUE_PTR_INCLUDE configs to support creating smart pointers. - Generate a DynamicClient that is accessible if dynamic allocation is enabled. - Avoid stack-allocating calls when dynamic allocation is enabled. Fixes: b/296873594 Change-Id: I39605e3ac1950c585dd7083c82d8cc42d1076078 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/168534 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Reviewed-by: Xiaofan Jiang <xiaofanj@google.com> Commit-Queue: 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/.