Some of the CircuitPython compatible boards come with CircuitPython installed. Others are CircuitPython-ready, but need to have it installed. As well, you may want to update the version of CircuitPython already installed on your board. The steps are the same for installing and updating. Here we will cover how to install or update CircuitPython on your board.
The first thing you'll want to do is download the most recent version of CircuitPython.
Scroll down to the list of CircuitPython files, and choose the file appropriate to your board. Each file includes the name of the board it's compatible with. Download the file for your board.
Next, you'll want to plug in your board using a known-good USB data cable. Make sure the USB cable is a data cable! There are some that work only for charging and can lead to a lot of frustration.
If you're using Windows 7, use the link below to download the driver package. You will not need to install drivers on Mac, Linux or Windows 10.
Nearly all CircuitPython boards ship with a bootloader called UF2 (USB Flasher version 2) that makes installing and updating CircuitPython a quick and easy process. The bootloader is the mode your board needs to be in for the CircuitPython .uf2 file you downloaded to work. If the file you downloaded that matches the board name ends in uf2 then you want to continue with this section. However, if the file ends in .bin then you have to do a more complex installation - go to this page for how to do that.
Find the reset button on your board. It's a small, black button, and on most of the boards, it will be the only button available. (On Circuit Playground Express, it's the smaller button located in the center of the board.)
Tap this button twice to enter the bootloader. If it doesn't work on the first try, don't be discouraged. The rhythm of the taps needs to be correct and sometimes it takes a few tries. If you have a Circuit Playground Express, and it's fresh-out-of-the-bag try pressing the button once.
Once successful, the RGB LED on the board will flash red and then stay green. A new drive will show up on your computer. The drive will be called
boardname is a reference to your specific board. For example, a Feather will have
FEATHERBOOT and a Trinket will have
TRINKETBOOT etc. Going forward we'll just call the boot drive
The board is now in bootloader mode! This is what we need to install or update CircuitPython.
Now find the file you downloaded. Drag that file to the
BOOT drive on your computer.
The lights should flash again,
BOOT will disappear and a new drive will show up on your computer called
Congratulations! You've successfully installed or updated CircuitPython!