CircuitPython 7.0.0 alpha3 版本发布

MicroPython、microbit、makecode等
最新动态
回复
头像
shaoziyang
帖子: 3917
注册时间: 2019年 10月 21日 13:48

CircuitPython 7.0.0 alpha3 版本发布

#1

帖子 shaoziyang »

CircuitPython 7.0.0 的阿尔法版本3已经发布。它相对稳定,但包含一些问题仍有待解决,Python API 可能会改变。

7.0.0 版本的显著增加包括 USB 设备的运行时间定制、microPython 修复程序的合并以及 MicroPython 1.15 的增强功能、简化 RGB 状态 LED 代码以及用于几个 RP2040 板样本的时钟修复。

图片

自 6.3.0 以来的变化完整的提交日志在这里

修复和增强
  • Fix to work with longint 0. #4845. Thanks @t-ikegami..bit_length()
  • Update frozen libraries. #4843. Thanks @dhalbert.
  • Merge in upstream MicroPython changes from MicroPython 1.10 through 1.15. #4646, #4649, #4690, #4693, #4744, #4749. Thanks @tannewt.
  • Support for run-time customization of USB devices. #4848, #4689, #4720, #4725, #4730, #4734, #4746, #4798, #4800, #4819. Thanks @dhalbert.
  • OnDiskBitmap can now use s. #4823. Thanks @jepler.Palette
  • Correct comment in . #4806. Thanks @lesamouraipourpre.persistentb.c
  • Fix error message for . #4804. Thanks @bergdahl.ipaddress
  • Fix return values from . #4792. Thanks @Neradoc.ipaddress.IPv4Address
  • Don’t print “hard crash” on . #4790. Thanks @Neradoc.USER_SAFE_MODE
  • Fix error messges. #4745. Thanks @ajs256.usb_hid
  • Simplify the RGB status LED bs for clarity and to save power. #4743. Thanks @tannewt.
  • Fix native module examples, added during MicroPython merge. #4732. Thanks @jepler.
  • Avoid casts in b. #4707. Thanks @tyomitch.qstr
  • Implement internally. #4698. Thanks @tyomitch.supervisor_workflow_active()
  • Do not include on small builds. #4696. Thanks @dhalbert.pulseio
  • Remove PWMOut from . It is now only in . #4694. Thanks @dhalbert.pulseiopwmio
  • Handle subclasses in . #4688. Thanks @jepler.instance_subscr()
  • Add . #4685. Thanks @microDev1.wifi.AuthMode
  • Fix uses of type-checking macros after MicroPython 1.11 merge. #4684. Thanks @hierophect.
  • Wrap values from when maximum length is exceeded. #4683. Thanks @DavePutz.PulseIn
  • Increased possible length to about 65 ms. #4688. Thanks @DavePutz.PulseIn
  • Fix buffer indexing in . #4666. Thanks @DavePutz.PulseIn
  • Add wifi access point modes. #4650. Thanks @anecdata.
  • Autocomplete builtin modules in REPL. #4548, #4608. Thanks @tyomitch.
  • Improve internal API for sleep. #4606. Thanks @hierophect.
  • BLE: assume maximum characteristic size when a client. #4604. Thanks @tannewt.
  • Remove specfic references to CircuitPython or MicroPython in errors. #4589. Thanks @hugodahl.
  • Separate hash and length info from strings to allow overlapping. #4583. Thanks @tyomitch.
  • Fix and refactor implementations. #4559, #4580. Thanks @jepler.rotaryio
  • Don’t block serial output during an interrupt. #4579. Thanks @tannewt.
  • Improve . #4578. Thanks @tannewt.PacketBuffer
  • Check for overflow errors in . #4572. Thanks @jepler.re
  • Simplify qstr compression heuristic. #4564. Thanks @tyomitch.
  • Fix bug in message decompression. #4553. Thanks @jepler.
  • Fix when modified via buffer protocol. #4549. Thanks @jepler.displayio.BitMap
  • Update . #4533, #4547. Thanks @jepler.ulab
  • Improve confusing error messages. #4543. Thanks @bergdahl.
  • Update tinyusb to fix MIDI issue. #4538. Thanks @hathach.
  • BLE: Fix pairing and a crash. #4522. Thanks @tannewt.
PORT AND BOARD-SPECIFIC CHANGESESP32S2
  • Add RGBMatrix support. #4755. Thanks @jepler.
  • Validate frequency. #4702. Thanks @rsbohn.PWMOut
i.MX
  • Enable . #4570. Thanks @jepler.adafruit_bus_device
  • Enable basic . #4530. Thanks @jepler.PWMOUT
NRF
  • Implemented light and deep sleep. #4236. Thanks @jun2sak.
  • Add . #4609. Thanks @Neradoc.countio
