pico-sdk/src/rp2_common
bobsayshilol 25a3b36793
Fix assert in adc_set_round_robin() (#698)
The mask passed in shouldn't already be shifted by ADC_CS_RROBIN_LSB
(16) otherwise the shift in the call to hw_write_masked() would shift
all of the bits off the end of the mask, hence we should be asserting
not against ADC_CS_RROBIN_BITS (0x1f0000) but against the number of ADC
channels available.
2022-01-19 09:34:18 -06:00
..
boot_stage2 Fix syntax error in cmake when using custom stage2 (#580) 2021-10-04 13:09:23 -05:00
cmsis Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_adc Fix assert in adc_set_round_robin() (#698) 2022-01-19 09:34:18 -06:00
hardware_base revert additional assertion check which breaks used of hw_alias macro outside of functions (#635) 2021-10-26 16:07:21 -05:00
hardware_claim Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_clocks Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_divider Fixup divider save_restore for floating point too; improve tests (#405) 2021-05-13 07:38:42 -05:00
hardware_dma Fix some of the (simpler) errors reported by the doxygen command (#617) 2021-10-26 16:09:06 -05:00
hardware_exception Fix some of the (simpler) errors reported by the doxygen command (#617) 2021-10-26 16:09:06 -05:00
hardware_flash Adding/propage macros/signature typedefs for ROM functions. Make rom_func_lookup non-flash safe for flash functions (#586) 2021-10-08 09:02:19 -05:00
hardware_gpio Fix some of the (simpler) errors reported by the doxygen command (#617) 2021-10-26 16:09:06 -05:00
hardware_i2c Add DREQ methods for PWM/SPI/UART/I2C (#603) 2021-10-12 16:04:16 -05:00
hardware_interp Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_irq Platform updates (#611) 2021-10-25 12:26:06 -05:00
hardware_pio pio_set_irqn_source_mask_enabled() sets wrong irq (#655) 2021-11-12 07:51:29 -06:00
hardware_pll move PLL reset code from clocks driver to pll driver (#110) 2021-04-06 10:42:18 +01:00
hardware_pwm Add DREQ methods for PWM/SPI/UART/I2C (#603) 2021-10-12 16:04:16 -05:00
hardware_resets 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
hardware_rtc rtc_get_datetime: read the rtc registers just once each 2021-03-22 09:11:51 -05:00
hardware_spi fixup __forceinline for cpp code and add kitchen_sink cpp test (#670) 2021-12-08 12:05:49 -06:00
hardware_sync Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_timer Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
hardware_uart fixup __forceinline for cpp code and add kitchen_sink cpp test (#670) 2021-12-08 12:05:49 -06:00
hardware_vreg Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_watchdog add more/better documentation to pico/multicore (#620) 2021-10-25 12:23:41 -05:00
hardware_xosc allow override of XOSC_MHZ (#644) 2021-11-01 08:11:21 -05:00
pico_bit_ops Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_bootrom Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_bootsel_via_double_reset Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_cxx_options Initial Release 2021-01-20 10:44:27 -06:00
pico_divider Add hardware_divider to pico_divider dependencies (#571) 2021-10-04 13:09:43 -05:00
pico_double Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_fix Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_float Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_int64_ops Small API additions and minor fixes (#406) 2021-06-02 13:12:27 -05:00
pico_malloc 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_mem_ops __aeabi_memset* were switching the wrong arguments (#634) 2021-10-26 13:47:46 -05:00
pico_multicore add more/better documentation to pico/multicore (#620) 2021-10-25 12:23:41 -05:00
pico_platform fixup __forceinline for cpp code and add kitchen_sink cpp test (#670) 2021-12-08 12:05:49 -06:00
pico_printf -some typo fixes (#408) 2021-05-24 16:56:56 -05:00
pico_runtime Add __attribute__((noreturn)) to _exit (#707) 2022-01-19 09:25:40 -06:00
pico_standard_link Platform updates (#611) 2021-10-25 12:26:06 -05:00
pico_stdio fix pico_set_printf_implementation(TARGET compiler) (#593) 2021-10-12 09:08:15 -05:00
pico_stdio_semihosting Clarify header-comments about pico_enable_stdio_ CMake-functions (#705) 2022-01-19 09:30:21 -06:00
pico_stdio_uart Clarify header-comments about pico_enable_stdio_ CMake-functions (#705) 2022-01-19 09:30:21 -06:00
pico_stdio_usb Clarify header-comments about pico_enable_stdio_ CMake-functions (#705) 2022-01-19 09:30:21 -06: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
pico_unique_id include pico.h so that uint is defined (#475) 2021-06-03 15:22:28 -05:00
tinyusb Update to TinyUSB 0.12.0 (#622) 2021-10-25 08:33:42 -05:00
CMakeLists.txt removed CMSIS from SDK doxygen 2021-06-03 16:46:19 -05:00
README.md Initial Release 2021-01-20 10:44:27 -06:00

This directory contains libraries specifically targeting the RP2040 or possible future related devices. It is selected when PICO_PLATFORM=rp2040 (the default) is specified for the build

hardware_ libraries exist for individual hardware components to provide a simple API providing a thin abstraction hiding the details of accessing the hardware registers directly.

pico_ provides higher level functionality you might generally find in say an OS kernel, as well as runtime support familiar to most C programmers.