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