commit | 648b210c92e62673262c9a028bbb16d0694925e1 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Tue Dec 14 17:48:17 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 15 16:13:55 2021 +0000 |
tree | 7d20684c4200f5b6e6a7e58d1ff62ee4c622ab27 | |
parent | 5825e5c1b1c82d1563cac8a992d4c5d8f81db422 [diff] |
cmake: Set the PW_ROOT env variable in pigweed.cmake Instead of setting the PW_ROOT environment variable inside of the root CMakeLists.txt, it is set if if needed through pw_build/pigweed.cmake. In addition, the provided toolchain files are updated to use the relative path to ../../pw_build/pigweed.cmake to ensure they work in environments which are not bootstraped. This ensures that both the upstream toolchains and Pigweed's CMake tooling in general can be used outside of a bootstrapped environment. Change-Id: I3880ec8a8cb1f9be9c97c1b4df336f211a3aebc2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/74360 Reviewed-by: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Commit-Queue: Ewout van Bekkum <ewout@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/