tree: 7c9198bc90da909861a5099e263ea00be178f307 [path history] [tgz]
  1. hardware_divider/
  2. hardware_gpio/
  3. hardware_sync/
  4. hardware_timer/
  5. hardware_uart/
  6. pico_bit_ops/
  7. pico_divider/
  8. pico_multicore/
  9. pico_platform/
  10. pico_printf/
  11. pico_stdio/
  12. pico_stdlib/
  13. boot_stage2.c
  14. CMakeLists.txt
  15. README.md
src/host/README.md

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 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