Releases: adafruit/circuitpython
CircuitPython 6.2.0 Release Candidate 0
This release, 6.2.0-rc.0, is the first release candidate for the stable release of CircuitPython 6.2.0. Notable changes since 6.2.0-beta.4 include displayio
and vectorio
fixes and improvements, many i.MX fixes and additions, and RP2040 I2C improvement. See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, cxd56
(Spresense), nrf
, and stm
for the F4 family are stable. esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.2.0-beta.4
Full commit log is here.
Fixes and enhancements
- Turn off remote wakeup in USB configuration descriptor. #4517. Thanks @dhalbert.
- Correct
TypeError
message intime
. #4509. Thanks @lesamouraipourpre. - Allow
memoryview()
to be used forRGBMatrix
. #4501. Thanks @ bitbangio.SPI
enhancements. #4497. Thanks @jepler.displayio
andvectorio
internal improvements. Thanks @kmatch98.- Correct
vectorio.Rectangle sizes
. #4484. Thanks @kmatch98. - Correct
displayio
redrawing when usingTileGrid.transform_xy
. #4464. Thanks @kmatch98. - Fix support for MS25R1635F chip. #4460. Thanks @lyusupov.
- Handle 4-bit colors in
bitmaptools
properly. #4454, #4455. Thanks @jepler and @kmatch98. - Improve handling of dirty areas in
displayio.Bitmap
. #4432. Thanks @jepler. - Mark bitmap area as dirty in
bitmaptools.arrayblit()
. #4430. Thanks @jepler. display.BitMap
can be amemoryview()
. #4429. Thanks @jepler.- Add
reverse_rows
capability tobitmaptools.readinto()
. #4428. Thanks @kmatch98.
Port and board-specific changes
- ESP32-S2
- i.MX
- Fix assertion in
busio.UART
. #4518. Thanks @jepler. - Fix UART pin checking. #4513. Thanks @jepler.
- Fix SPI gaps. #4487. Thanks @jepler.
- Correct SPI baudrate. #4474. Thanks @jepler.
- Fix reset to bootloader. #4442. Thanks @jepler.
- nRF
- RP2040
- Spresense
- STM32
- i.MX1010 EVK
- Metro M7 1011
- QT Py RP2040
Build and infrastructure changes
- Remove problematic sentence from bug issue template. #4511. Thanks @jepler.
- List modules for alias boards. #4507. Thanks @Neradoc.
- Use allowed language list when building circuitpython.org information. #4483. Thanks @Neradoc.
- Use
nvm.toml
data for flash device information. #4481. Thanks @tannewt. - Use gcc
@file
mechanism to shorten linker command line. #4480. Thanks @tannewt. - Correct USB mount checking so that
CIRCUITPY_USB_MSC = 0
will compile. #4462. Thanks @jepler.
Documentation
- (no PRs in this category)
Translation Additions and Improvements
- English - UK (new translation). Thanks @garethcoleman. Enabled by #4521. Thanks @dhalbert.
- French. Thanks @hugodahl.
- Portuguese - Brazil. Thanks @wtuemura .
- Spanish. Thanks. @jposada202020.
- Swedish. Thanks @bergdahl
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.
Known issues
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.4, including @anecdata, @bergdahl, @d-c-d, @deshipu, @dhalbert, @FoamyGuy, @gamblor21, @garethhcoleman, @hexthat, @hierophect, @hugodahl, @jepler, @jposada202020, @kmatch98, @ladyada, @lesamouraipourpre, @lyusupov, @miclooking, @microdev1, @Neradoc, @tannewt, @tyomitch, @WarriorOfWire, @weblate, @wtuemura, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
New boards since 6.2.0-beta.4
- Adafruit ItsbyBitsy RP2040. #4459. Thanks @ladyada.
- Adafruit Rotary Trinkey. #4449. Thanks @ladyada.
- Adafruit FunHouse. #4439. Thanks @dhalbert.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.
Known issues
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.4, including [[FILLIN]], and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
CircuitPython 6.2.0 beta 4
This release, 6.2.0-beta.4, is the fifth beta release of CircuitPython 6.2.0. Notable changes since 6.2.0-beta.3 include new RP2040 fixes and features, enhancements to bitmaptools
, and turning off usb_cdc
by default (it can still be enabled in a custom build). See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, cxd56
(Spresense), nrf
, and stm
for the F4 family are stable. esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.2.0-beta.3
Full commit log is here.
Fixes and enhancements
- Mark
bitmaptools.arrayblit()
destination as dirty. #4430. Thanks @jepler. - Add
displayio.Palette.is_transparent(palette_index)
. #4426. Thanks @kmatch98. - Add uniform
board.LED
pin names for several boards. More later. #4421. Thanks @kattni. - Add
bitmaptools.readinto()
andbitmaptools.arrayblit()
. #4403. Thanks @jepler. - Disable
usb_cdc
, the second USB serial port, by default. it was on by default in 6.2.0-beta.3. It is still available to use in a custom build. #4384. Thanks @dhalbert. - Save ~1500 bytes of firmware space via slight changes in vm execution with a minor speed penalty. #4344. Thanks @jepler.
- Refactor displayio set_pixel for use in bitmap_tools. #4357. Thanks @kmatch98.
- Update TinyUSB. #4327. Thanks @hathach.
- Fix regression of TinyUSB version. #4365. Thanks @tannewt.
- Fix incorrect 16-bit signedness in
displayio.TileGrid
. #4287. Thanks @deshipu. - Fix
TileGrid.transpose_xy
crash. #4331. Thanks @dhalbert. - Update
ulab
to fix matrix vetor multiplication issue. #4250. Thanks @jepler. - Code and documentation cleanups. #4335. #4337, #4338, #4351, #4391. Thanks @tyomitch.
Board- and port-specific changes
- ESP32-S2
- Fix wifi and I2C interfering with each other. #4387. Thanks @dhalbert.
- Fix watchdog
deinit()
. #4325. Thanks @microdev1.
- RP2040
- Add
displayio.ParallelBus
. #4130. Thanks @gamblor21. - Add
rotaryio
. #4329. Thanks @jepler. - Enable
audiomp3
; it works at low bit rates. #4380. Thanks @jepler. - Lower default flash speed. #4392, #4393. Thanks @tannewt.
- Initalize
rtc
with a reasonable time. #4379. Thanks @jepler. - Add new features to
rp2pio.StateMachine
. #4329. Thanks @jepler. - Add double reset into UF2 bootloader. #4375. Thanks @hathach.
- Fix use of
tud_disconnect()
. #4327. Thanks @hathach. - Fix clock stretch on
board.I2C()
. #4390. Thanks @dhalbert. - Allow more than one program per PIO. #4405. Thanks @DavePutz.
- Add
- SAMD51
- Spresense
- Minor I2C, SPI, and UART fixes. #4386, #4412. Thanks @kamtom480.
- STM32
- Add all modules enabled in STM32F405 to STM32F407. #4385. Thanks @hierophect.
- Fix
UART.deinit()
. #4383. Thanks @hierophect. - Add GD25Q16C as a possible flash chip. #4356. Thanks @jerryneedell.
- Teensy 4.0 and 4.1
- Enable EVE. #4342. Thanks @jamesbowman.
Build and infrastructure changes
- Run code-formatting over source code based and add to pre-commit. #4362, #4415. Thanks @microdev1 and @jepler.
- Shrink some builds, using optimization flags. #4333. Thanks @dhalbert.
- Avoid secondary build failure when a test fails. #4340. Thanks @jepler and thanks @microdev1 for the original inspiration PR.
- Automatically count
EXTERNAL_FLASH_DEVICES
. #4358. Thanks @jepler.
Documentation
- Improve documentation for
RTC
,TouchIn
, andanalogio
. #4402, #4407. Thanks @jposada2020. - Add
README.rst
link to SourceGraph, which provides searching in thecircuitpython
repo. #4416. Thanks @tannewt. - Add RP2040 port to
README.rst
. #4416. Thanks @tannewt. - Correct and enhance documentation for
usb_cdc
. #4359. Thanks @dhalbert. - Fix typos in
microcontroller.nvm
documentation. #4346. Thanks @jepler. - Translation additions and improvements. Thanks:
- @MisterD66 (German)
- @Edrig (French)
- @hugodahl (French)
- @Padanian (Italian)
- @bergdahl (Swedish)
- Amir Muhammad Al-Omari (Swedish)
- @fede2cr (Spanish)
- @jposada202020 (Spanish)
- @wtuemura (Portuguese - Brazil)
- @hexthat (Chinese - Pinyin)
- Luca De Filippo (Italian)
New boards since 6.2.0-beta.3
- Franzininho WiFi Wroom. #4347. Thanks @FBSeletronica.
- Franzininho WiFi Wrover.#4348. Thanks @FBSeletronica.
- Pimoroni Tiny 2040. #4228. Thanks @ZodiusInfuser.
- Pimoroni Keybow 2040. #4228. Thanks @ZodiusInfuser.
- Pimoroni PicoSystem. #4228. Thanks @ZodiusInfuser.
- SparkFun MicroMod nRF52840. #4350. Thanks @nitz.
- SparkFun Pro Micro RP2040. #4419. Thanks @spe2.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.
Known issues
- RP2040: A few I2C devices do not work on the RP2040 with
busio.I2C
. Usebitbangio.I2C
instead, and usebitbangio.I2C(..., probe=False)
if necessary. See #4082 and #4235. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.3, including @ajs256, @askpatrickw, @bergdahl, @caternuson, @danielwarnersmith, @DavePutz, @dglaude, @dhalbert, @dpgeorge, @Edrig, @falkenad, @FBSeletronica, @fede2cr, @FoamyGuy, @hathach, @hexthat, @hierophect, @hugodahl, @ismael-miguel, @jamesbowman, @jepler, @jerryneedell, @jposada202020, @kamtom480, @kattni, @kevinjwalters, @kmatch98, @ladyada, @makermelissa, @microdev1, @mintakka, @MisterD66, @nitz, @Padanian, @siehputz, @skieast, @spe2, @tannewt, @tylercrumpton, @tyomitch, @v923z, @weblate, @wtuemura, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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.
CircuitPython 6.2.0 beta 3
This release, 6.2.0-beta.3, is the fourth beta release of CircuitPython 6.2.0. Across most ports it adds a second USB serial (CDC) channel, adds a bitmaptool
module for help with displayio
, and removes the limitation on displayio.Group
size. The RP2040 port has many enhancements and fixes, and the Spresense port has several improvements as well. See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, cxd56
(Spresense), nrf
, and stm
for the F4 family are stable. esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.2.0-beta.2
Fixes and enhancements
- Add
bitmaptools
for bitmap blit operations. #4268, #4278. Thanks @kmatch98. - Add second USB CDC serial channel. #4215. Thanks @dhalbert.
displayio.Group
now uses a Python list internally. Its size is no longer limited, and it can be sorted. #4233, #4322. Thanks @deshipu and thanks @dhalbert for a fix.- Fix compile-time disabling of USB MSC. #4283. Thanks @deshipu.
- Fix typos for
CIRCUITPY_USB_HID_SYS_CONTROL
. #4249. Thanks @dhalbert. - Avoid pulling in unneeded float/uint64 routines. #4238. Thanks @dhalbert.
_pixelbuf
: increase performance of brightness scaling. #4258. Thanks @jepler.- Add
memoryview.cast()
. #4231. Thanks @jepler. - Add
bitops.transpose()
function to support piopixl8. #4219. Thanks @jepler. - Allow
memoryview
as argument toexec()
. #4206. Thanks @iot49. - Remove unneeded
adafruit_bus_device.SPIDevice.spi
property. #4179. Thanks @dhalbert. - Update
ulab
to 1.7.5. #4229. Thanks @jepler. - Fix ability to use the reset button to enter safe mode when
.reset_reason
is not implemented. #4306. Thanks @Neradoc.
Board- and port-specific changes
- ESP32-S2
- Pin name additions for UnexpectedMaker TinyS2 and Feather S2. #4264. Thanks @UnexpectedMaker.
- Fix free-pin checking. #4205. Thanks @hierophect.
- RP2040
- Add
busio.UART
support. #4224. Thanks @microdev1 and @tannewt. Thanks @jerryneedell for testing. - Add
os.urandom
. #4213. Thanks @jepler. - Add
PWMAudioOut
. #4167. Thanks @tannewt. - Add
countio
. #4254. Thanks @gamblor21. - Add
microcontroller.nvm
. #4177. Thanks @microdev1. - Enable
RGBMatrix
(protomatter). #4186. Thanks @jepler. - Board-specific flash sizes. #4247. Thanks @tannewt.
- Update flash sizes for various RP2040 boards. #4297. Thanks @tannewt.
- Fix use of second shared PWM. #4253. Thanks @tannewt.
- Correct
DigitalInOut
behavior; increase pin drive strength. #4267. Thanks @dhalbert. - Implement short I2C writes with bitbang I2C. #4315. Thanks @dhalbert.
- Fix
rp2pio
writing when stride 2 or 4. #4269. Thanks @jepler. - Fix off-by-one
PWMOut
top count. #4192. Thanks @dhalbert. - Allow keyboard interrupts while waiting for PIO TX FIFO. #4309. Thanks @jepler.
- Allow directly specifying the original boot
.s
file. #4308. Thanks @jepler. - Use generic flash init for now to be able to support more flash chips. #4302. Thanks @tannewt.
- Clear out PIO's and
StateMachine
objects on soft-reload. #4265. Thanks @DavePutz.
- Add
- SAMD21
- Spresense
- return the correct value for Analog In. #4294. Thanks @kamtom480.
- Fix USB enumeration issues. #4245. Thanks @kamtom480.
AnalogIn:
Return value in proper range. #4294. Thanks @kamtom480.AnalogIn
: return valid reference voltages, which can vary per pin. #4310. Thanks @kamtom480.
- STM32
- Fix I2C repeated start. #4169. Thanks @hierophect.
- TG-Watch
- Fix board crystal settings. #4232. Thanks @TG-Techie.
- pewpew10
- Feather M4 Express
- Add EVE support. #4299. Thanks @jamesbowman.
Build and infrastructure changes
- Set
SUPEROPT_VM = 0
on most non-Express SAMD21 boards. #4248. Thanks @dhalbert. - Shrink flash storage needed for USB descriptor serial number. #4243. Thanks @jepler.
- Add directory for manually-run tests; add
Socket
tests. #4187. Thanks @hierophect. - Only build translations listed in an allow list. #4298. Thanks @jepler.
Documentation
- Fix formatting in SPI documentation. #4296. Thanks @ajs256.
- Typo fix in RP2040
rp2pio
documentation. #4277. Thanks @tannewt. - Ignore
idf-tools
folder. #4225. Thanks @jepler. - Update Design Guide discussion of exceptions and asserts. #4185. Thanks @caternuson.
- Improve
StateMachine
messages. #4276. Thanks @bergdahl. - Translation additions and improvements. Thanks:
- @bergdahl (Swedish)
- @rodrigoargumedo (Spanish)
- @jposada202020 (Spanish)
- @wtuemura (Portuguese - Brazil)
- @MisterD66 (German)
- @hugodahl (French)
- @dglaude (French)
- @hexthat (Chinese - Pinyin)
- Luca De Filippo (Italian)
New boards since 6.2.0-beta.2
- Adafruit Feather RP2040. #4270, #4312, #4319. Thanks @tannewt and @jepler.
- Adafruit QT Py RP2040. #4188. Thanks @ladyada.
- Pimoroni RP2040 boards. #4228. Thanks @ZodiusInfuser.
- Pimoroni Tiny 2040.
- Pimoroni Keybow 2040.
- Pimoroni PicoSystem.
- UnexpectedMaker TinyS2. #4244. Thanks @UnexpectedMaker.
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- RP2040: A few I2C devices do not work on the RP2040 with
busio.I2C
. Usebitbangio.I2C
instead, and usebitbangio.I2C(..., probe=False)
if necessary. See #4082 and #4235. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.2, including @ajs256, @anecdata, @arturo182, @bergdahl, @caternuson, @DavePutz, @deshipu, @dglaude, @dhalbert, @ecasadod, @gamblor21, @hathach, @hexthat, @hierophect, @hugodahl, @iot49, @jamesbowman, @jedgarpark, @jepler, @jerryneedell, @jfabernathy, @joelburton, @jposada202020, @kamtom480, @kattni, @kevinjwalters, @kmatch98, @ladyada, @lesamouraipourpre, @microdev1, @MisterD66, @Neradoc, @rodrigoargumedo, @siehputz, @tannewt, @tawez, @TG-Techie, @UnexpectedMaker, @weblate, @wtuemura, @ZodiusInfuser, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.2.0 beta 2
This is the third beta release of CircuitPython 6.2.0. This release, 6.2.0-beta.2, contains fixes and improvements, most notably for RP2040 and ESP32-S2. See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.2.0-beta.1
Fixes and enhancements
pew.tick()
now does its own time-keeping. #3536. Thanks @deshipu- Fix
write_then_readinto()
in nativeadafruit_bus_device
I2CDevice
. #4146. Thanks @gamblor21. - Ensure
tud_task()
is run on auto-reload to finish USB writes. #4122. Thanks @hathach. - Add WEBUSB serial support (turned off by default). #4126. Thanks @FiriaCTO.
- Clarify I2C pullup error message. #4118. Thanks @BiffoBear.
- Fix native
adafruit_bus_device
for boards without longint. #4112. Thanks @gamblor21. - Update
ulab
to 1.7.2. #4089. Thanks @jepler. RGBMatrix
: change default toserpentine=True
. #4084. Thanks @jepler.
Board- and port-specific changes
- ESP32-S2:
- Fix sockets created by
accept()
. #4139. Thanks @hierophect. - Fix deep sleep wakeup sometimes appearing to be brownout wakeup. #4159. Thanks @dhalbert and thanks @jfabernathy for testing.
- Improve
socket
arg validation and clean up internal types use for argument passing. #4136. Thanks @hierophect. - Fix
socket
connect error. #4138. Thanks @hierophect. - Fix
socket.recv_into()
receiving one less byte than expected. #4148. Thanks @Neradoc. - Separate
SSLSocket
from Socket. #4049. Thanks @hierophect. - Fix default socket timeout. #4095. Thanks @hierophect.
- Fix sockets created by
- raspberrypi:
- Fix
PWMOut
idea of which channels are variable frequency. #4165. Thanks @DavePutz. rp2pio
: transfer up to 32 bytes before checking background tasks. Fixes use of short NeoPixel strips. #4155. Thanks @jepler, @gamblor21, and @jerryneedell.neopixel_write
: Set NeoPixel pin as output after PIO use, to avoid spurious signals. #4160. Thanks @gamblor21.- Initialize display for Lilygo TTGO T8 ESP32-S2. #4124. Thanks @m4tk.
- Correct maximum allowed number of PIO instructions. #4154. Thanks @LuminousOwl.
- Update to very latest
pico-sdk
. Fixes issues with GP15 and adds unique id support. #4141. Thanks @tannewt. - Add (internal-only)
board.SMPS
pin, which toggles internal regulator PWM mode. #4137. Thanks @ferret-guy. - Add (internal-only)
board.A3
/board.VOLTAGE_MONITOR
pin. #4125. Thanks @xorbit. - Implement
microcontroller.reset()
and.reset_to_bootloader()
. #4123. Thanks @jepler. - Support for RTC. #4110. Thanks @microdev1.
- Support for watchdog timer. #4083. Thanks @microdev1.
- Change
microcontroller.cpu
to refer to the current CPU, restoring.cpu.temperature
, etc. Addmicrocontrollers.cpus[]
. #4087. Thanks @DavePutz. - Enable Gameduino 3x Dazzler support. #4092. Thanks @jamesbowman.
- Fix
- mimxrt10xx:
- nrf:
- Metro M4 Airlift Lite:
Build and infrastructure changes
- Add
bitmap_font
tosys.path
in a better place to fix builds. #4140. Thanks @FoamyGuy. - Update to
actions/cache@v2
. #4090. Thanks @jepler. - Fix circuitpython.org automatic PR new-languages list. #4080. Thanks @tannewt.
Documentation
sdcardio
: Add caution about sharing SPI bus with SD cards and other devices. #4163. Thanks @jepler.- Translation additions and improvements. Thanks:
New boards since 6.2.0-beta.1
- DynaLora-USB Dongle. #4168. Thanks @ecasadod.
- Lilygo TTGO T8 ESP32-S2. #4077. Thanks @netroy.
- Silicognition LLC M4-Shim. #4105. Thanks @xorbit.
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt. _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.1, including @ajs256, @anecdata, @Anton-2, @bergdahl, @BiffoBear, @bspsbee, @BumblebeeMan, @DavePutz, @dglaude, @dhalbert, @ecasadod, @fede2cr, @ferret-guy, @FiriaCTO, @FoamyGuy, @gamblor21, @hathach, @hexthat, @hierophect, @hugodahl, @jamesbowman, @jepler, @jerryneedell, @jfabernathy, @kamtom480, @ladyada, @LuminousOwl, @m4tk, @microdev1, @Neradoc, @netroy, @nichols10, @rpavlik, @siehputz, @skieast, @StarWitch, @tannewt, @tawez, @theacodes, @weblate, @wtuemura, @xorbit,, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.2.0-beta.1
This is the second beta release of CircuitPython 6.2.0. This release, 6.2.0-beta.1, contains fixes and improvements, most notably for RP2040, ESP32-S2, and Spresense. See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.
Download from circuitpython.org
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.2.0-beta.0
Fixes and enhancements
- Re-enable native
adafruit_bus_device
, and enable it to support duck typing. #3936. Thanks @gamblor21. - EVE graphics library: change integer arguments to floating point, to match OpenGL. #4051. Thanks @jamesbowman.
- Update
protomatter
library to supportRGBMatrix
tiling.. #4068. Thanks @jepler.
Board- and port-specific changes
- ESP32-S2: Add initial
displayio.ParallelBus
support. #4047. Thanks @kmatch98. - Metro M4 Airlift Lite: Turn on EVE graphics library to support Gameduino 3X Dazzler. #4054. Thanks @dglaude.
- raspberrypi:
- Spresense: Update Spresense SDK and fix USB CDC after TinyUSB update. #4064. Thanks @kamtom48.
Build and infrastructure changes
- Add
CIRCUITPY_*
switches forbinascii
,errno
,json
, andre
. Update documentation about those modules. #4060. Thanks @dhalbert.
Documentation
- Update Design Guide for
CO2
andeCO2
driver parameter names. #4070. Thanks @rpavlik. - Translation additions and improvements. Thanks:
New boards since 6.2.0-beta.0
(none)
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt. _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- Writing several larger files to
CIRCUITPY
when there is no serial connection to the board can take a long time or hang. To speed up copying, open a serial (REPL) connection. #3986. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.2.0-beta.0, including @bergdahl, @dglaude, @dhalbert, @gamblor21, @hexthat, @hierophect, @jamesbowman, @jepler, @kamtom480, @kmatch98, @ladyada, @rpavlik, @tannewt, @tawez, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.2.0 Beta 0
This is the first beta release of CircuitPython 6.2.0. Most notably, this release, 6.2.0-beta.0, provides preliminary support for the Raspberry Pi RP2040 chip, including the Raspberry Pi Pico and Adafruit's own RP2040 boards. See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue. If no significant issues are found within a few days, we'll release this version as stable.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, raspberrypi
, and stm
for other STM chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.1.0
Fixes and enhancements
- Update built-in help output for localization. #3911. Thanks @hugodahl.
- Enhance
msgpack
module. #4022. Thanks @iot49.
Board- and port-specific changes
- ESP32-S2:
- Add TCP Server support. #3854. Thanks @hierophect.
- Improve wifi checking about whether already connected when trying to connect. #4017. Thanks @anecdata.
- Do not go into safe mode on watchdog reset. #4011. Thanks @dheera.
- Initialize touch in proper order. Fixes
TouchIn
andTouchAlarm
. #4021. Thanks @dhalbert. - Revert FeatherS2 status DotStar due to LDO2 issues. #4013. Thanks @jerryneedell.
- STM32 BlackPill: Add additional board build that supports an external SPI chip. #4028. Thanks @djix123.
- ItsyBitsy M4: Fix erroneous comment in
mpconfigboard.h
. #4019. Thanks @mrangen. - raspberrypi:
Build and infrastructure changes
(none)
Documentation
- Translation additions and improvements. Thanks:
New boards since 6.1.0
- Raspberry Pi RP2040: Raspberry Pi Pico, Adafruit Feather RP2040. #4031. Thanks @tannewt.
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt. _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- Built-in
adafruit_bus_device
has been disabled due to issues (#3859, #3856), please install the version from the Library Bundle - Writing several larger files to
CIRCUITPY
when there is no serial connection to the board can take a long time or hang. To speed up copying, open a serial (REPL) connection. #3986. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.1.0, including @DavePutz, @dhalbert, @dheera, @djix123, @hierophect, @iot49, @jepler, @jerryneedell, @mrangen, @tannewt, and many others on Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.1.0
This is CircuitPython 6.1.0, the latest minor revision of CircuitPython, and is a new stable release. See Port status below for details on port stability, and Known Issues for known problems. If you find any issues with this release, please file an issue.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, and stm
for other chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.0.1
The changes are extensive and too long to list here. Please see these releases for details:
New boards since 6.0.1
- Adafruit Feather ESP32-S2 mini module with and without TFT display. #3959. Thanks @ladyada.
- Adafruit NeoPixel Trinkey. #3978. Thanks @ladyada.
- Update Big Honking Button configuration to support its newest board revision. (#3820), thanks @theacodes
- Add new board BastBLE (#3662), thanks @Soulkrown
- Add stackrduino_m0_pro (#3842), thanks @StackRdu
- Thunderpack v1.2. #3737. Thanks @jgillick.
- CP-Sapling. #3732. Thanks @skerr92.
- Adafruit MagTag Thanks to @tannewt
- Targett Module Clip WROOM Thanks to @Targett363
- Targett Module Clip WROVER Thanks to @Targett363
- AtelierDuMaker Breakout NRF52840 v1 Thanks to @Edrig
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
Known issues
- FeatherS2: The DotStar status implementation causes issues with control of LDO2. See #4012. This change has been reverted builds beyond 6.1.0: please use an "Absolute Newest" build or a release later than 6.1.0.
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- Built-in
adafruit_bus_device
has been disabled due to issues (#3859, #3856), please install the version from the Library Bundle - Writing several larger files to
CIRCUITPY
when there is no serial connection to the board can take a long time or hang. To speed up copying, open a serial (REPL) connection. #3986. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.1. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.1.0 Release Candidate 1
This is the second release candidate of CircuitPython 6.1.0. See Port status below for details on port stability, and Known Issues for known problems. If you find any issues with this release, please file an issue. If no significant issues are found within a few days, we'll release this version as stable.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, and stm
for other chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
Changes since 6.1.0 Release Candidate 0
Fixes and enhancements
- Update
ulab
to version 1.6.1. #3972. Thanks @jepler. - Use double-quotes in initial
code.py
program. #3973. Thanks @kattni. - Add
len(alarm.sleep_memory)
andbool(alarm.sleep_memory)
. #3958. Thanks @dhalbert. - Add native support for
msgpack
. #3659. Thanks @iot49.
Board- and port-specific changes
- atmel-samd and nrf: Tick counter was being truncated when copied. #3939. Thanks @dhalbert.
- atmel-samd:
- nrf:
- MagTag:
- add accelerometer interrupt pin. #3940. Thanks @caternuson.
- Add
board.A1
as (preferred) name for `board.AD1. #4001. Thanks @dhalbert.
- ESP32-S2:
- Implement
I2SAudioOut
. #3733. Thanks @jepler. - Convert README to
.rst
. #3945. Thanks @2bndy5. - Correct data length for
socket.recvfrom_into()
. #3955. Thanks @caiokat. - Add
sys.platform
. #3954. Thanks @anecdata. - FeatherS2: Use DotStar for status LED. #3930. Thanks @jerryneedell.
- Add
network.authmode
. #3944. Thanks @BennyE. - Add debug logging for all WiFi events; remove unneeded WiFi setup call. #3903. Thanks @anecdata.
- Reduce power consumption when
TouchAlarm
not in use; allow multipleTouchAlarm
pins. #3969. Thanks @microdev1.
- Implement
- TG-Watch: Multiple revisions, including frozen modules. #3991. Thanks @TG-Techie.
Build and infrastructure changes
- Pass
DEBUG
make flag into code withCIRCUITPY_DEBUG
preprocessor macro. #3957. Thanks @dhalbert. - Shrink some German builds that no longer fit. #3983. Thanks @dhalbert.
- ESP32-S2: Fix
make flash
. #3982. Thanks @jepler. - Add
robots.txt
so search engines won't crawl obsolete documentation in ReadTheDocs. #3291. Thanks @dhalbert. - Bump key for GitHub Actions cache to avoid bad cached data. #3997. Thanks @dhalbert.
- Update
uzlib
to version 2.9.5, used in unix build. #4002. Thanks @jepler. - Fix parallel build problem for unix build. #4004. Thanks @jepler.
Documentation
- Translation additions and improvements. Thanks:
- @wtuemura (Brazilian Portugese)
- @hugodahl (French)
- @BumblebeeMan (German)
New boards since 6.1.0 Release Candidate 0
- Adafruit Feather ESP32-S2 mini module with and without TFT display. #3959. Thanks @ladyada.
- Adafruit NeoPixel Trinkey. #3978. Thanks @ladyada.
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
- Built-in
adafruit_bus_device
has been disabled due to issues (#3859, #3856), please install the version from the Library Bundle - Writing several larger files to
CIRCUITPY
when there is no serial connection to the board can take a long time or hang. To speed up copying, open a serial (REPL) connection. #3986. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.1.0 Release Candidate 0, including @2bndy5, @anecdata, @BennyE, @BumblebeeMan, @caiokat, @caternuson, @dhalbert, @hugodahl, @jepler, @jerryneedell, @kattni, @ladyada, @microdev1, @sommersoft, @tannewt, @TG-Techie, @weblate, @wtuemura, and many others on Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.1.0 Release Candidate 0
This is the first release candidate of CircuitPython 6.1.0. See Port status below for details on port stability, and Known Issues for known problems. If you find any issues with this release, please file an issue. If no issues are found within a few days, we'll release this version as stable.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, and stm
for other chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality.
New features and improvements since 6.1.0 Beta 3
Fixes and enhancements
- Fix initialization of onboard NeoPixels. #3934. Thanks @DavePutz.
- Update
ulab
to 1.6.0. #3929. Thanks @jepler. - Fix handling of zero brightness in
_pixelbuf
. #3917. Thanks @brrzap.
Board- and port-specific changes
- CPX: Add back frozen
adafruit_bus_device
back to CPX. #3932. Thanks @kattni. - UnexpectedMaker FeatherS2: Correct pins and add default
board
devices. #3925, #3914. Thanks @UnexpectedMaker , @askpatrickw. - ESP32S2: Add
alarm.touch.TouchAlarm
. #3850. Thanks @microdev1. - Mini SAM 4: Freeze in
adafruit_dotstar
library. #3923. Thanks @bwshockley.
Documentation
- Translation additions and improvements. Thanks:
Full commit log is here.
Breaking changes since 5.x
i2cslave
is nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
New boards since 6.1.0 Beta 3
(none)
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2 (#3846)
time.sleep()
sometimes hangs when a board is connected to certain Macintosh hosts (#3918, #3919). This issue is also present in 6.0.x.- Built-in
adafruit_bus_device
has been disabled due to issues (#3859, #3856), please install the version from the Library Bundle - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.1.0 Beta 3, including @askpatrickw, @bergdahl, @brrzap, @bwshockley, @DavePutz, @dglaude, @dhalbert, @hugodahl, @jepler, @kattni, @ladyada, @microdev1, @oonid, @tannewt, @UnexpectedMaker, @wtuemurua, and many others on Discord. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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 6.1.0 Beta 3
This is the Beta 3 release of CircuitPython 6.1. Please use 6.0.x if you need a stable version of CircuitPython on all ports except ESP32-S2. Please use this release or newer for the ESP32-S2. See port status
below for more stability details.
Notable in this release are a number of ESP32-S2 additions and fixes, bringing us closer to a stable release for that port. There are 2 new boards and one new board revision included in this release.
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).
Port status
CircuitPython has a number of "ports" that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd
, nrf
, and stm
for the F4 family are stable. cxd56
, esp32s2
, and stm
for other chip families are being actively improved but may be missing functionality and have bugs. litex
and mimxrt10xx
are in an alpha state and will have bugs and missing functionality. For all unstable ports, please use the latest pre-release.
New features and improvements since 6.1.0-beta.2
All ports
- Make ResetReason and RunReason available (#3797), thanks @dhalbert
- Add
board_deinit
for use with sleep (#3807), thanks @tannewt - Fix some spelling mistakes (#3814), trhanks @mcauser
- Use
$(PYTHON3) instead of $ (PYTHON) in make actions (#3815), thanks @dhalbert - add apt-get update (#3818), thanks @dhalbert
- #3702 breaks printing an exception twice (#3711), thanks @cwalther
- build: Update to gcc10 for ARM targets (#3752), thanks @dhalbert, @jepler
- Update capacity of MX25R1635F flash chip in devices.h (#3838), thanks @StackRduino
- adafruit_bus_device: Don't transmit STOP condition in write_then_readinto (#3847), thanks @jepler
- Adding Support for AT25DF641A SPI Flash (#3824), thanks @skerr92
- displayio: Fix transparency and palettes of OnDiskBitmaps (#3834), thanks @jepler
- Add Adafruit to MICROPY_HW_BOARD_NAME for various boards (#3863), thanks @dhalbert
- Add support for Winbond W25Q64FV (#3864), thanks @djix123
- unmounted filesystems start as ejected (#3862), thanks @dhalbert
- circuitpy_mpconfig.mk: Unconditionally disable CIRCUITPY_BUSDEVICE (#3869), thanks @jepler
- Merge ble-fixes from 6.0.x to main (#3874), thanks @dhalbert
- Re-Arrange CI Actions (#3881), thanks @microdev1
- FIX : common_hal_reset_pin() (#3888), thanks @microdev1
- Restore frozen adafruit_bus_device module (#3900) thanks @jepler
- update frozen libs for 6.1.0-beta.3 (#3905) thanks @dhalbert
ESP32-S2
- allow radio.enabled to be settable (#3790), thanks @dhalbert
- Include wifi.radio singleton in gc (#3799), thanks @dhalbert
- Enhance debug log for wifi scan, sta_start, sta_stop (#3800), thanks @BennyE
- esp32-s2: wifi enhancement to include countrycode (#3868), thanks @BennyE
- esp32s2: make flash: use the stub (#3866), thanks @jepler
- ESP32-S2: Remove calloc in AnalogIn (#3810), thanks @dhalbert
- Store safe mode state in the RTC (#3802), thanks @dhalbert
- ESP32S2: Fix microcontroller.reset() (#3804), thanks @microdev1
- ESP32-S2: Add IDF pin resets to Microcontroller (#3643), thanks @hierophect
- Fix crash after calling stop_scanning_networks() (#3819), thanks @BennyE
- esp32s2: Reserve UART pins only if DEBUG=1 is set to address issue 3811 (#3817), thanks @BennyE
- alarm.sleep_memory + alarm.wake_alarm (#3816), thanks @dhalbert
- I2C bugfixes (#3803), thanks @skieast
- Add pin alarming (#3830), thanks @tannewt
- Enter safe mode after panic or brownout (#3808), thanks @tannewt
- Support for dual bank update on ESP32-S2 (#3812), thanks @microdev1
- Support for Touch Alarm (#3850), thanks @microdev1
- Fix minor typo in ESP32-S2 README (#3896), thanks @hugodahl
SAMD21 ("M0")
SAMD51 ("M4")
- SAMD51: change of DAC power setting (#3880), thanks @digixx
- FrequencyIn: do not raise in interrupt handler (#3867), thanks @dhalbert
AirLift
STM
Translations
- Translations update from Weblate (#3792, #3828, #3832, #3860), thanks @vkuthan, @wtuemura, @bergdahl, @Anton-2, @ryevertigo, @hugodahl
fomu
New boards
- Update Big Honking Button configuration to support its newest board revision. (#3820), thanks @theacodes
- Add new board BastBLE (#3662), thanks @Soulkrown
- add stackrduino_m0_pro (#3842), thanks @StackRduino
Known issues
- ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2 (#3846)
- Built-in adafruit_bus_device has been disabled due to issues (#3859, #3856), please install the version from the Bundle
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to @Anton-2, @BennyE, @bergdahl, @cwalther, @deshipu, @dhalbert, @digixx, @djix123, @hierophect, @hugodahl, @jepler, @mcauser, @microdev1, @ryevertigo, @skerr92, @skieast, @StackRduino, @tannewt, @vkuthan, @wtuemura, @xobs, and all who used, tested, and contributed since 6.1.0-beta.2. Join us on the Discord chat to collaborate.
Documentation
Documentation is available in readthedocs.io.
This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.
Translations
One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we're making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!
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.