|author||Chad Norvell <email@example.com>||Tue Sep 20 05:05:02 2022 +0000|
|committer||CQ Bot Account <firstname.lastname@example.org>||Tue Sep 20 05:05:02 2022 +0000|
pw_ide: activate.py Provides a Python script that can be run independently of the Pigweed environment, and execute a given shell command *within* an activated Pigweed environment. Why do we need this? Editors aren't aware of the Pigweed environment, and neither are any subprocesses they spawn (unless you launch the editor *from* an activated environment, which you might do with vim but probably wouldn't do from VS Code). We wrap tasks that need access to the Pigweed environment in this script. Note that this script replicates much of the functionality already present in the pw_env_setup module. The difference is that this script can be run outside of the Pigweed environment and has no dependencies. In the long run, we should find a way to merge the two in a way that works for both use cases. Change-Id: Ic6741904c10d1a350f5ff318a52308fef87a006e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110259 Reviewed-by: Anthony DiGirolamo <email@example.com> Commit-Queue: Chad Norvell <firstname.lastname@example.org>
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/.