RP2040
  • Fix status LED on Pimoroni Tiny 2040 and PicoSystem. #4796. Thanks @Neradoc.
  • Fix RP2040 safe mode. #4783. Thanks @tannewt.
  • Implement for RP2040. #4773. Thanks @DavePutz.PulseOut
  • Lengthen crystal oscillator startup time on RP2040. adafruit/pico-sdk#4, #4847. Thanks @dhalbert.
  • Add PIO state-machine deinit. #4662. Thanks @dhalbert.
SAMx
  • Support UART on ATSAME5x. #4772. Thanks @EmergReanimator.DEBUG
  • Correct SAMD21 timing. #4655. Thanks @DavePutz.PulseOut
  • Add `ParallelImageCapture for ATSAME5x. #4635. Thanks @jepler.
  • Enable specific modules based on chip family. #4591. Thanks @jepler.
Spresense
  • Fix USB CDC and MS on Spresense. #4774. Thanks @kamtom480.
Trinkeys
  • Update pins and features. #4765. Thanks @dhalbert.
Individual Boards.
  • MagTag: Remove and rename display-only pins. #4695. Thanks @dhalbert.board.SPI()
  • Add pins to Wio Terminal. #4679. Thanks @t-ikegami.
  • Improve DotStar pin names. #4674. Thanks @kattni.
  • Release display on FunHouse when entering deep sleep. #4673. Thanks @makermelissa.
  • Fix “QT Py” naming. #4577. Thanks @dglaude.
NEW BOARDS SINCE 6.3.0
  • ATMegaZero ESP32-S2. #4634. Thanks @eddiespinal.
  • Adafruit MacroPad RP2040. #4770. Thanks @ladyada.
  • Arduino Nano RP2040 Connect. #4802. Thanks @BlitzCityDIY.
  • CP Sapling Rev B. #4677. Thanks @skerr92.
  • Cytron Maker Pi RP2040. #4824. Thanks @CytronTechnologies.
  • Muselab nanoESP32-S2 WROVER. #4834. Thanks @reppad.
  • senseBox MCU. #4576. Thanks @felixerdy.
  • SparkFun MicroMod SAMD51. #4852. Thanks @stonehippo.
DOCUMENTATION
  • Fix typos in . #4840. Thanks @jepler.usb_hid
  • Update documentation about incompatible files. #4805. Thanks @lesamouraipourpre..mpy
  • Improve Design Guide. #4643, #4652, #4678, #4709, #4767. Thanks @jposada202020.
  • Fix documentation. #4741. Thanks @lesamouraipourpre.struct_time
  • Fix typo in . #4721. Thanks @dhalbert.gamepadshift
  • Unify naming of “CircuitPython” without a space between words. #4716. Thanks @tyomitch.
  • Fixes in . #4650, #4651. Thanks @lesamouraipourpre.displayio
  • Add module filtering field in Support Matrix in readthedocs. #4617. Thanks @Neradoc.
  • Remove RP2040 PIO reference. #4566. Thanks @tannewt.colocate
  • Add aliased boards and modules to the Support Matrix. #4539. Thanks @Neradoc.
  • Improve stubs package. #4844. Thanks @FoamyGuy.
BUILD AND INFRASTRUCTURE CHANGES
  • Remove Adafruit boards that did not turn into products. #4812. Thanks @dhalbert.
  • Generate mpy-cross builds for MacOS M1 machines. #4835, #4836. Thanks @jepler.
  • Add trial CI Windows builds with MSYS2. #4826. Thanks @jepler.
  • Print more firmware memory information on ESP32-S2. #4763. Thanks @jepler.
  • Fix builds to support cp1252 b pages. #4751. Thanks @jepler.
  • Fix stray warning on MacOS builds. #4740. Thanks @jepler.
  • Make version info include origin as CircuitPython. #4713. Thanks @jepler..mpy
  • Add version of for use on RPi 64-bit OS’s. #4712. Thanks @jepler.aarch64mpy-cross
  • Ensure all appropriate b files are being consider for reformatting. #4692. Thanks @jepler.
  • Correct builds with USB turned off. #4619. Thanks @tyomitch.
  • Extract failed builds into a convenient list. #4605. Thanks @tannewt.
  • Remove unstable release from circuitpython.org when superseded by stable release. #4594. Thanks @Neradoc.
TRANSLATION ADDITIONS AND IMPROVEMENTS
  • Translation additions and improvements. Thanks:
    • @bergdahl (Swedish)
    • @Edrig (French)
    • @fede2cr (Spanish)
    • @hexthat (Chinese – Pinyin)
    • @hugodahl (French)
    • @jposada202020 (Spanish)
    • @rezaalmanda (Indonesian)
    • @wtuemura (Portuguese – Brazil)
Breaking changes since 6.x
  • OnDiskBitmap can now use s. #4823. Thanks @jepler.Palette
  • The RGB status LED bs have changed for clarity and to save power. #4743. Thanks @tannewt.
  • PWMOut is now only in , and is no longer in both and . #4694. Thanks @dhalbert.pwmiopulseiopwomio
Known issues

 

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章