Skip to content

RP2350: gc.mem_free() causes hang or crash #9760

Closed
@bit-13

Description

@bit-13

CircuitPython version

Adafruit CircuitPython 9.2.0-rc.0 on 2024-10-23; SparkFun Pro Micro RP2350 with rp2350a

Code/REPL

import gc
gc.mem_free()

Behavior

REPL either hangs or system crashes (USB drive disconnect/reconnect)

Description

Right after unboxing my new RP2350 board installed CircuitPython 9.2.0-rc.0 and ran the above command, which hung the REPL. Attempting to allocate a large amount of memory with x = [0]*10000 also causes a hang. Either this is a bug or there's an issue with the PSRAM on this board…

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions