Skip to content

7.1.1-beta.1+swan_r5

Choose a tag to compare

@m-mcgowan m-mcgowan released this 01 Feb 07:03
· 12762 commits to main since this release

Changelog

  • the CIRCUITPY drive has 1MB of flash space for larger programs
  • the new board.ext attribute provides access to the Swan's extended set of GPIO pins.
  • The onboard LED is flashed briefly when starting up to give a visual cue that the python runtime is executing.
  • Based on the 7.1.0 Adafruit release

Installation Instructions

Upgrading from a previous version

Before upgrading to this version from an older version, be sure to save the scripts from the CIRCUITPY drive. This update does not preserve the contents of the CIRCUITPY drive.

Bootloader Installation

  • First download the tinuyuf2-swan_r5.bin file from this release.
  • Then put your Swan R5 into boot mode by holding the BOOT button, while pressing and releasing the RESET button.
  • Finally, run the command
    dfu-util -s 0x8000000:leave -a 0 -D tinyuf2-swan_r5.bin

After a few seconds you'll see a drive called SWANBOOT available. If you have previously installed the bootloader and don't see the SWANBOOT drive, double-tap the RESET button on the board to bring up the SWANBOOT drive.

CircuitPython Installation

NB: CircuitPython installation must be done after bootloader installation above. If you have not yet installed the bootloader, please do that now.

  • Download the file circuitpython-swan_r5.uf2 from this page.
  • Drag and Drop the downloaded file to the SWANBOOT drive on your computer

Your Swan will reset and the CIRCUITPY USB drive will appear. Happy hacking!

Getting started with CircuitPython