|
|
|
@ -8,19 +8,19 @@
|
|
|
|
|
[istats-issue-img]: http://issuestats.com/github/micropython/micropython/badge/issue
|
|
|
|
|
[istats-issue-repo]: http://issuestats.com/github/micropython/micropython
|
|
|
|
|
|
|
|
|
|
The Micro Python project
|
|
|
|
|
========================
|
|
|
|
|
The MicroPython project
|
|
|
|
|
=======================
|
|
|
|
|
<p align="center">
|
|
|
|
|
<img src="https://raw.githubusercontent.com/micropython/micropython/master/logo/upython-with-micro.jpg" alt="MicroPython Logo"/>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
This is the Micro Python project, which aims to put an implementation
|
|
|
|
|
This is the MicroPython project, which aims to put an implementation
|
|
|
|
|
of Python 3.x on microcontrollers and small embedded systems.
|
|
|
|
|
|
|
|
|
|
WARNING: this project is in beta stage and is subject to changes of the
|
|
|
|
|
code-base, including project-wide name changes and API changes.
|
|
|
|
|
|
|
|
|
|
Micro Python implements the entire Python 3.4 syntax (including exceptions,
|
|
|
|
|
MicroPython implements the entire Python 3.4 syntax (including exceptions,
|
|
|
|
|
"with", "yield from", etc.). The following core datatypes are provided:
|
|
|
|
|
str (including basic Unicode support), bytes, bytearray, tuple, list, dict,
|
|
|
|
|
set, frozenset, array.array, collections.namedtuple, classes and instances.
|
|
|
|
@ -33,19 +33,19 @@ Python board, the officially supported reference electronic circuit board.
|
|
|
|
|
Major components in this repository:
|
|
|
|
|
- py/ -- the core Python implementation, including compiler, runtime, and
|
|
|
|
|
core library.
|
|
|
|
|
- unix/ -- a version of Micro Python that runs on Unix.
|
|
|
|
|
- stmhal/ -- a version of Micro Python that runs on the Micro Python board
|
|
|
|
|
- unix/ -- a version of MicroPython that runs on Unix.
|
|
|
|
|
- stmhal/ -- a version of MicroPython that runs on the MicroPython board
|
|
|
|
|
with an STM32F405RG (using ST's Cube HAL drivers).
|
|
|
|
|
- minimal/ -- a minimal Micro Python port. Start with this if you want
|
|
|
|
|
to port Micro Python to another microcontroller.
|
|
|
|
|
- minimal/ -- a minimal MicroPython port. Start with this if you want
|
|
|
|
|
to port MicroPython to another microcontroller.
|
|
|
|
|
|
|
|
|
|
Additional components:
|
|
|
|
|
- bare-arm/ -- a bare minimum version of Micro Python for ARM MCUs. Used
|
|
|
|
|
- bare-arm/ -- a bare minimum version of MicroPython for ARM MCUs. Used
|
|
|
|
|
mostly to control code size.
|
|
|
|
|
- teensy/ -- a version of Micro Python that runs on the Teensy 3.1
|
|
|
|
|
- teensy/ -- a version of MicroPython that runs on the Teensy 3.1
|
|
|
|
|
(preliminary but functional).
|
|
|
|
|
- pic16bit/ -- a version of Micro Python for 16-bit PIC microcontrollers.
|
|
|
|
|
- cc3200/ -- a version of Micro Python that runs on the CC3200 from TI.
|
|
|
|
|
- pic16bit/ -- a version of MicroPython for 16-bit PIC microcontrollers.
|
|
|
|
|
- cc3200/ -- a version of MicroPython that runs on the CC3200 from TI.
|
|
|
|
|
- esp8266/ -- an experimental port for ESP8266 WiFi modules.
|
|
|
|
|
- tests/ -- test framework and test scripts.
|
|
|
|
|
- tools/ -- various tools, including the pyboard.py module.
|
|
|
|
|