<aside> 📢 UPDATE As of Mu version 0b4, this guide should no longer be necessary

</aside>

Configuring Mu to work with PyCubed

Mu is an editor for embedded projects. Mu will work as a serial terminal to the PyCubed, but we first need to add our board to the list of accepted CircuitPython projects.

On Mac

  1. Close Mu (if it's open) and navigate to the Mu installation directory (might look something like this: /Applications/mu-editor.app/Contents/Resources/app/mu/modes)

  2. Open the /adafruit.py file in a text editor and add (0x04D8, None), to the the valid_boards list (somewhere around line 54) and save. The file should now contain something like:

    ...
      (0x1B4F, 0x8D22),  # SparkFun SAMD21 Mini Breakout
      (0x1B4F, 0x8D23),  # SparkFun SAMD21 Dev Breakout
      (0x04D8, None),    # All PyCubed Boards
    ]
    
  3. After saving the adafruit.py file, open Mu again and it should now talk with the PyCubed board as expected.

On PC

  1. Follow the same steps as for the mac, except the adafruit.py (it might also be called circuitpython.py) file will be located in a directory similar to... C:\\Users\\USERNAME\\AppData\\Local\\Mu\\pkgs\\mu\\modes

    (make sure to change 'USERNAME').