pico-sdk/src/host
Graham Sanderson 4904fe2e32 remove broken and fairly pointless deep sleep API (#198)
* remove broken and fairly pointless deep sleep API, use multicore_reset_core1 instead

* strict-prototype for multicore_fifo_drain() in host header

* Also for multicore_lockout_victim_init()

Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-03-04 21:22:48 -06:00
..
hardware_divider Initial Release 2021-01-20 10:44:27 -06:00
hardware_gpio N_GPIOS duplicates NUM_BANK0_GPIOS (#7) 2021-02-01 14:46:45 -06:00
hardware_sync Initial Release 2021-01-20 10:44:27 -06:00
hardware_timer fix the represntation of at_the_end_of_time to be 63 one bits rather than 32 2021-03-04 21:22:48 -06:00
hardware_uart Initial Release 2021-01-20 10:44:27 -06:00
pico_bit_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_divider Initial Release 2021-01-20 10:44:27 -06:00
pico_multicore remove broken and fairly pointless deep sleep API (#198) 2021-03-04 21:22:48 -06:00
pico_platform Change _U to _u as _U exists in ctype.h 2021-03-04 21:22:48 -06:00
pico_printf Initial Release 2021-01-20 10:44:27 -06:00
pico_stdio host mode fixups 2021-03-04 21:22:48 -06:00
pico_stdlib Initial Release 2021-01-20 10:44:27 -06:00
boot_stage2.c host mode fixups 2021-03-04 21:22:48 -06:00
CMakeLists.txt Initial Release 2021-01-20 10:44:27 -06:00
README.md Initial Release 2021-01-20 10:44:27 -06: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 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