CircuitPython 9.0.0 Alpha 6 Launched! @circuitpython « Adafruit Industries – Makers, hackers, artists, designers and engineers!


Adafruit CircuitPython 9

From the GitHub launch web page:

That is CircuitPython 9.0.0-alpha.6, an alpha launch for 9.0.0. It has important recognized bugs, and could have additional additions and fixes earlier than the ultimate launch of 9.0.0.

NOTE: CircuitPython 9.0.0-alpha.4 and later use a brand new inside dynamic storage mechanism (“break up heap”), which is being tuned. You might discover that some CircuitPython applications fail with MemoryError. When you encounter applications that work in 8.x.x however get MemoryError exceptions, think about submitting a difficulty with particulars.

WARNING for nRF52 boards solely: In case your board has an nRF52 UF2 bootloader whose model is earlier than 0.6.1, you will be unable to load CircuitPython 8.2.0 and later, resulting from elevated dimension of the firmware. See these directions for updating your bootloader.

Notable modifications to 9.0.0

  • New split-heap inside dynamic storage mechanism.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: replace to ESP-IDF v5.1.2.
  • Reorganize and break up displayio. 8.x.x naming construction is obtainable in 9.x.x, however can be eliminated in 10.0.0.
  • CIRCUITPY drives now mount on Android.
  • Elevated file capability on CIRCUITPY drives <= 128kB.
  • Additional USB host assist, on i.MX and RP2040.
  • Take away 8.x.x deprecations: displayio.*.present(), I2CPeripheral renamed to I2CTarget.
  • Add jpegio JPEG decoder assist.
  • Add repl.py, which runs simply earlier than the REPL begins up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Add warnings module, comparable to what’s in CPython.
  • Add locale.getlocale().
  • Add I2S MCLK assist on Espressif.
  • Add mDNS TXT report assist.
  • Add synthio.Be aware .loop_start and .loop_end properties.
  • Permit signed amplitude in synthio.

Obtain from circuitpython.org

Firmware downloads can be found from the downloads web page on circuitpython.org. The location makes it simple to pick the proper file and language in your board.

Set up

To put in observe the directions within the Welcome to CircuitPython! information. To put in the newest libraries, see this web page in that information.

Strive the newest model of the Mu editor for creating and modifying your CircuitPython applications and for straightforward entry to the CircuitPython serial connection (the REPL).

Documentation

Documentation is obtainable in readthedocs.io.

Port standing

CircuitPython has a variety of “ports” which are the core implementations for various microcontroller households. Stability varies on a per-port foundation. As of this launch, these ports are think about steady (however see Recognized Points under):

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32, ESP32-S2, ESP32-S3, ESP32-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip household

These ports are thought of alpha and could have bugs and lacking performance:

  • broadcom: Raspberry Pi boards similar to RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 household
  • stm: ST non-STM32F4 chip households

Modifications since 9.0.0-alpha.5

Fixes and enhancements

  • Replace frozen libraries. #8717. Thanks @dhalbert.
  • Take away same-line feedback in mpconfigboard.mk that interfered with settings checks. #8702, #8669. Thanks @dhalbert.
  • dotclockframebuffer: spherical up inside dimension to a number of of 16 pixels. #8698. Thanks @jepler.
  • Add jpegio JPEG decoder assist. #8696. Thanks @jepler.
  • Allow builts.compile() for all boards. #8687. Thanks @bill88t.
  • Course of enter throughout websocket operation. #8668. Thanks @tannewt.
  • Enhance net workflow error dealing with. #8667. Thanks @tannewt.
  • Permit signed amplitude in synthio. #8642. Thanks @jepler.
  • Add synthio.Be aware .loop_start and .loop_end properties. #8629. Thanks @dcooperdalrymple.
  • Repair signature for SSLContext.load_verify_locations. #8624. Thanks @dhalbert.
  • Add W25Q16JVxQ as different flash chip for a variety of boards. #8622, #8621. Thanks @dhalbert.

Port and board-specific modifications

Broadcom

Espressif

  • Repair operation as a easy BLE Central on ESP32-S3. #8645. Thanks @dhalbert.
  • Repair IO32 pin AnalogIn. #8622, #8607. Thanks @dhalbert.

i.MX

nRF

RP2040

  • Use DMA for PIO when switch dimension exceeds FIFO dimension. #8702, #8700. Thanks @dhalbert.
  • Add wifi.stop_ap(). #8622, #8590. Thanks @eightycc.

SAMx

SiLabs

Spresense

STM

Particular person boards

  • Adafruit HalloWing M0: Add assist for 2MB flash chip shipped by mistake on a number of boards. #8702, #8669, #8646. Thanks @dhalbert and @jepler.
  • Arduino Nano ESP32-S3: Appropriate USB PID. #8702, #8634. Thanks @dhalbert.
  • MakerFabs TFT7: Updates. #8644, #8625. Thanks @RetiredWizard.

