[ANN] MicroPython 1.7

Paul Sokolovsky pmiscml at gmail.com
Wed Apr 13 18:26:46 EDT 2016


MicroPython is a lean and efficient Python implementation for
microcontrollers, embedded, and mobile systems (which also runs just as
fine on desktops, servers, and clouds).

v1.7 adds the MicroPython cross-compiler that can generate .mpy
files (pre-compiled bytecode) which can be executed within any
MicroPython runtime/VM.  The ESP8266 port is also vastly improved thanks
to a hugely successful Kickstarter campaign.  This port now has an
alternative event loop implementation to allow proper Berkeley sockets
using lwIP built from source, and a greatly improved network module.
Many extension modules are now enabled (ujson, ubinascii, uctypes,
uhashlib, urandom, uheapq, ure, uzlib) and the machine module includes
Timer, Pin, PWM, ADC, I2C, SPI, and basic UART.  Bignums are supported,
along with 30-bit precision floating point, and normal error messages.
There is FatFS support and uos.dupterm.

Many other improvements and bug fixes have been made to the core and
other ports.  The basic test suite can now run within a 16k heap.
Inline assembler functions now support 4 arguments.  The Unix port has
the -i option to start the REPL after a script is finished.  The stmhal
port now exposes the flash and SD card as proper objects with the block
protocol. There is support for generic STM32F439 boards, the
NUCLEO-F411RE board, and targets to deploy via ST-LINK and OpenOCD.

MicroPython was packaged for the upcoming release of Fedora 24.

Full changelog:

Best regards,
 Paul                          mailto:pmiscml at gmail.com

More information about the Python-announce-list mailing list