micropython/ports
Angus Gratton fce8d9fd55 esp32/modsocket: Try garbage collection if the socket limit is reached.
If the hard socket limit (default 16) is reached then it's possible that
socket allocation fails but garbage collection would allow it to succeed.

Perform a GC pass and try again before giving up, similar to the logic
elsewhere in MicroPython that tries a GC pass before raising MemoryError.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-11-20 19:16:16 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
embed
esp32 esp32/modsocket: Try garbage collection if the socket limit is reached. 2023-11-20 19:16:16 +11:00
esp8266 ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
mimxrt mimxrt/boards/OLIMEX_RT1010: Adjust the UART pin assignment. 2023-11-09 13:41:44 +11:00
minimal py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
nrf {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
pic16bit ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
powerpc py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
qemu-arm tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
renesas-ra renesas-ra/boards/ARDUINO_PORTENTA_C33: Fix incorrect I2C pins. 2023-11-17 15:40:33 +11:00
rp2 ports: Fix incorrect identifiers on Arduino boards. 2023-11-17 15:24:15 +11:00
samd samd: Use unique id for USB serial number. 2023-11-16 15:03:09 +11:00
stm32 ports: Fix incorrect identifiers on Arduino boards. 2023-11-17 15:24:15 +11:00
unix py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
webassembly py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
windows windows: Use the MicroPython logo as application icon. 2023-11-07 17:22:52 +11:00
zephyr extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00