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

Fix Bazel build breakages (#1908)

* Fix Bazel build breakages

* Adds support for new PICO_DEFAULT_UART_BAUD_RATE option.
* Fixes issues related to Picotool and boot_picoboot_headers.
* Adds pico_float RISC-V pieces to the Bazel build (not yet fully
  tested).
* Adds the missing adafruit board header to the Bazel build.

* Exclude hazard3 float test in Bazel validation script

* Restore missing dependency in hardware_boot_lock
This commit is contained in:
armandomontanez
2024-09-10 16:44:55 -07:00
committed by GitHub
parent 3a79149d2c
commit b49d4ec949
16 changed files with 114 additions and 20 deletions

View File

@@ -42,6 +42,7 @@ BUILD_CONFIGURATIONS = (
"//test/pico_divider_test:pico_divider_nesting_test",
"//test/pico_float_test:pico_double_test",
"//test/pico_float_test:pico_float_test",
"//test/pico_float_test:pico_float_test_hazard3",
"//test/pico_sha256_test:pico_sha256_test",
"//test/pico_stdio_test:pico_stdio_test",
"//test/pico_time_test:pico_time_test",
@@ -63,6 +64,10 @@ BUILD_CONFIGURATIONS = (
(
"//test/kitchen_sink:kitchen_sink_lwip_poll",
"//test/kitchen_sink:kitchen_sink_lwip_background",
# Host only.
"//test/pico_float_test:hazard3_test_gen",
# No RISC-V on RP2040.
"//test/pico_float_test:pico_float_test_hazard3",
# hardware_sha256 doesn't appear to work on RP2040.
"//test/pico_sha256_test:pico_sha256_test",
)
@@ -76,6 +81,10 @@ BUILD_CONFIGURATIONS = (
(
"//test/kitchen_sink:kitchen_sink_lwip_poll",
"//test/kitchen_sink:kitchen_sink_lwip_background",
# Host only.
"//test/pico_float_test:hazard3_test_gen",
# TODO: RISC-V support.
"//test/pico_float_test:pico_float_test_hazard3",
)
),
},
@@ -90,6 +99,10 @@ BUILD_CONFIGURATIONS = (
(
"//test/kitchen_sink:kitchen_sink_lwip_poll",
"//test/kitchen_sink:kitchen_sink_lwip_background",
# Host only.
"//test/pico_float_test:hazard3_test_gen",
# No RISC-V on RP2040.
"//test/pico_float_test:pico_float_test_hazard3",
# hardware_sha256 doesn't appear to work on RP2040.
"//test/pico_sha256_test:pico_sha256_test",
)
@@ -106,6 +119,10 @@ BUILD_CONFIGURATIONS = (
(
"//test/kitchen_sink:kitchen_sink_lwip_poll",
"//test/kitchen_sink:kitchen_sink_lwip_background",
# Host only.
"//test/pico_float_test:hazard3_test_gen",
# TODO: RISC-V support.
"//test/pico_float_test:pico_float_test_hazard3",
)
),
},
@@ -118,6 +135,10 @@ BUILD_CONFIGURATIONS = (
"extra_targets": (),
"exclusions": frozenset(
(
# Host only.
"//test/pico_float_test:hazard3_test_gen",
# No RISC-V on RP2040.
"//test/pico_float_test:pico_float_test_hazard3",
# hardware_sha256 doesn't appear to work on RP2040.
"//test/pico_sha256_test:pico_sha256_test",
)