File tree Expand file tree Collapse file tree
src/rp2_common/pico_standard_link Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """Utilities for creating psram regions."""
2+
13load ("@bazel_tools//tools/cpp:toolchain_utils.bzl" , "use_cpp_toolchain" )
24load ("@rules_cc//cc/common:cc_common.bzl" , "cc_common" )
35load ("@rules_cc//cc/common:cc_info.bzl" , "CcInfo" )
Original file line number Diff line number Diff line change @@ -273,12 +273,12 @@ cc_binary(
273273 name = "kitchen_sink_psram_actual" ,
274274 testonly = True ,
275275 srcs = ["kitchen_sink.c" ],
276- tags = ["manual" ], # Built via kitchen_sink_psram
277- deps = [":kitchen_sink_common" ],
278276 defines = [
279277 "PICO_AUTO_DETECT_PSRAM=1" ,
280278 'PICO_PSRAM_SIZE_BYTES="(8 * 1024 * 1024)"' ,
281- ]
279+ ],
280+ tags = ["manual" ], # Built via kitchen_sink_psram
281+ deps = [":kitchen_sink_common" ],
282282)
283283
284284generated_pico_psram_region (
@@ -288,6 +288,9 @@ generated_pico_psram_region(
288288
289289cc_library (
290290 name = "kitchen_sink_psram_linker_script" ,
291+ # The order of the linker scripts below is important.
292+ # Prevent buildifier from reordering them.
293+ # buildifier: leave-alone
291294 deps = [
292295 "//test/kitchen_sink:8M_psram_region" ,
293296 "//src/rp2_common/pico_standard_link:default_linker_script" ,
You can’t perform that action at this time.
0 commit comments