pico-sdk/src/rp2_common
Lyle Cheatham 0911393fe2
Changed the parameter check to avoid tripping -Werror on spin locks (#307)
This prevents a comparison between a signed and an unsigned number which
will create a warning tripping -Werror.

Also added a check for the alignment of the spin lock structure
2021-04-06 16:41:57 -05:00
..
boot_stage2 boot_stage2: cleanup and correctness fixes 2021-04-06 12:47:34 -05:00
hardware_adc Add some extra defines to platform_defs.h (#227) 2021-03-04 21:22:48 -06:00
hardware_base Add missing extern "C" to header files (closes #104) 2021-03-04 21:22:47 -06:00
hardware_claim Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_clocks corrected clk_gpout3 to gpio pin 25 as per the rp2040 datasheet (#250) 2021-03-24 09:35:02 -05:00
hardware_divider Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_dma Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_flash Remove PICO_FLASH_SIZE_BYTES warning from header as it breaks any build with -Werror; actual uses that care should warn instead (#229) 2021-03-04 21:22:48 -06:00
hardware_gpio Lots of Doxygen tweaks and fixes (#212) 2021-03-04 21:22:48 -06:00
hardware_i2c I2C doxygen typos (#287) 2021-03-29 11:37:50 -05:00
hardware_interp Clean up various C source and headers to appease -Wstrict-prototypes 2021-03-04 21:22:47 -06:00
hardware_irq Lots of Doxygen tweaks and fixes (#212) 2021-03-04 21:22:48 -06:00
hardware_pio Tweaks to PIO clkdiv-setting code (#254) 2021-03-24 09:32:38 -05:00
hardware_pll Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_pwm Fixup another level of compiler warnings, add _U() definition 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 rtc_get_datetime: read the rtc registers just once each 2021-03-22 09:11:51 -05:00
hardware_spi Add PICO_DEFAULT_SPI pins to pico.h (#225) 2021-03-04 21:22:48 -06:00
hardware_sync Changed the parameter check to avoid tripping -Werror on spin locks (#307) 2021-04-06 16:41:57 -05:00
hardware_timer hardware_timer: fix race condition whem a new timer being added becomes missed thus obviating the need for an IRQ but there is an IRQ already pending for another timer (#243) 2021-03-10 12:04:04 -06:00
hardware_uart Add PICO_DEFAULT_SPI pins to pico.h (#225) 2021-03-04 21:22:48 -06:00
hardware_vreg Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
hardware_watchdog Lots of Doxygen tweaks and fixes (#212) 2021-03-04 21:22:48 -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 Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
pico_bootsel_via_double_reset Add some extra defines to customise behaviour of STDIO_USB_RESET modes (#226) 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 Remove PICO_FLASH_SIZE_BYTES warning from header as it breaks any build with -Werror; actual uses that care should warn instead (#229) 2021-03-04 21:22:48 -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 Remove PICO_FLASH_SIZE_BYTES warning from header as it breaks any build with -Werror; actual uses that care should warn instead (#229) 2021-03-04 21:22:48 -06:00
pico_int64_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_malloc Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -06:00
pico_mem_ops Initial Release 2021-01-20 10:44:27 -06:00
pico_multicore Lots of Doxygen tweaks and fixes (#212) 2021-03-04 21:22:48 -06:00
pico_platform Lots of Doxygen tweaks and fixes (#212) 2021-03-04 21:22:48 -06:00
pico_printf fix compiler warning 2021-03-04 21:22:48 -06:00
pico_runtime Allow heap end to be equal to stack limit (#266) 2021-03-24 09:26:54 -05:00
pico_standard_link boot_stage2: cleanup and correctness fixes 2021-04-06 12:47:34 -05:00
pico_stdio Fixup another level of compiler warnings, add _U() definition 2021-03-04 21:22:48 -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 Rationalize board header pin defines, and add partner board headers (#192) 2021-03-04 21:22:48 -06:00
pico_stdio_usb Don't advertise REMOTE_WAKEUP for USB stdio as it is is not currently implemented. Longer term need to implement REMOTE_WAKUP properly in TinyUSB. Similar fix needed in MicroPython to fix MicroPython issue #6866. The symptom is that USB serial will stop working if there is a delay of > 2 seconds ish between messages. We have seen this issue on Linux laptops with USB autosuspend enabled. (#289) 2021-03-30 09:03:28 -05: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 cmake: change warning message for unititialized TinyUSB 2021-03-04 21:22:48 -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.