1
0
mirror of https://github.com/raspberrypi/pico-sdk.git synced 2025-08-07 17:02:52 +03:00

Initial Pico/2 W Bazel support (#2049)

* Initial Pico 2 W Bazel support

Improves compatibility with Pico W and Pico 2 W by fixing issues that
prevented correct linking of wireless libraries.

* Improve correctness and configurability

* Require newer rules_python

* Require rules_python@0.36.0

* Fix missing compatibility expressions

* Minor tweaks

* Minor cleanup

* Update suggested version in Bazel README

* More README tweaks

* Improve Bazel btstack build correctness
This commit is contained in:
armandomontanez
2024-11-21 14:58:02 -08:00
committed by GitHub
parent 08ea1d89a9
commit 338f99ff1c
21 changed files with 536 additions and 88 deletions

View File

@@ -147,9 +147,16 @@ BAZEL_ONLY_ALLOWLIST = (
"PICO_DEFAULT_PRINTF_IMPL",
"PICO_DEFAULT_RAND_IMPL",
"PICO_BINARY_INFO_ENABLED",
"PICO_ASYNC_CONTEXT_IMPL",
# Allows selection of clang/gcc when using the dynamically fetched
# toolchains.
"PICO_TOOLCHAIN",
# In CMake, linking these libraries also sets defines for adjacent
# libraries. That's an antipattern in Bazel, so there's flags to control
# which modules to enable instead.
"PICO_BT_ENABLE_BLE",
"PICO_BT_ENABLE_CLASSIC",
"PICO_BT_ENABLE_MESH",
)