pico-sdk/src/rp2_common
Graham Sanderson b53b0bac70 Bunch of small fixes (#154)
* use valid_params_if macro for lock assertion

* fixup param checking in pwm.h

* Fix range of fractional divider parameter check in pwm.h

Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-03-04 21:22:48 -06:00
..
boot_stage2 add boot2 info to binary info 2021-03-04 21:22:48 -06:00
hardware_adc Initial Release 2021-01-20 10:44:27 -06:00
hardware_base Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_claim Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_clocks Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
hardware_divider Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_dma Add more memory barriers to avoid code re-ordering issues with DMA (#155) 2021-03-04 21:22:48 -06:00
hardware_flash Add more memory barriers to avoid code re-ordering issues with DMA (#155) 2021-03-04 21:22:48 -06:00
hardware_gpio Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
hardware_i2c Initial Release 2021-01-20 10:44:27 -06:00
hardware_interp Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
hardware_irq Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
hardware_pio Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
hardware_pll Initial Release 2021-01-20 10:44:27 -06:00
hardware_pwm Bunch of small fixes (#154) 2021-03-04 21:22:48 -06:00
hardware_resets Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_rtc Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_spi Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
hardware_sync Add more memory barriers to avoid code re-ordering issues with DMA (#155) 2021-03-04 21:22:48 -06:00
hardware_timer move two hardware_timer methods to the right doxygen group (fix #131) 2021-03-04 21:22:48 -06:00
hardware_uart Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
hardware_vreg Initial Release 2021-01-20 10:44:27 -06:00
hardware_watchdog Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_xosc Initial Release 2021-01-20 10:44:27 -06:00
pico_bit_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_bootrom Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
pico_bootsel_via_double_reset Add pico_bootsel_via_double_reset library, fix #87 (#137) 2021-03-04 21:22:48 -06:00
pico_cxx_options Initial Release 2021-01-20 10:44:27 -06:00
pico_divider Initial Release 2021-01-20 10:44:27 -06:00
pico_double Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
pico_fix Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
pico_float Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
pico_int64_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_malloc missing pico/malloc.h fixes #136 2021-03-04 21:22:48 -06:00
pico_mem_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_multicore Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
pico_platform Add more memory barriers to avoid code re-ordering issues with DMA (#155) 2021-03-04 21:22:48 -06:00
pico_printf Initial Release 2021-01-20 10:44:27 -06:00
pico_runtime Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125) 2021-03-04 21:22:48 -06:00
pico_standard_link add boot2 info to binary info 2021-03-04 21:22:48 -06:00
pico_stdio Fix -Wsign-compare warnings 2021-03-04 21:22:47 -06:00
pico_stdio_semihosting Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
pico_stdio_uart Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
pico_stdio_usb Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
pico_stdlib Initial Release 2021-01-20 10:44:27 -06:00
pico_unique_id Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
tinyusb Initial Release 2021-01-20 10:44:27 -06:00
CMakeLists.txt Add pico_bootsel_via_double_reset library, fix #87 (#137) 2021-03-04 21:22:48 -06: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.