-
- Downloads
Expand bazel build to include configuration options and broader support. (#1731)
* Add host Bazel build Updates target_compatible_with across the repo to ensure that wildcard builds for both host and rp2040 succeed. * Get unit tests building * Add Python script to identify build system differences Uses the build system tags to make it easier to identify differences between the CMake and Bazel builds. * Temporarily disable pico divider test * Support PICO_BARE_METAL in Bazel * Support PICO_NO_GC_SECTIONS in Bazel * Support boot2 configuration in Bazel Adds support for PICO_DEFAULT_BOOT_STAGE2 and PICO_DEFAULT_BOOT_STAGE2_FILE in the Bazel build. * Allowlist some CMake-only options * Support CXX configuration options in Bazel * Move multiple_choice_flag.bzl * Support all pico boards * Support linking multiple stdio implementations Changes the Bazel build so stdio implementations are no longer mutually exclusive. * Add PICO_BOOT_STAGE2_LINK_IMAGE * Support PICO_CMSIS_PATH in Bazel * Support PICO_USE_DEFAULT_MAX_PAGE_SIZE in Bazel * Silence PICO_CMSIS_VENDOR and PICO_CMSIS_DEVICE differences * Support PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS in Bazel * Properly support version defines * Support embedding binary info in Bazel * Embed build type in binary * Support different linker scripts in Bazel build * Finish out missing PICO_BUILD_DEFINE in Bazel build * Support PICO_NO_TARGET_NAME * Reorganize initial configuration options in Bazel Cleans up and reorganizes some of the initial configuration options added to the Bazel build so everything is consistent. * Add builds for pioasm and elf2uf2 * Use Python rules from rules_python * Actually link in output formats in pioasm tool * Make tools have public visibility * Add UF2 Bazel aspect * Add TODOs for pioasm/uf2 helpers * Fix compile flag typo * Update Bazel SDK configuration strings to match recent CMake changes * Fix pico_divider test * Clean up straggling TODOs * Clarify pico_stdio_test compatibility * Initial Bazel Pico W support * Add new files from develop * Clean up compatibility expressions in Bazel build * Clean up rp2 constraint handling in Bazel * More Bazel docs cleanup * Format Bazel build files * Consolidate transitions in the Pico SDK * Make every _allowlist_function_transition explicit * More docs cleanup * Add a few missing defines * Improve PICO_CONFIG_HEADER correctness in Bazel * Minor docs clarifications
Showing
- src/rp2_common/pico_lwip/BUILD.bazel 132 additions, 15 deletionssrc/rp2_common/pico_lwip/BUILD.bazel
- src/rp2_common/pico_lwip/lwip.BUILD 163 additions, 0 deletionssrc/rp2_common/pico_lwip/lwip.BUILD
- src/rp2_common/pico_malloc/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_malloc/BUILD.bazel
- src/rp2_common/pico_mbedtls/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_mbedtls/BUILD.bazel
- src/rp2_common/pico_mem_ops/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_mem_ops/BUILD.bazel
- src/rp2_common/pico_multicore/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_multicore/BUILD.bazel
- src/rp2_common/pico_platform/BUILD.bazel 23 additions, 0 deletionssrc/rp2_common/pico_platform/BUILD.bazel
- src/rp2_common/pico_printf/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_printf/BUILD.bazel
- src/rp2_common/pico_rand/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_rand/BUILD.bazel
- src/rp2_common/pico_runtime/BUILD.bazel 4 additions, 0 deletionssrc/rp2_common/pico_runtime/BUILD.bazel
- src/rp2_common/pico_standard_link/BUILD.bazel 91 additions, 9 deletionssrc/rp2_common/pico_standard_link/BUILD.bazel
- src/rp2_common/pico_stdio/BUILD.bazel 42 additions, 3 deletionssrc/rp2_common/pico_stdio/BUILD.bazel
- src/rp2_common/pico_stdio_semihosting/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_stdio_semihosting/BUILD.bazel
- src/rp2_common/pico_stdio_uart/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_stdio_uart/BUILD.bazel
- src/rp2_common/pico_stdio_usb/BUILD.bazel 18 additions, 2 deletionssrc/rp2_common/pico_stdio_usb/BUILD.bazel
- src/rp2_common/pico_stdlib/BUILD.bazel 11 additions, 3 deletionssrc/rp2_common/pico_stdlib/BUILD.bazel
- src/rp2_common/pico_unique_id/BUILD.bazel 3 additions, 0 deletionssrc/rp2_common/pico_unique_id/BUILD.bazel
- src/rp2_common/tinyusb/BUILD.bazel 12 additions, 1 deletionsrc/rp2_common/tinyusb/BUILD.bazel
- test/cmsis_test/BUILD.bazel 14 additions, 0 deletionstest/cmsis_test/BUILD.bazel
- test/hardware_irq_test/BUILD.bazel 18 additions, 0 deletionstest/hardware_irq_test/BUILD.bazel
Loading
Please register or sign in to comment