pico-sdk/src/host
Graham Sanderson 13be546dc3
pico_stdio improvements (#598)
* add stdio_usb_connected() method
* add PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS to allow waiting for CDC connection during init(* 
* add puts_raw and putchar_raw to skip any CR/LF translation
2021-10-08 09:01:30 -05:00
..
hardware_divider Add missing cast to uint32_t in hw_divider_u32_quotient for host (#436) 2021-05-23 08:21:09 -05:00
hardware_gpio Add gpio_set_irqover to match inover/outover/oeover (fixes #265) (#470) 2021-06-03 08:37:06 -05:00
hardware_sync Initial Release 2021-01-20 10:44:27 -06:00
hardware_timer bug in sleep_until on host mode for macOS (#502) 2021-07-06 12:19:39 -05:00
hardware_uart Implement uart_write_blocking and uart_read_blocking for host (#438) 2021-05-24 16:37:31 -05:00
pico_bit_ops make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374) 2021-05-04 08:00:17 -05:00
pico_divider make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374) 2021-05-04 08:00:17 -05:00
pico_multicore Update host multicore.h to match multicore.h in rp2_common (#439) 2021-05-24 16:35:11 -05:00
pico_platform Define __STRING for other compilers than MSVC in the host platform.h file (#434) 2021-05-24 16:40:29 -05:00
pico_printf make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374) 2021-05-04 08:00:17 -05:00
pico_stdio pico_stdio improvements (#598) 2021-10-08 09:01:30 -05:00
pico_stdlib make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374) 2021-05-04 08:00:17 -05:00
boot_stage2.c host mode fixups 2021-03-04 21:22:48 -06:00
CMakeLists.txt Rework ordering of cmake, so that libraries in subdirectories can add to internal lists as PICO_SDK_POST_LIST_FILES, PICO_CONFIG_HEADER_FILES etc. (#382) 2021-05-11 10:33:34 -05: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