commit | c024bd0ab7a6ff19341e115058d25d80c3816a2f | [log] [tgz] |
---|---|---|
author | Leonard Chan <leonardchan@google.com> | Fri Aug 11 19:31:11 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 11 19:31:11 2023 +0000 |
tree | 0a8ca361c218eb88a4a056d5355935328c647698 | |
parent | 9aae4c335bbe10316a4cddd95c6d98e467bc5e22 [diff] |
pw_toolchain: Add cmake helpers for getting clang compile+link flags Provide something similar to clang_config.gni but for cmake. This provides two functions: one for retrieiving compile flags needed by clang, and one for linking flags needed by clang. They both end up calling `clang_arm_toolchain.py` retrieving the flags. Change-Id: I9b18bf6e65165685430f9e58d148970eb03243fc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/163811 Commit-Queue: Leonard Chan <leonardchan@google.com> Reviewed-by: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com> Reviewed-by: 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/.