commit | e76c4cf4f1b6963e1a75ccaeb4f08c4ae9191a0f | [log] [tgz] |
---|---|---|
author | Chad Norvell <chadnorvell@google.com> | Sat Sep 17 03:47:20 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 17 03:47:20 2022 +0000 |
tree | ed2294a9683d3369b296f25b31422f9863b42f1f | |
parent | ca32950567adbdbcb0192258b8c61a7c636682b0 [diff] |
pw_ide: clangd wrapper generators clangd must be run within the activated Pigweed environment to pick up the right paths to the Pigweed toolchains. We point clangd language servers to these wrapper scripts instead of the bare executable. We can't just store platform-specific scripts as files in this repo, because most editors don't let us specify a different clangd location for different OS's (e.g. `clangd.bat` on Windows and `clangd.sh` elsewhere). Also, the location of the Pigweed environment can vary. So we generate wrapper scripts for the user that are appropriate to their OS and project configuration. Change-Id: I70a8d3536678329a802507ca950ca79a274aa36f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/110254 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Chad Norvell <chadnorvell@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/.