User Manual

It can because the memory gets fragmented differently depending on allocation order and the size of objects. Loading
.mpy files uses less memory so its recommended to do that for files you aren't editing.
How can I create my own .mpy files?
You can make your own .mpy versions of files with mpy-cross .
You can download the CircuitPython 2.x version of mpy-cross for your operating system from the CircuitPython
Releases page (https://adafru.it/tBa) under the latest 2.x version.
You can build mpy-cross for CircuitPython 3.x by cloning the CircuitPython GitHub repo (https://adafru.it/tB7), and
running make in the circuitpython/mpy-cross/ directory. Then run ./mpy-cross path/to/foo.py to create a foo.mpy
in the same directory as the original file.
How do I check how much memory I have free?
import gc
gc.mem_free()
Will give you the number of bytes available for use.
Does CircuitPython support interrupts?
No. CircuitPython does not currently support interrupts. We do not have an estimated time for when they will be
included.
Does Feather M0 support WINC1500?
No, WINC1500 will not fit into the M0 flash space.
Can AVRs such as ATmega328 or ATmega2560 run CircuitPython?
No.
Commonly Used Acronyms
CP or CPy = CircuitPython (https://adafru.it/cpy-welcome)
CPC = Circuit Playground Classic (https://adafru.it/ncE)
CPX = Circuit Playground Express (https://adafru.it/wpF)
© Adafruit Industries https://learn.adafruit.com/adafruit-metro-m4-express-featuring-atsamd51 Page 81 of 172