CircuitPython 4.1.0 Beta 0 Released!

From the GitHub release page:

4.1.0’s biggest feature is speed! General execution of Python should be 2-5x faster and display refreshing will be faster as well.

This is the first beta version for testing. It shouldn’t break any code compatible with previous 4.x releases. Please use the latest 4.x stable release (available from the new website!) when first starting with CircuitPython. It is stable.

Download it now from circuitpython.org. See here for the full release notes.

Over 50 boards are now supported by CircuitPython 4.1.0. Check out the new circuitpython.org/downloads page for full list of all available versions.

It’s not too late to contribute to CircuitPython! Check out this guide for details. We’re always looking to improve and expect many stable releases in the 4.x line to happen through the summer. Subscribe to the Python for Microcontrollers newsletter on adafruitdaily.com for the latest news for all things Python.

circuitpython.org

Downloads are now available from circuitpython.org! This site makes it much easier to select the correct file and language for your board. The downloads page is here.

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).

New Fixes and Features since 4.0.1

  • 2-5x execution speedup thanks to MicroPython configuration change. Thanks to @dhalbert and @shazz
  • Display refresh now tracks dirty areas and only refreshes them. This drastically reduces the amount of data to send to displays and therefore speeds them up. Thanks to @tannewt
  • Added ps2io module for SAMD51s. Thanks to @elvis-epx
  • Group objects are now iterable and have index and remove methods. Thanks to @tannewt
  • make stubs can now be used to make pyi stubs for native modules. Thanks to @jreese
  • Enable WaveFile sample rates above 2 ** 16. Thanks to @C47D
  • Fix mistaken Group GC. Thanks to @ATMakersBill and @dhalbert
  • Fix button miss with gamepadshift. Thanks to @kattni, @makermelissa and @deshipu
  • Doc updates. Thanks to @jpecor and @tannewt

New Boards

Thanks

Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord:
@adafruit, @ATMakersBill, @baorepo, @C47D, @deshipu, @dhalbert, @elvis-epx, @jpecor, @jreese, @kattni, @ladyada, @madbodger, @MakerMelissa, @matt-land, @MikeBarela, @Mr. Certainly, @mrmcwethy, @ntavish, @ptorrone, @shazz, @siddacious, @sommersoft, @tannewt, 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 4.0.1.

This release is based on MicroPython 1.9.4 @25ae98f. 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.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.