PewPew M4

by Radomir Dopieralski

Image of Board

This board was designed to get you to make games with CircuitPython with minimal fuss and also minimal cost. It comes with a powerful SAMD51 Cortex M4 microcontroller already loaded with CircuitPython and some example games, a 160x128 display, and seven buttons arranged in a familiar way. Just plug it into USB and you can modify the example games or write your own.

Updating Warning

If you update this board from version 5.x or older to version 6.x or newer, you have to replace the file with a newer version obtained from the repository, otherwise the game selection menu will not work with the new version of CircuitPython.

Learn More

More information is available at and



Have some info to add for this board? Edit the source for this page here.

CircuitPython 9.1.0

This is the latest stable release of CircuitPython that will work with the PewPew M4.

Use this release if you are new to CircuitPython.

Release Notes for 9.1.0

Built-in modules available: _stage, array, audiocore, audioio, audiomixer, board, builtins, busdisplay, busio, busio.SPI, busio.UART, collections, digitalio, displayio, epaperdisplay, fontio, fourwire, i2cdisplaybus, keypad, keypad.Keys, math, microcontroller, nvm, os, random, storage, struct, supervisor, sys, terminalio, time, usb_cdc, zlib

Included frozen(?) modules: pew, stage, ugame

Absolute Newest

Every time we commit new code to CircuitPython we automatically build binaries for each board and language. The binaries are stored on Amazon S3, organized by board, and then by language. These releases are even newer than the development release listed above. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.

Previous Versions of CircuitPython

All previous releases of CircuitPython are available for download from Amazon S3 through the button below. For very old releases, look in the OLD/ folder for each board. Release notes for each release are available at GitHub button below.

Older releases are useful for testing if you something appears to be broken in a newer release but used to work, or if you have older code that depends on features only available in an older release. Otherwise we recommend using the latest stable release.

Update UF2 Bootloader

Latest version: v3.15.0

The bootloader allows you to load CircuitPython, MakeCode, and Arduino programs. The bootloader is not CircuitPython. You can check the current version of your bootloader by looking in the INFO_UF2.TXT file when the BOOT drive is visible (FEATHERBOOT, CPLAYBOOT, etc.).

It is not necessary to update your bootloader if it is working fine. Read the release notes on GitHub to see what has been changed. In general, we recommend you not update the bootloader unless you know there is a problem with it or a support person has asked you to try updating it.

To update, first save the contents of CIRCUITPY, just in case. Then double-click the reset button to show the BOOT drive. Drag the update-bootloader .uf2 file to the BOOT drive. Wait a few tens of seconds for the bootloader to update; the BOOT drive will reappear. After you update, check INFO_UF2.TXT to verify that the bootloader version has been updated. Then you will need to reload CircuitPython.