circuitpython/ports/raspberrypi
Jeff Epler 57756863ef
picow: depending on memory pressure, may only be able to write 1 MSS
Foamyguy discovered that trying to send >2920 bytes at once consistently
failed. I further discovered that sometimes trying to send >1460 bytes
would fail too.  By "fail", I mean that it would take a very long time
(around 200 * 50ms) before erroneously reporting that all bytes were
written.

In my testing, this change causes larger writes to successfully
send either 2920 or 1460 bytes (possibly after doing some 50ms waits
for a previous packet to clear).

The documentation of socket.send always stated that it COULD send fewer
bytes than requested, but adafruit_httpserver assumed that the number
of requested bytes were always sent, so after this change alone,
adafruit_httpserver will still not work properly.

Closes: #7077 (albeit fixes are needed in adafruit_httpserver too)
2022-10-17 19:42:07 -05:00
..
bindings picow: Turn off wifi co-processor regulator when entering deep sleep 2022-10-13 20:10:10 -05:00
boards implement hashlib for picow 2022-10-13 20:42:50 -05:00
common-hal picow: depending on memory pressure, may only be able to write 1 MSS 2022-10-17 19:42:07 -05:00
lib Implement enough of socketpool to do ntp and non-https requests 2022-09-28 10:06:34 -05:00
lwip_inc picow: fix formatting numbers in lwip debug output 2022-10-17 19:28:02 -05:00
lwip_src Remove unused static functions 2022-09-30 11:19:21 -05:00
mbedtls Add support for SSL client certificate (load_cert_chain) 2022-10-10 15:10:53 -05:00
peripherals pico w: pins improvements 2022-10-07 08:48:36 -05:00
pioasm Implement enough of socketpool to do ntp and non-https requests 2022-09-28 10:06:34 -05:00
sdk@2e6142b15b bump pico-sdk to 1.4.0 2022-08-26 09:54:16 -05:00
sdk_config/pico merged commits from main 2021-09-19 15:51:43 +02:00
supervisor Fix CIRCUITPY drive offset in flash correctly, accounting for NVM 2022-10-06 12:39:46 -05:00
Makefile pico w: pins improvements 2022-10-07 08:48:36 -05:00
README.rst Add initial RP2040 support 2021-01-20 19:16:56 -08:00
audio_dma.c Revamp background writing 2022-04-23 13:09:36 -05:00
audio_dma.h merged commits from main 2021-09-19 15:51:43 +02: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 Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
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 Fix CIRCUITPY drive offset in flash correctly, accounting for NVM 2022-10-06 12:39:46 -05:00
mpconfigport.h Fix CIRCUITPY drive offset in flash correctly, accounting for NVM 2022-10-06 12:39:46 -05:00
mpconfigport.mk Renaming module from adcbuffer to analogbufio 2022-09-05 12:11:49 -04:00
mphalport.c rework auto-reload delay logic 2022-03-11 14:03:04 -05: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 further raspberrypi fixes 2021-11-10 12:11:06 -06: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