pico-sdk/src/host
armandomontanez 6262b49c74
Some checks are pending
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
[bazel] Run buildifier on Bazel build files (#2825)
This is an automated change with the following commands:

$ find . -name "BUILD.bazel" -o -name "*.bzl" \
  -exec buildifier -lint=fix {} \;

* Add missing `load()` statements for things provided by @rules_cc. This
  is required for Bazel >9.
* Sort attributes on build targets.
* Add missing trailing commas where applicable.
2026-03-02 10:24:17 +00:00
..
hardware_divider [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
hardware_gpio [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
hardware_irq [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
hardware_sync [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
hardware_timer [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
hardware_uart [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_bit_ops [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_divider [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_multicore [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_platform [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_printf [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_rand [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_runtime [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_status_led [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_stdio [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_stdlib [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_time_adapter [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
pico_unique_id [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
boot_stage2.c SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
BUILD.bazel [bazel] Run buildifier on Bazel build files (#2825) 2026-03-02 10:24:17 +00:00
README.md SDK 2.0.0 release 2024-08-08 08:54:38 -05:00

This is a basic set of replacement library implementations sufficient to get simple applications running on your computer (Raspberry Pi OS, Linux, macOS or Windows using Cygwin or Windows Subsystem for Linux). It is selected by PICO_PLATFORM=host in your CMake build

This can be extremely useful for testing and debugging higher level application code, or porting code which is not yet small enough to run on the RP2040 or RP2350 device itself.

This base level host library provides a minimal environment to compile programs, but is likely sufficient for programs that don't access hardware directly.

It is possible however to inject additional SDK library implementations/simulations to provide more complete functionality. For an example of this see the pico-host-sdl which uses the SDL2 library to add additional library support for pico_multicore, timers/alarms in pico-time and pico-audio/pico-scanvideo from pico-extras