Documentation modifications

  • Doc that time monotonic values are solely assured to be monotonic per VM instantiation. #8685. Thanks @jepler.

Construct and infrastructure modifications

  • Doc decompress_vstr() assumption. #8666. Thanks @jepler.
  • Unset D_FORTIFY_SOURCE globally. #8663. Thanks @jepler.
  • Share UTF-8 conversion code to save lots of flash. #8655. Thanks @jepler.
  • Add department and PR quantity to uploaded construct filenames (wants extra work). #8648. Thanks @dhalbert.
  • Repair construct error when frozen modules are up to date. #8633. Thanks @jepler.
  • Repair git model for unified submodule cloning. #8620. Thanks @dhalbert.

Translation additions and enhancements

  • Thanks for translations:
    • @bill88t (Greek)
    • ChaeYeon Han (Korean)
    • @deepserket (Italian)
    • gfbdrgng (Russian)
    • @hexthat (Chinese language – Pinyin)
    • @jessyjones (French)
    • @wtuemura (Portugese – Brazil)
  • Don’t provide strings include solely %-escapes for translation. #8640. Thanks @jepler.
  • Enhance artificial.pot mechanism for strings that don’t want translation. #8619, #8617. Thanks @jepler.

New or eliminated boards since 9.0.0-alpha.5

  • Adafruit ESP32-S2 Digicam: Eliminated; by no means launched. #8671. Thanks @dhalbert.
  • Breadstick Improvements Raspberry Breadstick. #8636. Thanks @mrangen.
  • Cytron Maker Zero SAMD21: Eliminated; by no means launched. #8689. Thanks @noqman (@CytronTechnologies).
  • Cytron Maker UNO RP2040. #8649. Thanks @noqman (@CytronTechnologies).
  • DFRobot FireBeetle 2 ESP32-S3. #8623. Thanks @bill88t.
  • Information Engineering P1AM-200. #8665. Thanks @AdamCummick.
  • Flipper Zero Wi-Fi Dev. #8673. Thanks @maewolfsky.
  • PCTEL WSC-1450. #8656. Thanks @hendriclinden.
  • Sudden Maker TinyC6. #8626. Thanks @UnexpectedMaker.
  • WisdPi Tiny RP2040. #8670. Thanks @wisdpi.
  • WisdPi Ardu2040M. #8670. Thanks @wisdpi.

Recognized points

  • See https://github.com/adafruit/circuitpython/points for different points, together with points nonetheless to be addressed for:

Thanks

Thanks to all who used, examined, and contributed since 9.0.0-alpha.5, together with the contributors above, and lots of others on GitHub and Discord. Be part of us on the Discord chat to collaborate.

Adafruit publishes a variety of writing and video content material, together with interviews and reporting on the maker market and the broader know-how world. Our requirements web page is meant as a information to finest practices that Adafruit makes use of, in addition to an overview of the moral requirements Adafruit aspires to. Whereas Adafruit just isn’t an unbiased journalistic establishment, Adafruit strives to be a good, informative, and optimistic voice inside the group – test it out right here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, take part! adafruit.com/mastodon

Cease breadboarding and soldering – begin making instantly! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and extra. Construct initiatives with Circuit Playground in a couple of minutes with the drag-and-drop MakeCode programming website, study pc science utilizing the CS Discoveries class on code.org, bounce into CircuitPython to study Python and {hardware} collectively, TinyGO, and even use the Arduino IDE. Circuit Playground Categorical is the latest and finest Circuit Playground board, with assist for CircuitPython, MakeCode, and Arduino. It has a strong processor, 10 NeoPixels, mini speaker, InfraRed obtain and transmit, two buttons, a swap, 14 alligator clip pads, and plenty of sensors: capacitive contact, IR proximity, temperature, mild, movement and sound. A complete huge world of electronics and coding is ready for you, and it suits within the palm of your hand.

Have an incredible venture to share? The Electronics Present and Inform is each Wednesday at 7pm ET! To hitch, head over to YouTube and take a look at the present’s stay chat – we’ll submit the hyperlink there.

Be part of us each Wednesday evening at 8pm ET for Ask an Engineer!

Be part of over 36,000+ makers on Adafruit’s Discord channels and be a part of the group! http://adafru.it/discord

CircuitPython – The best technique to program microcontrollers – CircuitPython.org

Get the one spam-free every day e-newsletter about wearables, operating a “maker enterprise”, digital ideas and extra! Subscribe at AdafruitDaily.com !

No feedback but.

Adafruit has a “be wonderful to one another” remark coverage. Assist us preserve the group right here optimistic and useful. Stick with the subject, be respectful of makers of all ages and ability ranges. Be form, and do not spam – Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top