#Wokwi use case

1 messages · Page 1 of 1 (latest)

hardy fox
#

What's the use case for this?

modern barn
#

we have libraries on which we'd like to reduce the memory use in general, and CP doesn't have rich tools to monitor that, in particular when it comes to memory fragmentation. There are boards in particular where memory is really constrained, though it's on SAMD21 and SAMD51 which I don't think wokwi emulates, but the python heap and stack should behave the same as on the pico.
It is possible to take memory snapshots with a debugger, but I was thinking that having an emulator would make it more accessible, and maybe make it possible to automate some tests.
I particular I'd like to run some code that is commonly used on a Circuitplayground Express for example, some of the frozen libraries, and compare between versions of Circuitpython (6 vs 7.0 vs 7.3 vs 8) since we are always trying to balance flash size versus RAM use on those boards, quantify and detect if and when we are making some things worse