You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PSRAM will be used exclusively if MICROPY_GC_SPLIT_HEAP == 0,
it will be added to RAM if MICROPY_GC_SPLIT_HEAP == 1,
and the system will fall back to RAM only if it's not detected.
Due to the size of PSRAM, GC stack was overflowing and causing
the GC to scan through the entire memory pool.
This caused noticable slowdowns during GC. Increase the stack
from 256 to 4096 bytes to avoid overflow and increase the
stack entry type size to accomodate 8MB+ PSRAM.
Changes:
ports/rp2/mpconfigport.h: Make split-heap optional and enable by default.
Increase GC stack entry type to uint32_t.
Raise GC stack size.
Co-authored-by: Kirk Benell <[email protected]>
Signed-off-by: Phil Howard <[email protected]>
0 commit comments