Releases: adafruit/circuitpython
5.0.0 Release Candidate 1
This is a 5.0.0 Release Candidate -- please test
This is release 5.0.0-rc.1 (Release candidate 1). If this release does not have show-stopper issues, it will be re-released as 5.0.0, the first 5.x.x stable release.
If you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontroller families, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy to select the correct file and language for your board. The downloads page is here. Downloads are no longer available from the GitHub release pages because of the large number of files for each release.
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 Features, Updates, and Fixes Since 5.0.0-rc.0
i.MX
- Fix I2C clock speed on i.MX boards. Thanks @mubes.
- Freeze
adafruit_requests
andadafruit_esp32spi
libraries into mimxrt1011 builds to save RAM. Thanks @arturo182.
Other board-specific fixes
- Arduino M0 boards now have both
.bin
and.uf2
downloads available. Thanks @dhalbert, and thanks to @fgallaire for pointing out the issue.
Build infrastructure
- Release download links available at https://circuitpython.org/downloads now point to AWS S3 instead of to GitHub release assets. Thanks @dhalbert, @jwcooper, and @sommersoft.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New Since 5.0.0-rc.0
None.
Breaking Changes and Deprecations from 4.x
- 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
displayio
operations that read from an SD card (e.g.,OnDiskBitmap
) will interfere with other SD card operations and can cause lockup. To work around this problem, do not read or write files on the SD while the display is updating, and vice versa.- See https://github.com/adafruit/circuitpython/issues for other issues.@
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord, including @arturo182, @bmeisels, @DavePutz, @dhalbert, @fgallaire, @hierophect, @jamesbowman, @jepler, @ladyada, @lgnashold, @maholli, @makermelissa, @mubes, @neubauek, @pdp7, @rhooper, @tannewt, @ATMakersBill, @AndrewTribble, @anne B, @antonio, @cgrover, @CarlFK, @curt Olson, @Dar, @davep, @DavidGlaude, @DudeImOnly6, @Duewester, @KingerNorth, @SouthernDragon, @TG-Techie, @ThomasAtBBTF, @adafruit, @anecdata, @brentru, @cater, @charlesburnaford, @codeNSolder, @deshipu, @dherrada, @diegoMini+, @ednl, @FoamyGuy, @geekguy, @graham, @hexthat, @jasonp, @Jerryn, @kattni, @kjw, @madbodger, @marius_450, @mscosti, @ntoll, @siddacious, @sommersoft, @stargirl, @timvictor, @v923z 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 5.0.0-rc.0.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Release Candidate 0
This is a 5.0.0 Release Candidate -- please test
This is release 5.0.0-rc.0 (Release candidate 0). If this release does not have show-stopper issues, it will be re-released as 5.0.0, the first 5.x.x stable release.
If you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontroller families, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 5
General
- Speed up heap allocation by tracking first free chunk for multiple block sizes. Thanks @tannewt.
- Fix crash after empty REPL session. Thanks @tannewt.
- Fix MacOS crash when Mac wakes up with an ejected CIRCUITPY. Thanks @tannewt.
- Added draft implementation of
eveL
, the Gameduino low-level bindings. Thanks @jamesbowman. - Allow
storage.remount()
to work even if MSC is disabled. Thanks @bmeisels. time.monotonic_ns()
is now accurate to microseconds.time.sleep()
now rounds to the nearest millisecond. Thanks @dhalbert.- Include filename in "No such file/directory" error messages. Thanks @dhalbert.
- Fix
os.stat()
integer overflow on non-longint builds. Thanks @dhalbert. - Implement
to_bytes(..., signed=True)
. Thanks @dhalbert. - Support echoing of Unicode characters in REPL. Thanks @DavePutz.
- Add RTS/CTS and RS485 capabilities to
busio.UART
. Thanks @mubes.
displayio
- Update rotation so 0 is the default, making
OnDiskBitmap
much faster. Thanks @ladyada. - Allow tuple or list for
displayio.Palette
color. Thanks @dhalbert. - Fix
OnDiskBitmap
documentation. Thanks @makermelissa.
nRF and BLE
- Add cached buffer on heap for nRF
neopixel_write
. Thanks @rhooper and @dhalbert. - Add nRF SPIM3 support, allowing 32MHz SPI. Thanks @dhalbert.
- Fix using too-small SPI transactions on nRF. Thanks @dhalbert.
- Correct I2C frequency setting on nRF. Thanks @dhalbert.
- Enable
_bleio
singletonAdapter
when_bleio
is imported. Thanks @dhalbert. - Disable experimental BLE file editing service for now. Thanks @tannewt.
- Improve BLE error messages. Thanks @tannewt.
STM
- Add core temperature and voltage for STM32. Thanks @hierophect.
i.MX
- Fix SPI clock speed on iMX. Thanks @mubes.
- Fix i.MX UART initialization. Thanks @mubes.
- Enable
displayio
formimxrt10xx
boards. Thanks @arturo182. - Add directly loadable image support for i.MX. Thanks @mubes.
Other board-specific fixes
- Fix Arduino MKR Zero USB VID. Thanks @fgallaire.
- Add additional pin definitions for OHS2020 board. Thanks @pdp7.
Build infrastructure
- Add support for W25Q80DV external flash chip. Thanks @lgnashold.
- Allow CIRCUITPY drive name to be set in
mpconfigboard.h
. Thanks @mubes. - Fix a build alignment warning. Thanks @mubes.
- Fix build checks for proper flash granularity for flash erases. Thanks @dhalbert.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.5
- SparkFun SAMD51 Thing Plus. Thanks @jepler.
- Feather M7 1011. Thanks @arturo182.
- Arduino Nano 33 IoT. Thanks @fgallaire.
- PyCubed. Thanks @maholli.
- Espruino Wifi. Thanks @hierophect.
- Espruino Pico. Thanks @hierophect.
- CircuitBrains Basic. Thanks @neubauek.
- CircuitBrains Deluxe. Thanks @neubauek.
Breaking Changes and Deprecations from 4.x
- 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
displayio
operations that read from an SD card (e.g.,OnDiskBitmap
) will interfere with other SD card operations and can cause lockup. To work around this problem, do not read or write files on the SD while the display is updating, and vice versa.- See https://github.com/adafruit/circuitpython/issues for other issues.@
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord, including @arturo182, @bmeisels, @DavePutz, @dhalbert, @fgallaire, @hierophect, @jamesbowman, @jepler, @ladyada, @lgnashold, @maholli, @makermelissa, @mubes, @neubauek, @pdp7, @rhooper, @tannewt, @ATMakersBill, @AndrewTribble, @anne B, @antonio, @cgrover, @CarlFK, @curt Olson, @Dar, @davep, @DavidGlaude, @DudeImOnly6, @Duewester, @KingerNorth, @SouthernDragon, @TG-Techie, @ThomasAtBBTF, @adafruit, @anecdata, @brentru, @cater, @charlesburnaford, @codeNSolder, @deshipu, @dherrada, @diegoMini+, @ednl, @FoamyGuy, @geekguy, @graham, @hexthat, @jasonp, @Jerryn, @kattni, @kjw, @madbodger, @marius_450, @mscosti, @ntoll, @siddacious, @sommersoft, @stargirl, @timvictor, @v923z 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 5.0.0-beta.5.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Beta 5
This is a Beta Release
This is release 5.0.0 beta.5. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 4
- Fix BLE reinitialization on soft reload, preventing some hangs and crashes. Thanks @dhalbert.
- Increase maximum number of BLE connection from 2 to 5. Thanks @dhalbert.
- Fixed
_bleio.PacketBuffer.packet_size
returning wrong value. Thanks @dhalbert. - Most
OSError
exceptions that involve filenames will print the filenames, so you know which filename can't be found, etc. (on vfat only). Thanks @dhalbert. - Fix use and exposure of internal buffers for
PixelBuf
. Thanks @tannewt. displayio.Palette
now takes tuples and lists as color values in addition to integers. Thanks @kattni for noticing the issue and @jepler and @dhalbert for the fix.- Improve DMA for stereo
AudioOut
. Thanks @jepler. - Increase stack size on Circuit Playground Express builds to accommodate updated CP library. Thanks @dmopalmer for noticing the issue, and @kattni and @dhalbert for the fix.
- Turn off on-board user NeoPixels after soft reload on Circuit Playground Bluefruit, PyBadge, and PyGamer. Thanks @dhalbert.
- Update and improve CLUE
board
definition. Thanks @ladyada and @dhalbert. - Use hardware rotation to speed up CLUE display. Thanks @ladyada.
- Allow specifying background color for
stage
library and_stage
native module. Thanks @deshipu. - Add
gamepad
to CPX crickit and displayio builds; needed for updated CP library. Thanks @dhalbert. - Update all frozen libraries. Thanks @dhalbert.
- Update handling of bad nRF fuse setting. Thanks @dhalbert.
- Fix on-board display initialization code pin handling. Thanks @dhalbert.
- Fix compilation of native micropython on OS X. Thanks @tsupplis.
- Add automatic builds of
mpy-cross
to GitHub actions. Thanks @jepler. - Fix native module support matrix generation. Thanks @deshipu.
- Improve README documentation of differences from MicroPython. Thanks @deshipu.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.4
- ndGarage Ndbit6. Thanks @ndGarage.
- Feather Bluefruit Sense. Thanks @ladyada.
- meowbit_v121. Thanks @hierophect.
- teensy40. Thanks @tannewt.
- imxrt1060_evk. Thanks @tannewt.
- imxrt1020_evk. Thanks @tannewt.
Breaking Changes and Deprecations from 4.x
- 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
displayio
operations that read from an SD card (e.g.,OnDiskBitmap
) will interfere with other SD card operations and can cause lockup. To work around this problem, do not read or write files on the SD while the display is updating, and vice versa.- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @tsupplis, @timvictor, @theacodes, @tannewt, @sommersoft, @shane, @rhooper, @pdp7 (Drew Fustini), @ntoll, @ndGarage, @mr. Certainly, @makermelissa, @maholli, @madbodger, @ladyada, @kevinjwalters, @kattni, @joey, @jerryneedell, @jepler, @jasonp, @hierophect, @geekguy, @Frank.H, @FoamyGuy, @Duewester, @dherrada, @dhalbert, @deshipu, @dcbricetti, @DavidGlaude, @dastels, @Dar-Scott, @CudaCoreRoo, @codeNsolder, @cgrover, @carternuson, @callmeraffiq, @brentru, @bitbank Mr. Optimization, @becky-lou, @ATMakersBill, @arturo182, @ardnew, @anecdata, @aine, 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 5.0.0-beta.4.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Beta 4
This is a Beta Release
This is release 5.0.0 beta.4. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 3
- Add BLE bonding. Thanks @dhalbert.
- Fix tuple subscripting regression. Thanks @rhooper.
- STM32: Fix I2C and clean up
busio
. Thanks @hierophect. - Make buffer handling more robust for
urandom
. Thanks to @jepler - Updates for Capable Robot USB Hub. Thanks @CapableRobot.
mimxrt1011
updates. Thanks to arturo182.- Add
Dxx
pin names to Feather M4 Express. Thanks @scs217. - Spresense: use source files instead of preocmpiled binaries for
mkspk
. Thanks @kamtom480. - Spresense: fix
board_timerhook
. Thanks @kamtom480. - Use Python 3 to run all Python scripts. Thanks @theodox.
- Fix support matrix generation. Thanks @deshipu.
- Requiring I2C pullups can now be turned off for a build. Thanks @dhalbert.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.3
- Ohs2020 badge. Thanks @mwelling.
- Seeduino XIAO. Thanks @dalegrover
- Open Book. Thanks @joeycastillo.
- AramCon Badge 2019. Thanks @bmeisels.
Breaking Changes and Deprecations from 4.x
- 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @ATMakersBill, @anneb, @cgrover, @Dar-Scott, @DrewFustini, @KittenCanaveral, @TG-Techie, @arturo182, @bmeisels, @brentru, @caternuson, @codeNsolder, @CSchmitz, @dalegrover, @deshipu, @deshipu, @dglaude, @dhalbert, @dherrada, @FoamyGuy, @geekguy, @hathach, @hierophect, @hukuzatuna, @jepler, @Jerryn, @joeycastillo, @kamtom480, @kattni, @kevinjwalters, @ladyada, @madbodger, @maholli, @makermelissa, @mwelling, @nickzoic, @osterwood, @rhooper, @scs217, @siddacious, @tannewt, @theacodes, @theodox, @wallarug 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 5.0.0-beta.3.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Beta 3
This is a Beta Release
This is release 5.0.0 beta.3. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4, iMX RT10xx and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 1
- Initial support for the iMX RT10xx microcontroller line from NXP. Huge thanks to @arturo182.
_pixelbuf
's API has been finalized and will speed up the DotStar and Neopixel libraries once they are updated. Huge thank you to @rhooper and @kattni.- Added
_bleio.PacketBuffer
to allow for packet oriented BLE protocols such as the Apple Media Service and BLE MIDI. Thanks to @tannewt. - File creation time on nRF now uses the RTC correctly. Thanks to @iot49.
displayio
now supports both displays on Monster M4SK. Thanks to @Marius-450audiomp3.MP3
has been namedaudiomp3.MP3Decoder
so that it makes sense with the new.file
attribute that enables decoder reuse. Thanks to @jepler- Numerous audio related fixes. Thanks to @jepler.
- Numerous USB fixes. Thanks to @hathach
- nRF UARTs are reset correctly. Thanks to @tannewt
- Added
board.VOLTAGE_MONITOR
to feather_stm32f405_express. Thanks to @jerryneedell - Correct UART pin mapping on hallowing_m4_express. Thanks to @tannewt and fnord
- The frozen HID library is now 4.0.0 on CPX and pIRkey which requires passing in a list of HID devices.
- A doc fix. Thanks to @dglaude.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.2
- NXP iMXRT 1010-EVK. Thanks to @arturo182
- arturo182 Feather iMX RT1011. Thanks to @arturo182
- arturo182 Feather iMX RT1062. Thanks to @arturo182
- Adafruit Clue nRF52840 Express. Thanks to @dhalbert
Breaking Changes and Deprecations from 4.x
- 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @albang, @arturo182, @cbyr2401, @CedarGroveStudios, @Dar-Scott, @deshipu, @dglaude, @dhalbert, @dmgrime, @dpgeorge, @gotfredsen, @hathach, @hexthat, @hierophect, @iayanpahwa, @iot49, @jepler, @Jerryn, @JoeBakalor, @KalbeAbbas, @kattni, @ladyada, @makermelissa, @Marius-450, @rafa-gould, @rhooper, @sarfata, @tannewt, @theacodes, @urish, @wallarug 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 5.0.0-beta.2.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Beta 2
Backup your files before updating!!!
This is a Beta Release
This is release 5.0.0 beta.2. It improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4 and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 1
- Improve filesystem layout in preparation for BLE bonding support. It may overwrite your existing files so make sure to back them up before updating! Thanks to @dhalbert
Display.rotation
is now settable. Thanks to @jepler- Better USB eject logic. Now mounts on replug when battery powered. Thanks to @tannewt
- Fixes for crashes on GCC9. Thanks to @dpgeorge, @dhalbert, @jerryneedell and @tannewt
- Numerous nRF fixes. Thanks to @jepler, @kattni and @dhalbert
- Numerous audio fixes. Thanks to @jepler
- Updated nrfx and TinyUSB. Thanks to @hathach
- Updated frozen libraries. Thanks to @kattni, @jepler and @dhalbert
- Add building doc. Thanks to @rhooper
- Doc update. Thanks to @albang
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.1
- Teknikio Bluebird Thanks to @JoeBakalor
- XinaBox CC03. Thanks to @gotfredsen and @KalbeAbbas
- XinaBox CS11. Thanks to @gotfredsen and @KalbeAbbas
- STM32 Blackpill. Thanks to @hierophect
Breaking Changes and Deprecations from 4.x
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead. - Removed
re
from CircuitPlayground Express Display build. - Removed
gamepad
from CircuitPlayground Express Crickit build.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @albang, @cbyr2401, @CedarGroveStudios, @Dar-Scott, @dhalbert, @dmgrime, @dpgeorge, @gotfredsen, @hathach, @hexthat, @hierophect, @iayanpahwa, @jepler, @Jerryn, @JoeBakalor, @KalbeAbbas, @kattni, @ladyada, @makermelissa, @rafa-gould, @rhooper, @sarfata, @tannewt, @theacodes, @urish, @wallarug 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 5.0.0-beta.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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
Update for new Circuit Playground lib; fix PyRuler RGB LED; fix nrf PWMOut.deinit()
4.1.2 is a minor stable release. Most notably, it updates the adafruit_circuitplayground
frozen library for Circuit Playground Express. It shouldn't break any code compatible with previous 4.x releases. If you don't have a Circuit Playground Express or a PyRuler, or a board with frozen libraries, there is no strong reason to update to 4.1.2.
Download it now from circuitpython.org. See here for the full release notes.
(In case you're wondering, release 4.1.1 was built incorrectly and was deleted.)
Over 60 boards are now supported by CircuitPython 4.1.2. Check out the new circuitpython.org/downloads page for full list of all available versions.
Contribute to CircuitPython! Check out this guide for details. 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.1.0
- On Circuit Playground Express (CPX) builds, the frozen-in
adafruit_circuitplayground
library now supports:
from adafruit_circuitplayground import cp
in addition to the previous standard import:
from adafruit_circuitplayground.express import cpx
This allows uniform library support for the the Circuit Playground Bluefruit (which requires CircuitPython 5.x). The library examples have all been updated to usecp
instead ofcpx
. The namescp
andcpx
can be used identically: only theimport
is different. You do not need to change your existing code. Thanks @kattni. - The stack size on CPX builds has been increased slightly to accommodate the restructured library. Thanks @dhalbert and @jepler.
- Other frozen libraries have been updated to their latest versions. Thanks @dhalbert.
- The PyRuler now displays correct colors on its on-board DotStar RGB LED. Thanks @dhalbert.
PWMOut.deinit()
on nrf builds was now releases the pin. Thanks @jepler.- The library freezing process now makes sure not to include subdirectories of excluded directories. Thanks @jepler.
- Translated messages are now compressed more effectively, preventing certain translated builds from being too large. Thanks @jepler.
Thanks
Thank you to all who contributed and tested to this release: @dhalbert, @jepler, @kattni, @ladyada, @tannewt.
Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
Here are all the changes since 4.1.0.
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 trouble, then post to the Adafruit Support Forums and join Discord.
CircuitPython 5.0.0 Beta 1
This is a Beta Release
This is release 5.0.0 beta.1. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and improvements to BLE support, support for the STM32F4 and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Beta 0
- Add MP3 playback support and audio improvements. Thanks to @jepler, @urish, @Dar-Scott
- Various BLE fixes and improvements including pairing support, raising specific BluetoothErrors and extended advertisements. Thanks to @kattni, @tannewt and @dhalbert
- Filesystem creation now includes
code.py
. Thanks to @iayanpahwa - Added Korean translation thanks to @rafa-gould and @jepler
- Additional Chinese Pinyin translations. Thanks to @hexthat
- The @micropython.native decorator will no longer throw an exception when it isn't supported. It will fallback to using byte code. Thanks to @theacodes
- Fixed
displayio
ePaper support that lead to displays not updating. Thanks to @tannewt - Fixed
displayio
support in STM32F4. Thanks to @hierophect - Fixed UART blocking behavior on SAMD. Thanks to @dhalbert
- Fixed crash from attempt at long living frozen code. Thanks to @dmgrime
- Removed Robo Hat MM1 M0 board. Thanks to @wallarug
- Switched to GCC 9 for builds. Thanks to @jepler
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-beta.0
- shIRtty. Thanks to @sarfata
- PYB Nano V2. Thanks to @hierophect
Breaking Changes and Deprecations from 4.x
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @cbyr2401, @CedarGroveStudios, @Dar-Scott, @dhalbert, @dmgrime, @hexthat, @hierophect, @iayanpahwa, @jepler, @Jerryn, @kattni, @ladyada, @makermelissa, @rafa-gould, @sarfata, @tannewt, @theacodes, @urish, @wallarug 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 5.0.0-beta.0.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Beta 0
This is a Beta Release
This is release 5.0.0 beta.0. Beta releases are largely feature-complete, but are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and changes to BLE support, support for the STM32F4 and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Alpha 5
- The
_bleio
module API has been reworked. There is now aConnection
class which manages BLE service discovery. Advertising and initial connection setup have been moved toAdapter
.Central
,Peripheral
, andScanner
have been removed. Thanks @tannewt, and thanks @dhalbert for reviews and bugfixes. - STM32F4 port: All thanks to @hierophect.
urandom
now uses the on-chip random number generator.- Support
neopixel_write
. - Raise STM32F405 clock speed.
- Add microsecond delay routines.
- Shut off DAC when not in use.
- Add default
board.I2C()
,board.SPI()
, andboard.UART()
devices. - Support
displayio
.
- Refactor pin-reset and pin-never-reset routines to
common-hal
. Thanks @hierophect. - GitHub Actions: do not try to upload to Amazon S3 if running in a fork. Thanks @jepler.
- Prevent build issues due to
xargs
overflow. Thanks @jepler. - Allow boards to change USB interface description text, replacing the default "CircuitPython". Thanks @theacodes.
- Fix
displayio.I2CDisplay
reset issue. Thanks @makermelissa. - Allow board builds to to enable
@micropython.native
decorator. Thanks @theacodes.
New Boards
Find downloads for all boards, including these, at https://circuitpython.org/downloads.
New since 5.0.0-alpha.5
- Winterbloom Sol. Thanks @theacodes.
New since 4.1.0
- Adafruit Circuit Playground Bluefruit. Thanks @dhalbert.
- Adafruit Circuit Playground Express with
displayio
:displayio
turned on for CPX. Thanks @tannewt. - Adafruit Feather STM32F405 Express. Thanks @hierophect.
- Adafruit HalloWing M4 Express. Pin additions. Thanks @makermelissa.
- Adafruit ItsyBitsy nRF52840 Express. Thanks @dhalbert and @ladyada.
- Adafruit Monster M4SK. Fix pin errors. Thanks @kattni.
- Adafruit PyPortal Titano. Thanks @brentru
- Arduino Nano 33 BLE. Thanks @dhalbert and @ladyada.
- PewPew M4. Thanks @deshipu.
- PyBoard V11. Thanks @hierophect.
- Robo HAT MM1 M4. Thanks @wallarug.
- STM32F411E Discovery. Thanks @hierophect.
- STM32F412G Discovery. Thanks @hierophect.
- Serpente. Thanks @arturo182.
- Snekboard. Thanks @keith-packard.
- Sony Spresense. Thanks Sony @kamtom480.
- Sparkfun QWIIC Micro with and without flash. Thanks @edspark.
- StringCar M0 Express. Thanks @cgrover.
Breaking Changes and Deprecations from 4.x
- The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in_bleio
since 4.0.0. Please use the latestadafruit_ble
library for end-user BLE programming. - The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - Moved
audioio.Mixer
toaudiomixer.Mixer
, which is only available on M4s. Movedaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Added
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @CedarGroveStudios, @dhalbert, @hierophect, @jepler, @Jerryn, @ladyada, @makermelissa, @tannewt, @theacodes 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 5.0.0-alpha.5.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.
CircuitPython 5.0.0 Alpha 5
This is an Alpha Release
This is the fifth alpha release of CircuitPython 5.0.0. Alpha releases are meant for testing. Use the latest stable 4.x release when first starting with CircuitPython.
When you find a bug please check the current known issues and file an issue if something isn't already known.
5.0.0
5.0.0 is the latest major revision of CircuitPython. It features many improvements and enhancements to displayio
, including grayscale OLED and e-paper displays, extensive additions and changes to BLE support, support for the STM32F4 and Sony Spresense microcontrollers, and PWM audio support.
Download from circuitpython.org
Downloads are available from circuitpython.org! The site makes it easy 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 Features, Updates, and Fixes since 5.0.0 Alpha 4
- Circuit Playground Bluefruit: disable onboard speaker by default. Thanks @jepler.
- Adjust on-board DotStar brightness to accommodate different inherent brightnesses for different versions of DotStars. Thanks @dhalbert.
- Add
microprocessor.cpu.voltage
to measure voltage supplied to chip. Thanks @dhalbert. - Better PyPortal Titano display support. Thanks @brentru and @ladyada.
- Allocate two available I2C objects on Circuit Playground Bluefruit and Arduino Nano 33 BLE to accommodate on-board I2C sensors. This is at the expense of dropping down to a single SPI peripheral.
- Remember original specified PWMOut duty cycle and use when recalculating to avoid accumulating errors. Thanks @theacodes.
- Allow setting max USB packet size for MSC. Thanks @kamtom480.
- Parameterize stack location and limits. Thanks @kamtom480.
- Support
__bytes__()
builtin. Thanks @tannewt. - Improve
unix
build support for undefined architectures. Thanks @jerryneedell. - Fix various minor code problems found by automated code-scanning tool. Thanks @jepler.
- Update
lib/tinyusb
to fix HID issues. Thanks @dhalbert and @hathach. - Update frozen modules. Thanks @tannewt.
- On nrf, deactivate PWM on
PWMOUT.deinit()
. Thanks @jepler. - nrf: use analog reference voltage that matches other ports. Thanks @jepler.
- Additional German translations. Thanks @Retoc, @Senuros, and @kickbutts.
- Addition Pinyin translations. Thanks @hexthat.
- Improve
rtc
documentation. Thanks @theacodes. - Improve automation of module support matrix in documentation. Thanks @sommersoft.
- Improve
README.rst
. Thanks @darkmusic. - atmel-samd: Fixes for
AnalogOut
andAudioOut
. Thanks @jepler. - Remove unsupported ports from
ports
source tree. Thanks @dhalbert. - Stop running unneeded thread tests, which sometimes break the builds. Thanks @jepler.
- Always build certain modules needed by all ports. Thanks @hierophect.
- Improve release build handling. Thanks @tannewt.
- Make build fail when boards are missing. Thanks @tannewt.
- Do not re-upload release assets already uploaded. Thanks @tannewt.
New and Improved Boards
Find all boards at https://circuitpython.org/downloads.
- itsybitsy_nrf52840_express. Thanks @dhalbert and @ladyada.
- arduino_nano_33_ble. Thanks @dhalbert and @ladyada.
- serpente. Thanks @arturo182.
- stringcar_m0_express. Thanks @cgrover.
- sparkfun_qwiic_micro_no_flash and sparkfun_qwiic_micro_with_flash. Thanks @edspark.
- circuitplayground_express_displayio:
displayio
turned on for CPX. Thanks @tannewt. - sparkfun_qwiic_micro_with_flash
- pyboard_v11. Thanks @hierophect.
- feather_stm32f405_express. Thanks @hierophect.
- spresense. Thanks Sony @kamtom480.
- robohat_mm1_m4. Thanks @wallarug.
- hallowing_m4. Pin additions. Thanks @makermelissa.
- monster_m4sk. Fix pin errors. Thanks @kattni.
Upcoming BLE Changes
This release does not include a substantial and breaking revamp of the APIs presented by _bleio
native module and adafruit_ble
library. These BLE changes will be merged into master
soon after this 5.0.0-alpha.5 release. We expect the next alpha or first beta release to include these breaking changes.
Breaking Changes and Deprecations from 4.x!
- The
displayio
refresh API has been revamped to be simpler.wait_for_frame
andrefresh_soon
have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The newauto_refresh
property andrefresh()
function can be used to control when the screen refreshes and at a specific rate. - The
bleio
module has been renamed to_bleio
to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes since 4.0.0. The_bleio
API is a work in progress and will change as 5.0.0 progresses. Please use the latest pre-releaseadafruit_ble
library for end-user BLE programming. Theadafruit_ble
library is evolving too but will hide underlying changes in_bleio
. - Move
audioio.Mixer
toaudiomixer.Mixer
and is only available on M4s. Moveaudioio.RawSample
, andaudioio.WaveFile
to the new moduleaudiocore
. However, for backwards compatibility, they are still available inaudioio
. They will be removed fromaudioio
in 6.0.0. Thanks @jepler. - Add
I2C.writeto_then_readfrom()
. Deprecatestop=
arg which will be removed in 6.x. UseI2C.writeto_then_readfrom()
instead.
Known Issues
Thanks
Thank you to all who used, tested, contributed, helped out, and participated on GitHub and/or Discord,including @3ach, @ATMakersBill, @AdinAck, @Anton-2, @CedarGroveStudios, @CollinCunningham, @DavePutz, @Mr-Coxall, @Retoc, @Senuros, @TG-Techie, @ThomasAtBBTF, @alexwhittemore, @anecdata, @arturo182, @brentru, @darkmusic, @ddiminnie, @deshipu, @dhalbert, @dmopalmer, @dunkmann00, @edspark, @gallaugher, @hexthat, @hierophect, @iayanpahwa, @iraytrace, @jedgarpark, @jepler, @jerryneedell, @jpecor, @kamtom480, @kattni, @kdb424, @kevinjwalters, @kickbutts, @ladyada, @loganwedwards, @makermelissa, @nis, @rdagger, @santaimpersonator, @shazz, @siddacious, @sommersoft, @tannewt, @theacodes, @timvgso, @wallarug 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 5.0.0-alpha.4.
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 issues, then post to the Adafruit Support Forums and join Discord.
Assets
Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.