circuitpython/ports/raspberrypi
Dan Halbert 59b89fdc5c Fix various audio DMA issues:
RP2040 and SAMD51:
- Detect when DMA has finished, and stop DMA audio explicitly.
- Do not accidentally reuse `first_buffer` supplied by WaveFile or RawSample. Always realloc `first_buffer` and `second_buffer`

RP2040:
- When audio playing is stopped, write a final zero to the output register. This prevents residual PWM tones.
- Handle buffer size for 8-bit samples properly for 16-bit output.
- Fail on some edge cases (which may not be possible at the moment).
2021-08-09 09:47:13 -04:00
..
bindings/rp2pio Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
boards Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards 2021-07-30 18:50:21 -04:00
common-hal partial buffer mgmt fix 2021-08-09 09:47:13 -04: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 Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
.gitignore Add initial RP2040 support 2021-01-20 19:16:56 -08:00
Makefile It's "shared-module", not "shared-modules" 2021-08-03 10:37:47 -05:00
README.rst Add initial RP2040 support 2021-01-20 19:16:56 -08:00
audio_dma.c Fix various audio DMA issues: 2021-08-09 09:47:13 -04:00
audio_dma.h Fix various audio DMA issues: 2021-08-09 09:47:13 -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
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
stage2.c.jinja Fix doc build and address feedback 2021-03-22 15:24:27 -07:00

README.rst

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