commit | 05b7e67802a614b788d437e1d734cc7bf4b7d30d | [log] [tgz] |
---|---|---|
author | Octavian Purdila <tavip@google.com> | Tue Nov 07 18:51:07 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 07 18:51:07 2023 +0000 |
tree | 7a131f0d9083fded507874fd4e6101723e398abd | |
parent | 42440ce40b2db3b316902cef48c96830819c716c [diff] |
pw_emu: Add support for substitutions in config entries For now only $pw_env{} is supported. Note that the pw_env_setup also performs this substitution, but this does not work when using pw_emu configuration fragments. Ideally this should be done in a generic fashion for all Pigweed modules (b/309161337) but this is out of scope for this CL which aims at allowing downstream projects to perform substitution for emulation target fragments (e.g. for using a project specific qemu binary relative to the project root). This CL also adds unit tests for pw_emu.core.Config. Bug: 308793747 Change-Id: I7f9208276b3981754316d674e0b25721c9beb165 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/179150 Commit-Queue: Octavian Purdila <tavip@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@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/.