https://blog.adafruit.com/2020/10/01/ci ... -released/
This is the second beta release of CircuitPython 6.0.0, and it's generally stable. See the porting status below for more stability details. This release includes the new canio API, support for 128×64 OLEDs, and many fixes. If you need a stable version of CircuitPython, use 5.3.x.
Try the latest version of the Mu editor for creating and editing CircuitPython programs and for convenient access to CircuitPython's serial connection (REPL).
Porting Status
CircuitPython has many "ports" and is a core implementation for various microcontroller families. The stability of each port varies. As of this release, atmel-samd, nrf, and stm for the F4 family are stable. Other chip families cxd56, esp32s2, and stm are being actively improved, but there may be missing features and bugs.
New Features and Improvements Since 6.0.0 Beta 0
API Changes and Additions
- Added canio API for CAN bus communication #3425 #3466 Thanks @dhalbert, @jepler and @siddacious.
- The default speed for busio.I2C and board.I2C is now 100khz instead of 400khz. Use busio.I2C to set the speed explicitly. #3471 Thanks to @caternuson, @ladyada, @hierophect and @tannewt for their support.
- Add SH1107_addressing kwarg to displayio.Display to support SH1107 used in 128×64 OLED with new library. #3450 Thanks @mdroberts1243 and @jepler.
Fixes and Improvements
- Fixed memory corruption and sharp display. #3497 Thanks @jepler
- Fix hang when using OnDiskBitmap files on SDC cards. #3449 Thanks @foamyguy and @jepler.
- Update TinyUSB to get MIDI SysEx fixes. #3473 Thanks to @mzero and @tannewt.
- Pins in a board now print the board name. #3470 Thanks @askpatrickw
Board and port specific changes.
- ESP32-S2:
- Fix digitalio on pins that don't default to GPIO, and fix reading back output values. #3495 Thanks @tannewt
- Fixed the issue of not scanning first when connecting to wifi. #3489 Thanks @astrobokonon
- Fix support for SPI write values to make SD cards work. #3448 Thanks @hierophect, @jepler and @emard.
- Fix time.time and time.localtime. #3451 Thanks @microdev1, @hierophect, @askpatrickw and @anecdata.
- Build and publish UF2 files #3475 Thanks @tannewt
- NRF52: Fix SPI display issue caused by disabling QSPI. #3453 Thanks @DavePutz, @jerryneedell, @cjsieh and @xiongyihui.
- UnexpectedMaker FeatherS2: Pin mapping updated. #3463 Thanks @unexpectedmaker
- Wio terminal. Open 40-pin connector #3478 Thanks to @ansonhe97 for the support.
- QT Py. Enable NeoPixel and calibrate pins. #3457 Thanks @ladyada
document
- Lots of translation additions and improvements. Thanks.
- @wtuemura (Brazilian Portuguese)
- @bergdahl (Sweden)
- @ciscorn (Japanese)
- @fede2cr (Spanish)
- @tawez, @dobra-dobra (Polish)
- Added design guidelines for the use of const(). #3481 Thanks @caternuson
Internal structure and construction process
- Include port directories in translation. #3491 #3486 Thanks @jepler and @microdev1.
- In QSTRs, _and_ and _or_ are no longer replaced. #3456 Thanks @jepler
The full commit log is here.
Breaking changes since 5.x
- i2cslave is now i2cperipheral and the classes have changed.
- The stop kwarg in I2C.writeto() has been removed. If stopping is not needed, use writeto_then_readfrom.
- The default speed for busio.I2C and board.I2C is now 100khz instead of 400khz. Use busio.I2C to set the speed explicitly. #3471 Thanks to @caternuson, @ladyada, @hierophect and @tannewt for their support.
New sections since 6.0.0.0 Beta 0
- Adafruit QT Py Haxpress #3476 Thanks @jepler and @ladyada
- Adafruit Metro ESP32S2 #3495 Thanks to @tannewt and @ladyada for their support.
Known Issues
- It's no big deal.
- See https://github.com/adafruit/circuitpython/issues for other issues.
|