You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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 [email protected]
* Fix missing compatibility expressions
* Minor tweaks
* Minor cleanup
* Update suggested version in Bazel README
* More README tweaks
* Improve Bazel btstack build correctness
Copy file name to clipboardExpand all lines: bazel/config/BUILD.bazel
+29
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,17 @@ string_flag(
151
151
],
152
152
)
153
153
154
+
# PICO_BAZEL_CONFIG: PICO_ASYNC_CONTEXT_IMPL, The default implementation for pico_async_context to link, type=string, default=threadsafe_background, group=build
155
+
string_flag(
156
+
name="PICO_ASYNC_CONTEXT_IMPL",
157
+
build_setting_default="threadsafe_background",
158
+
values= [
159
+
"poll",
160
+
"threadsafe_background",
161
+
"freertos",
162
+
],
163
+
)
164
+
154
165
# PICO_BAZEL_CONFIG: PICO_BINARY_INFO_ENABLED, Whether to include binary info in final firmware, type=bool, default=1, group=pico_stdlib
155
166
bool_flag(
156
167
name="PICO_BINARY_INFO_ENABLED",
@@ -248,6 +259,24 @@ label_flag(
248
259
build_setting_default="//bazel:empty_cc_lib",
249
260
)
250
261
262
+
# PICO_BAZEL_CONFIG: PICO_BT_ENABLE_BLE, [Bazel only] Whether or not to link in BLE portions of the btstack as part of //src/rp2_common/pico_btstack. Also defines ENABLE_BLE=1, type=bool, default=False, group=wireless
263
+
bool_flag(
264
+
name="PICO_BT_ENABLE_BLE",
265
+
build_setting_default=False,
266
+
)
267
+
268
+
# PICO_BAZEL_CONFIG: PICO_BT_ENABLE_CLASSIC, [Bazel only] Whether or not to link in classic BT portions of the btstack as part of //src/rp2_common/pico_btstack. Also defines ENABLE_CLASSIC=1, type=bool, default=False, group=wireless
269
+
bool_flag(
270
+
name="PICO_BT_ENABLE_CLASSIC",
271
+
build_setting_default=False,
272
+
)
273
+
274
+
# PICO_BAZEL_CONFIG: PICO_BT_ENABLE_MESH, [Bazel only] Whether or not to link in mesh BT portions of the btstack as part of //src/rp2_common/pico_btstack. Also defines ENABLE_MESH=1, type=bool, default=False, group=wireless
275
+
bool_flag(
276
+
name="PICO_BT_ENABLE_MESH",
277
+
build_setting_default=False,
278
+
)
279
+
251
280
# PICO_BAZEL_CONFIG: PICO_LWIP_CONFIG, [Bazel only] The cc_library that provides lwipopts.h, default=//bazel:empty_cc_lib, group=wireless
0 commit comments