circuitpython/ports/raspberrypi
Scott Shawcroft d2860b58b0
Check background pending before sleep
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.

Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
..
bindings/rp2pio Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
boards Merge pull request #5161 from ZodiusInfuser/patch_micropy 2021-08-17 12:40:12 -07:00
common-hal Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
peripherals run code formatting script 2021-03-15 19:27:36 +05:30
sdk@bfcbefafc5 Update pico-sdk to 1.2.0, using raspberrypi repo 2021-07-20 17:31:29 -04:00
sdk_config/pico Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards 2021-07-30 18:50:21 -04:00
supervisor Check background pending before sleep 2021-08-19 12:18:13 -07:00
.gitignore Add initial RP2040 support 2021-01-20 19:16:56 -08:00
audio_dma.c address review comments 2021-08-11 12:10:49 -04:00
audio_dma.h Track more carefully which audio buffers to fill, based on interrupt channels 2021-08-10 22:00:09 -04:00
background.c run code formatting script 2021-03-15 19:27:36 +05:30
background.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
boot_stage2.ld Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
fatfs_port.c run code formatting script 2021-03-15 19:27:36 +05:30
flash_info.h.jinja Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
gen_stage2.py Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
link.ld Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
Makefile It's "shared-module", not "shared-modules" 2021-08-03 10:37:47 -05:00
mpconfigport.h run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.mk Fix various RP2040 audio dma things: (see detailed commit message) 2021-07-08 08:14:49 -04:00
mphalport.c Add initial RP2040 support 2021-01-20 19:16:56 -08:00
mphalport.h run code formatting script 2021-03-15 19:27:36 +05:30
qstrdefsport.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
README.rst Add initial RP2040 support 2021-01-20 19:16:56 -08:00
stage2.c.jinja Fix doc build and address feedback 2021-03-22 15:24:27 -07:00

RP2040
==================

This port supports many development boards that utilize RP2040 chips. See
https://circuitpython.org/downloads for all supported boards.


Building
--------

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/


Port Specific modules
---------------------

.. toctree::
    ../../shared-bindings/rp2pio/index