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
Copy file name to clipboardExpand all lines: bazel/config/BUILD.bazel
+33-3Lines changed: 33 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ string_flag(
140
140
],
141
141
)
142
142
143
-
# PICO_BAZEL_CONFIG: PICO_DEFAULT_PRINTF_IMPL, The default implementation for pico_printf to link. compiler lets the compiler control printf behavior while pico provides a pico-specific implementation, type=string, default=double, group=build
143
+
# PICO_BAZEL_CONFIG: PICO_DEFAULT_PRINTF_IMPL, The default implementation for pico_printf to link. compiler lets the compiler control printf behavior while pico provides a pico-specific implementation, type=string, default=pico, group=build
144
144
string_flag(
145
145
name="PICO_DEFAULT_PRINTF_IMPL",
146
146
build_setting_default="pico",
@@ -151,6 +151,17 @@ string_flag(
151
151
],
152
152
)
153
153
154
+
# PICO_BAZEL_CONFIG: PICO_DEFAULT_THREAD_LOCAL_IMPL, The default implementation for pico_thread_local to link; per_thread provides per thread locals while global provides shared global values, type=string, default=per_thread, group=build
155
+
string_flag(
156
+
name="PICO_DEFAULT_THREAD_LOCAL_IMPL",
157
+
build_setting_default="per_thread",
158
+
values= [
159
+
"per_thread",
160
+
"global",
161
+
"none",
162
+
],
163
+
)
164
+
154
165
# PICO_BAZEL_CONFIG: PICO_ASYNC_CONTEXT_IMPL, The default implementation for pico_async_context to link, type=string, default=threadsafe_background, group=build
155
166
string_flag(
156
167
name="PICO_ASYNC_CONTEXT_IMPL",
@@ -217,10 +228,23 @@ string_flag(
217
228
build_setting_default="Debug",
218
229
)
219
230
220
-
# PICO_BAZEL_CONFIG: PICO_DEFAULT_LINKER_SCRIPT, [Bazel only] The library that provides a linker script to link into all binaries, default=//src/rp2_common/pico_crt0:default_linker_script, group=pico_standard_link
231
+
# PICO_BAZEL_CONFIG: PICO_DEFAULT_BINARY_TYPE, The default binary type to use, type=string, default=default, group=build
232
+
string_flag(
233
+
name="PICO_DEFAULT_BINARY_TYPE",
234
+
build_setting_default="default",
235
+
values= [
236
+
"default",
237
+
"no_flash",
238
+
"copy_to_ram",
239
+
"blocked_ram",
240
+
"xip_ram",
241
+
],
242
+
)
243
+
244
+
# PICO_BAZEL_CONFIG: PICO_DEFAULT_LINKER_SCRIPT, [Bazel only] The library that provides a linker script to link into all binaries, default=//src/rp2_common/pico_standard_link:default_linker_script, group=pico_standard_link
0 commit comments