Releases: adafruit/circuitpython
CircuitPython 2.2.4
Another small release for new boards! This release adjusts the status LED brightness. The newer Itsy Bitsy M0 Express, Gemma M0 and Trinket M0 have a new rev of DotStar that changes the brightness curve to be much dimmer at the minimum. The fix finds a middle ground that's not too bright on old ones and not too dim on new ones.
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
Use the mpy-cross executables below to pre-compile .py files to .mpy files. You might need to do this if your .py file is too large to compile on the board. Details here. The 2.2.0 mpy-cross versions are still compatible with this new release.
Changes since 2.2.3
- @tannewt and @dhalbert tweaked the status LED brightness.
- @tuupola, @tannewt, @ladyada and @kattni improved the documentation.
Thanks
Thank you to all who used, tested, contributed helped out, and participated on GitHub and/or discord:
@dhalbert, @tannewt, @kattni, @tuupola, @jerryneedell and @ladyada and surely more we have missed. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.2.3.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Troubleshooting
Check out this guide for info on common problems with CircuitPython. If you are still having, then post to the Adafruit Support Forums and join Discord.
CircuitPython 3.0.0 Alpha 2!
3.0.0 is the latest major revision of CircuitPython and features new support for the SAMD51 (aka M4) and preliminary support for the nRF52 BLE chipset. It also features better memory utilization so more can be loaded in the same amount of space.
Alpha!
This is the first alpha release of 3.0.0. Alpha releases do not have the complete API from 2.x and are only meant for testing. (Beta release will have the full API but still need work.) Please use the latest stable release when first starting with CircuitPython. It is stable.
When you find a bug please check the current known issues and file an issue if something isn't already known.
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
New Features
- Support for SAMD51 based M4 boards from Adafruit. Thanks @tannewt, @dhalbert, @siddacious and all the M4 testers.
- Preliminary support for nRF52 BLE capable boards. Thanks @glennrub, @tralamazza, @microbuilder, @arturo182, @hathach and @jerryneedell.
- Long-lived heap allocations are better compacted. (Video) Thanks @tannewt and @dhalbert.
- Read the microcontroller's unique id through
microcontroller.cpu.uid. Thanks @sommersoft! - UART can now be created with only one direction. Thanks @dhalbert!
- Code has been reorganized to ease sharing main code across ports.
Breaking Changes!
ustructhas been replaced withstructto match CPython.- The mpy format has changed so make sure and use a 3.0.0 bundle for libraries.
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord:
@ladyada, @dhalbert, @tannewt, @microbuilder, @arturo182, @jamesadevine, @tralamazza, @hathach, @glennrub, @siddacious, @deshipu, @tdicola, @mrmcwethy, @willingc, @sommersoft, @deanm1278, @jerryneedell, @stewmystre, @boneskull, @Sigafoos, @brentru, @caternuson, @process1183, @Andon-A, @asherlie, adamwolf, dastels, @hukuzatuna, @KurticusMaximus, nis, BravoDelta, aj_nys, @wolf and surely more we have missed. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.2.3.
This release is based on MicroPython 1.9.3. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Troubleshooting
Check out this guide for info on common problems with CircuitPython. If you are still having, then post to the Adafruit Support Forums and join Discord.
Note: 3.0.0-alpha.1 was tagged long ago to give builds a number so we're already on alpha 2! Yay free numbers!
CircuitPython 2.2.3
Another small release for new boards! This has one fix for the ItsyBitsy M0 and pIRkey upcoming boards. Other boards don't actually need to be updated.
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
Use the mpy-cross executables below to pre-compile .py files to .mpy files. You might need to do this if your .py file is too large to compile on the board. Details here. The 2.2.0 mpy-cross versions are still compatible with this new release.
Changes since 2.2.1
Thanks
Thank you to all who used, tested, contributed helped out, and participated on GitHub and/or discord:
@ladyada, @dhalbert, and surely more we have missed. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.2.1.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Troubleshooting
Check out this guide for info on common problems with CircuitPython. If you are still having, then post to the Adafruit Support Forums and join Discord.
Note: 2.2.2 was incorrectly tagged so we've moved onto 2.2.3! Yay free numbers!
CircuitPython 2.2.1
This release is identical to 2.2.0 with a couple additional supported boards and a doc fix.
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
Changes since 2.2.0
- @tdicola added Feather M0 RFM69 and Feather M0 RFM9x boards to accompany the new RFM69 driver. RFM9x is not yet supported with a driver.
- @ladyada added support for the upcoming ItsyBitsy M0 Express.
- @deshipu corrected the
gamepadexample code.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.2.0.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Thanks
Thank you to all who used, tested, contributed helped out, and participated on GitHub and/or discord:
@deshipu, @kattni, @ladyada, @tdicola, and surely more we have missed. Join us on the Discord chat to collaborate.
CircuitPython 2.2.0
Fresh for the 2018 New Year, we are pleased to announce the release of CircuitPython 2.2.0 !
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
Changes since 2.1.0
- Frozen modules in the Circuit Playground Express builds are updated to their latest releases (including tap support on LIS3DH). The frozen modules include library version info in
<module>.__version__. round()was always returning0. Fixed to return correct value.- CircuitPython now writes out version information to
boot_out.txt, beforeboot.pyruns when you hard-reset the board or plug it in. - Intermittent power (e.g., bobbling the battery connector) could cause CircuitPython to think that the CIRCUITPY filesystem was damaged and erase it. Now, it waits two seconds before erasing, and double-checks just before erasing to see if filesystem still appears to be damaged.
audiobusio.PDMIn: MEMS microphone support is much improved. (There is a MEMS microphone on the Circuit Playground Express.) We fixed several bugs that could cause hard crashes. The minimum and default sampling frequency is now 16 kHz (16000). The microphone is clocked all the time to avoid having to wait for it to start up, which can take up to 0.1 seconds. When you first create aPDMInobject, CircuitPython waits forstartup_delayseconds (default 0.11 seconds) so that the first data from the microphone will be useful. The digital filter used to convert microphone data into PCM data is now much faster. Thanks @ladyada!busio.SPInow has an additional operationSPI.write_readinto()which does bidirectional input/output. Certain SPI devices use this technique for communication.- Allow zero-length reads and writes for
busio.SPI.busio.I2Cstill disallows empty reads. Thanks @deshipu! AnalogIn.valueis now much faster. It now uses the native 12-bit ADC resolution instead of doing 16-bit via oversampling. Range is still 0-65535. Also uses a faster clock rate.microcontroller.on_next_reset(): Change the behavior of what happens when the reset button is pressed: whether a normal reboot occurs, whether to go into safe mode, or whether to go directly to the bootloader. Seemicrocontroller.RunMode.- Add missing Feather M0 Adalogger pin names and correct documentation. Thanks @stewmystre!
- Fix Arduino bootloader support so that a 1200 baud reset will be noticed and Arduino IDE will be able to upload.
- Enable
framebufmodule in ESP8266 port. Thanks @jerryneedell! - Add
_stagemodule, to support the CircuitPython Stage game library. Gracefully resetgamepadmodule after soft reset. Add board definition for the uGame handheld console. Thanks @deshipu! - Add support for future products. Thanks @ladyada!
- Update USB PID for Feather M0 Express.
- Add board definition for Feather M0 Express with larger SPI flash chip. Thanks @dastels!
- Document resetting CIRCUITPY using flash erase programs and .uf2's.
- Improve readthedocs documentation generation.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.1.0.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or discord:
@mrmcwethy, @stewmystre, @deshipu, @jerryneedell, @dastels, @kattni, @ladyada, @tannewt, @dhalbert, @tdicola, Andon, NorthernPike, willingc, brad, Kurt H, hukuzatuna, Janisku7, cater, onebeartoe, JohnPark, Teevo, process1183, siddacious, Cruadeium, adafruit, microwattbott, cyrborg5, Factory Factory, jramsdale, Pedro, pcurryinahurry, adamwolf, Olanskyl, HappyDay, Raiden, TechGuy12, dobra-dobra, MattBoston, donalus, cartere, Azure Skies, CGrover, ntoll, petroochio, donalus, mpalemuse, BravoDelta, ogredrew, cascade, Darragh, BWingZero, histo, TG-Techie, ericwertz, Jack, Dao20, fede2, oldcrow, waldo, ryespy, nis, chalkers, Skr0d, Billy, Dad, Instinctive, ATMakers, Cat, sommersoft, Coldreactor, BillOwens, tastemakerchuck, CrimsonKringle, Al Bee, vj pussycat, Daikojun, rocketcoder, Ringo, and surely more we have missed. Join us on the Discord chat to collaborate.
2.2.0 Release Candidate 2
Happy New Year! We're almost ready for a 2.2 release of CircuitPython. Here's 2.2.0-rc.2, the next candidate release. Thank you if you can test it.
Installation
To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.
All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
Changes since 2.2.0-rc1
audiobusio.PDMIn: (Microphone support.) Fix error in digital filter loop, which was generating quite inaccurate sample values. Fix crashes caused by buffers of certain sizes.- Fix Arduino bootloader support so that a 1200 baud reset will be noticed and Arduino IDE will be able to upload.
- Intermittent power (e.g., bobbling the battery connector) could cause CircuitPython to think that the CIRCUITPY filesystem was damaged and erase it. Now, it waits two seconds before erasing, and doublechecks just before erasing to see if filesystem still appears to be damaged.
- Update CPX frozen libraries to their latest versions (including tap support on LIS3DH). Include library version info (
__version__). Don't include example directories. - Fix readthedocs documentation build.
Changes since 2.1.0
- Frozen modules in the Circuit Playground Express builds are updated to their latest releases.
round()was always returning `0'. Fixed to return correct value.- CircuitPython now writes out version information to
boot_out.txt, beforeboot.pyruns when you hard-reset the board or plug it in. audiobusio.PDMIn: MEMS microphone support is improved. (There is a MEMS microphone on the Circuit Playground Express.) We fixed several bugs that could cause hard crashes. The minimum and default sampling frequency is now 16 kHz (16000). The microphone is clocked all the time to avoid having to wait for it to start up, which can take up to 0.1 seconds. When you first create aPDMInobject, CircuitPython waits forstartup_delayseconds (default 0.11 seconds) so that the first data from the microphone will be useful. The digital filter used to convert microphone data into PCM data is now much faster. Thanks @ladyada!busio.SPInow has an additional operationSPI.write_readinto()which does bidirectional input/output. Certain SPI devices need this.AnalogIn.valueis now much faster. It now uses the native 12-bit ADC resolution instead of doing 16-bit via oversampling. Range is still 0-65535. Also uses a faster clock rate.microcontroller.on_next_reset(): Change the behavior of what happens when the reset button is pressed: whether a normal reboot occurs, whether to go into safe mode, or whether to go directly to the bootloader. Seemicrocontroller.RunMode.- Add missing Feather M0 Adalogger pin names and correct documentation. Thanks @stewmystre!
- Enable
framebufmodule in ESP8266 port. Thanks @jerryneedell! - Add support for future products. Thanks @ladyada!
- Add
_stagemodule, to support the CircuitPython Stage game library. Thanks @deshipu! - Gracefully reset
gamepadmodule after soft reset. Thanks @deshipu! - Update USB PID for Feather M0 Express.
- Allow zero-length reads and writes for
busio.SPI.busio.I2Cstill disallows empty reads. Thanks @deshipu! - Add board definition for the uGame handheld console. Thanks @deshipu!
- Add board definition for Feather M0 Express with larger SPI flash chip. Thanks @dastels!
- Document resetting CIRCUITPY using flash erase programs and .uf2's.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 2.1.0.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or discord:
@mrmcwethy, @stewmystre, @deshipu, @jerryneedell, @dastels, @kattni, @ladyada, @tannewt, @dhalbert, @tdicola, Andon, NorthernPike, willingc, brad, Kurt H, hukuzatuna, Janisku7, cater, onebeartoe, JohnPark, Teevo, process1183, siddacious, Cruadeium, adafruit, microwattbott, cyrborg5, Factory Factory, jramsdale, Pedro, pcurryinahurry, adamwolf, Olanskyl, HappyDay, Raiden, TechGuy12, dobra-dobra, MattBoston, donalus, cartere, Azure Skies, CGrover, ntoll, petroochio, donalus, mpalemuse, BravoDelta, ogredrew, cascade, Darragh, BWingZero, histo, TG-Techie, ericwertz, Jack, Dao20, fede2, oldcrow, waldo, ryespy, nis, chalkers, Skr0d, Billy, Dad, Instinctive, ATMakers, Cat, sommersoft, Coldreactor, BillOwens, tastemakerchuck, CrimsonKringle, Al Bee, vj pussycat, Daikojun, rocketcoder, Ringo, and surely more we have missed. Join us on the Discord chat to collaborate.
2.2.0 Release Candidate 1
We're almost ready for a 2.2 release of CircuitPython. Thank you if you can test this release candidate!
Changes since 2.1.0
- Frozen modules in the Circuit Playground Express builds are updated to their latest releases.
round()was always returning `0'. Fixed to return correct value.- CircuitPython now writes out version information to
boot_out.txt, beforeboot.pyruns when you hard-reset the board or plug it in. audiobusio.PDMIn: MEMS microphone support is improved. (There is a MEMS microphone on the Circuit Playground Express.) We fixed several bugs that could cause hard crashes. The minimum and default sampling frequency is now 16 kHz (16000). The microphone is clocked all the time to avoid having to wait for it to start up, which can take up to 0.1 seconds. When you first create aPDMInobject, CircuitPython waits forstartup_delayseconds (default 0.11 seconds) so that the first data from the microphone will be useful. The digital filter used to convert microphone data into PCM data is now much faster. Thanks @ladyada!busio.SPInow has an additional operationSPI.write_readinto()which does bidirectional input/output. Certain SPI devices need this.AnalogIn.valueis now much faster. It now uses the native 12-bit ADC resolution instead of doing 16-bit via oversampling. Range is still 0-65535. Also uses a faster clock rate.microcontroller.on_next_reset(): Change the behavior of what happens when the reset button is pressed: whether a normal reboot occurs, whether to go into safe mode, or whether to go directly to the bootloader. Seemicrocontroller.RunMode.- Add missing Feather M0 Adalogger pin names and correct documentation. Thanks @stewmystre!
- Enable
framebufmodule in ESP8266 port. Thanks @jerryneedell! - Add support for future products. Thanks @ladyada!
- Add
_stagemodule, to support the CircuitPython Stage game library. Thanks @deshipu! - Gracefully reset
gamepadmodule after soft reset. Thanks @deshipu! - Update USB PID for Feather M0 Express.
- Allow zero-length reads and writes for
busio.SPI.busio.I2Cstill disallows empty reads. Thanks @deshipu! - Add board definition for the uGame handheld console. Thanks @deshipu!
- Add board definition for Feather M0 Express with larger SPI flash chip. Thanks @dastels!
- Document resetting CIRCUITPY using flash erase programs and .uf2's.
Documentation
Documentation is available here.
Here are all the changes since 2.1.0.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or discord:
@mrmcwethy, @stewmystre, @deshipu, @jerryneedell, @dastels, @kattni, @ladyada, @tannewt, @dhalbert, @tdicola, Andon, NorthernPike, willingc, brad, Kurt H, hukuzatuna, Janisku7, cater, onebeartoe, JohnPark, Teevo, process1183, siddacious, Cruadeium, adafruit, microwattbott, cyrborg5, Factory Factory, jramsdale, Pedro, pcurryinahurry, adamwolf, Olanskyl, HappyDay, Raiden, TechGuy12, dobra-dobra, MattBoston, donalus, cartere, Azure Skies, CGrover, ntoll, petroochio, donalus, mpalemuse, BravoDelta, ogredrew, cascade, Darragh, BWingZero, histo, TG-Techie, ericwertz, Jack, Dao20, fede2, oldcrow, waldo, ryespy, nis, chalkers, Skr0d, Billy, Dad, Instinctive, ATMakers, Cat, sommersoft, Coldreactor, BillOwens, tastemakerchuck, CrimsonKringle, Al Bee, vj pussycat, Daikojun, rocketcoder, Ringo, and surely more we have missed. Join us on the Discord chat to collaborate.
Installation
Have a Feather M0 Express, Metro M0 Express, Gemma M0, Trinket M0 or Circuit Playground Express? Download a .uf2 and follow these instructions. To install our libraries:
- For Express boards, simply download the bundle for your release and copy the
libfolder onto yourCIRCUITPYdrive. New bundle release are created whenever the included libraries are updated. - For Gemma M0 and Trinket M0, the library bundle is too large. These are the 2.0.0 libraries and files that are shipped with the boards: Gemma M0 files; Trinket M0 files. You will probably want to update the library
.mpyfiles with the ones from the latest bundle.
To install on legacy boards, download a .bin file and follow the guide here for M0 and here for ESP8266. All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
2.1.0
We're pleased to bring you CircuitPython 2.1.0, with many new features and many bugfixes. Notably, Trinket M0 and Gemma M0 now include pulseio (PWM) support.
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or discord: @asherlie, @kattni , @caternuson, @KurticusMaximus (Kurt H), @jerryneedell, Sigafoos, @fabitencourt, @hukuzatuna, scruffynerf, Janisku7, ogredrew, @mrmcwethy, NorthernPike, cascade, @ntoll, CGrover, Pyrrhis Productions, TitiMoby, dastels, jramsdale, @tdicola, brad, Surrend, microwattbott, Becky Button, @dglaude, ATMakers, Instinctive, histo, Wolf, siddacious, @deshipu, caitlinsdad, smartRF, HappyDay, @deanm1278, @jedgarpark, Noe, Andon, adafruit, @ladyada, @tannewt, @dhalbert, dobra-dobra, Factory Factory, Mr. Certainly, and surely more we have missed. Join us on the Discord chat to collaborate.
Notable New Features
- All boards, including Trinket M0, Gemma M0, and Feather M0 Basic, now support
pulseio, which provides PWM and other other pulse based input/output. - The touch/no-touch threshold computation for
TouchInpins has been adjusted to be more sensitive. Added.raw_valueand.thresholdvalue access. Thanks to @ladyada for finding and testing. - ESP8266: Updated built-in neopixel support and library to match M0 boards. Thanks @jerryneedell.
- The Circuit Playground Express release now includes several libraries built into the firmware. This saves considerable RAM when they are imported. To enable, remove the library
.mpyfiles from yoursys.path(e.g., from yourlib/directory). To override, put a newer version on yoursys.path. The modules included are:NeoPixeladafruit_thermistoradafruit_lis3dh(accelerometer)adafruit_bus_device(base library for many drivers)
- New
gamepadmodule scans pins for debounced button presses regularly in the background. Thanks to @deshipu. - Added names for analog pins on Trinket M0. Update by @jerryneedell.
- M0 boards: Turned on higher current drive capability for
DigitalOutpins. - Status NeoPixel or DotStar brightness is now adjustable (#246). Thanks to @asherlie.
- Switched to using a smaller version of the math library to make room for other features. Complex number support is also turned off on non-Express boards to make room.
- Support added for hacked Trinket M0 with added SPI flash (Trinket M0 Haxpress). Thanks to @deshipu.
Notable Bugfixes
- Pin
A0is no longer available as aTouchInpin on Circuit Playground Express. It is unreliable because it is also connected to the on-board speaker - All
...ioobjects (AnalogIn, DigitalInOut, etc.) now raise an exception if you try to reuse them after they are deinitialized (deinit()). Previously, reuse might cause crashes. Thanks to @tdicola for uncovering. - Reset PDIMIn pins after
deinit(). Thanks @tdicola for finding this problem. - ESP8266: Fixed problems with SPI.
- Reinitialize the ADC before every use. Thanks @ladyada for reporting erratic ADC results.
- If CircuitPython restarts in safe mode, it does not attempt to re-create the SPI or internal flash filesystem if it appears to be damaged or missing. @tdicola noticed that this may occur when a battery runs down.
Known Issues
- If you use the
gamepadmodule and then do a soft-reset, CircuitPython will crash. This will be fixed in the next release.
Documentation
Documentation is available here.
Here are all the changes since 2.0.0.
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Installation
Have a Feather M0 Express, Metro M0 Express, Gemma M0, Trinket M0 or Circuit Playground Express? Download a .uf2 and follow these instructions. To install our libraries:
- For Express boards, simply download the bundle for your release and copy the
libfolder onto yourCIRCUITPYdrive. A new 2.1.0 bundle will be available shortly, with updated and additional libraries. The current 2.0.0 bundle is completely compatible with CircuitPython 2.1.0. - For Gemma M0 and Trinket M0, the library bundle is too large. Download a smaller set of 2.0.0 libraries and files that are shipped with the boards: Gemma M0 files; Trinket M0 files.
To install on legacy boards, download a .bin file and follow the guide here for M0 and here for ESP8266. All builds except ESP8266 are available as both UF2 and bin files here along with test builds.
2.0.0 - Storage
2.0.0 is here! 2.0.0 updates CircuitPython to a MicroPython 1.9.2 foundation that we built awesome data storage related functionality on. Now you can write files to the file system and, on some boards, write raw bytes to a non-volatile section of memory.
Thank you to all CircuitPython and MicroPython contributors. Second, thank you to all who tested and found issues with 2.0.0 betas: @ladyada, @ntoll, @deshipu, @willingc, @jerryneedell, @KurticusMaximus, @kattni, @cledic, @diogoviannaaraujo, @cpunches, @eighthree, @joeynelson, @mrmcwethy, @fabitencourt, @hukuzatuna. From discord: scruffynerf, Sigafoos. Please keep up the awesome testing! Join us on the Discord chat to collaborate.
Here are the changes since 1.0.0:
- Update to MicroPython 1.9.2 which supports mounting multiple file systems at once.
- Introduce a
storagemodule to facilitate mounting and unmounting file systems. - atmel-samd: Increase heap size from 16k to 20k. This means more code can be loaded. Thanks @dhalbert!
- Introduce a
nvm.ByteArrayto provide limited byte storage even when the file system is read-only. - Explicitly load frozen modules from the
.frozenpython path instead of the empty path implicitly. - Documentation improvements thanks to @willingc, @KurticusMaximus, @mrmcwethy and @dhalbert .
- atmel-samd:
microcontroller.cpu.temperaturesupport added. - atmel-samd: Introduce
audiobusio.PDMInfor recording sound to memory from a PDM microphone such as the one on the CircuitPlayground Express. - atmel-samd: CircuitPlayground Express. NeoPixel library is now frozen in.
Moving from 1.0.0 to 2.0.0 is not a perfect process. There are a few things that break when doing so.
- mpy files compatible with 1.0.0 are NOT compatible with 2.0.0 because MicroPython changed the format. A 2.0.0 bundle is available here. (Its built by changing the branch of circuitpython in the bundle repo before building it.)
uosis replaced byos,storageandmultiterminalurandomis replaced byrandom
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Have a Feather M0 Express, Metro M0 Express, Gemma M0, Trinket M0 or Circuit Playground Express? Download a .uf2 and follow these instructions. To install our libraries:
- For Express boards, simply download the bundle for your release and copy the
libfolder onto yourCIRCUITPYdrive. - For Gemma M0 and Trinket M0, the library bundle is too large. Download a smaller set of 2.0.0 libraries and files that are shipped with the boards: Gemma M0 files; Trinket M0 files.
To install on legacy boards, download a .bin file and follow the guide here for M0 and here for ESP8266.
2.0.0 Release Candidate 2
2.0.0 is getting close to ready! We had a number of people who tested and found issues with RC1: @ladyada, @ntoll, @deshipu, @willingc, @jerryneedell, @KurticusMaximus, @kattni. Please keep up the awesome testing! Join us on the Discord chat to collaborate.
DO NOT use this release if all you want to do is try CircuitPython. 1.0.0 is much better for playing around.
Here are the changes since Release Candidate 1:
- Add the
machinemodule back to the ESP8266 build. This fixes WebREPL. (Thanks @jerryneedell and @KurticusMaximus for finding this.) - Add support for 8-bit audio recording with
audiobusio. Thanks @ntoll for testingaudiobusio. - Documentation improvements thanks to @willingc, @KurticusMaximus and @dhalbert .
- .frozen in
sys.pathcan now be overridden by new files on the file system. - Reliability improvements around CTRL-C thanks to @dhalbert and @ladyada.
Moving from 1.0.0 to 2.0.0 is not a perfect process. There are a few things that break when doing so.
- mpy files compatible with 1.0.0 are NOT compatible with 2.0.0 because MicroPython changed the format. A 2.0.0 bundle is available here. (Its built by changing the branch of circuitpython in the bundle repo before building it.)
uosis replaced byos,storageandmultiterminalurandomis replaced byrandom
This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).
Have a Feather M0 Express, Metro M0 Express, Gemma M0, Trinket M0 or Circuit Playground Express? Download a .uf2 and follow these instructions. To install our libraries simply download the bundle for your release and copy the lib folder onto your CIRCUITPY drive.
To install on legacy boards, download a .bin file and follow the guide here for M0 and here for ESP8266.