MicroPython v1.11 was released yesterday! Congrats to all involved.
Highlights include: Improvements to the mpy format (with support for native code) and a Javascript port. But there have been many, many incremental improvements across the board - over 350 commits since v1.10 on 26th Jan. Take a look at the changelog for details.
The prebuilt downloads page already provides v1.11 builds.
Of note: Support for PyBoard D was not included in v1.11 - it's the focus for v1.12.
[Edit] Also notable: Ticket #4821 that covers the Roadmap for next release (v1.11 -> v2.0?).
New MicroPython release: v1.11
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: New MicroPython release: v1.11
Congrats, great job! Looking forward to 2.0
Also fixed is a rare esp8266 bug that could cause uasyncio to block everything for 1h 11 minutes. No more watchdog needed on my esp8266s.
Also fixed is a rare esp8266 bug that could cause uasyncio to block everything for 1h 11 minutes. No more watchdog needed on my esp8266s.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: New MicroPython release: v1.11
Wow that was a fast update from v1.10
-
- Posts: 8
- Joined: Thu Dec 27, 2018 10:59 pm
Re: New MicroPython release: v1.11
I'm really happy that they added the I2C.writevto(addr,vect) method and that it's already used in the ssd1306 driver
Re: New MicroPython release: v1.11
How to use second core? What's tasks work on it?boards: enable dual core support by default
Re: New MicroPython release: v1.11
Hopefully someone more knowledgeable about ESP32 can confirm, but I believe that this enables FreeRTOS threads (tasks) to use multiple cores, and that MicroPython threads are based on FreeRTOS threads.
You can use the _thread module (which is uhh undocumented... see https://docs.micropython.org/en/latest/ ... hread.html) but have a look at https://github.com/micropython/micropyt ... sts/thread for some example programs that use it.
Re: New MicroPython release: v1.11
Yes, that's my understanding too. Damien demonstrated _thread at the November Melbourne MicroPython Meetup.jimmo wrote: ↑Tue Jul 09, 2019 12:03 pmHopefully someone more knowledgeable about ESP32 can confirm, but I believe that this enables FreeRTOS threads (tasks) to use multiple cores, and that MicroPython threads are based on FreeRTOS threads.
You can use the _thread module (which is uhh undocumented... see https://docs.micropython.org/en/latest/ ... hread.html) but have a look at https://github.com/micropython/micropyt ... sts/thread for some example programs that use it.
Re: New MicroPython release: v1.11
And the performance improvement of dual versus single core is staggering! I'm amazed how much faster my app now is running (my app is quite big in size, currently at 1.6MB, and very complex including running against Azure IoT).jimmo wrote: ↑Tue Jul 09, 2019 12:03 pmHopefully someone more knowledgeable about ESP32 can confirm, but I believe that this enables FreeRTOS threads (tasks) to use multiple cores, and that MicroPython threads are based on FreeRTOS threads.
You can use the _thread module (which is uhh undocumented... see https://docs.micropython.org/en/latest/ ... hread.html) but have a look at https://github.com/micropython/micropyt ... sts/thread for some example programs that use it.