TinyCircuits

General Category => New Product Ideas => Topic started by: alpierce on January 05, 2019, 02:18:36 PM

Title: MicroPython and or CircuitPython for the TinyZero
Post by: alpierce on January 05, 2019, 02:18:36 PM
I'd like to get MicroPython or CircuitPython running on the TinyZero board. The first bit of info I need is about the boot loader on the TinyZero. I am hoping it is the Bossa boot loader, since I am familiar with that and already have the Bossac software for uploading binary images. I have recently started using Python a lot more and it really speeds up the development cycle. It would be a great addition to the TinyZero.
Title: Re: MicroPython and or CircuitPython for the TinyZero
Post by: noob on March 01, 2019, 02:04:57 PM
would love to see something on this!
Title: Re: MicroPython and or CircuitPython for the TinyZero
Post by: dwighthubbard on June 10, 2019, 11:15:54 PM
 I was able to follow the non-uf2 installation instructions at https://learn.adafruit.com/welcome-to-circuitpython/non-uf2-installation.  To install the adafruit-circuitpython-arduino_zero-en_US-4.0.1.bin image using bossac 1.7.0 on the tinyzero board.

The board shows up as a usb drive and has worked good so far.  The repl works as well.
Code: [Select]
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 4.0.1 on 2019-05-22; Arduino Zero with samd21g18
>>> import board
>>> import digitalio
>>> 
>>> led = digitalio.DigitalInOut(board.D13)
>>> led.direction = digitalio.Direction.OUTPUT
>>> led.value = True
>>>