Difference between revisions of "Micropython"

From wiki.emacinc.com
Jump to: navigation, search
(25 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|description=The following page can be used to get familiarized with Micropython on EMAC products.
 
|description=The following page can be used to get familiarized with Micropython on EMAC products.
 
}}
 
}}
 
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /****************************************  Page Description Text  ****************************************/ -->
 
<!-- /****************************************  Page Description Text  ****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
<span style="background:#00FF00;color:#FF0000;font-size:300%"></span>
+
Micropython is an implementation of the Python 3 programming langauge optimized to run on microcontrollers in a constrained environment.
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
 
 
 
MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.
 
  
MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.
+
Micropython requires only 256k of code space and 16k RAM and aims to be as compatible as possible with normal Python 3 to allow for easy portability from desktop to microcontroller.
__TOC__
 
  
 +
For full documentation on Micropython, visit: [http://docs.micropython.org/en/latest/pyboard/ Micropython Documentation]
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /***************************************** Background Information ****************************************/ -->
 
<!-- /***************************************** Background Information ****************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.
 
MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.
 
MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.
 
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  General Information  *****************************************/ -->
 
<!-- /*****************************************  General Information  *****************************************/ -->
Line 28: Line 21:
 
{{:Templateimpl:geninfo | initials=BS | title=Micropython | desc=The following page can be used to get familiarized with Micropython on EMAC products. | project=OE 5.0 }}
 
{{:Templateimpl:geninfo | initials=BS | title=Micropython | desc=The following page can be used to get familiarized with Micropython on EMAC products. | project=OE 5.0 }}
 
=== Tools Required ===
 
=== Tools Required ===
 +
* Desktop PC
 +
* USB to mini-USB cable
 +
* Serial to USB converter (optional, may be required if board does not have USB)
 +
* STLink programmer (optional, may be required if board does not have USB)
 
=== Setup ===  
 
=== Setup ===  
 +
* [[STLink | STLink]]
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
{{:Templateimpl:using | initials=BS | title=Micropython | desc=The following page can be used to get familiarized with Micropython on EMAC products. | project=OE 5.0 }}
+
{{:Templateimpl:using | initials=BS | title=EMAC Micropython | desc=The following page can be used to get familiarized with Micropython on EMAC products. | project=OE 5.0 }}
<!-- /*********************************************************************************************************/ -->
+
EMAC has developed multiple drivers and features for our products running Micropython.
<!-- /******************************************    Conclusion      ******************************************/ -->
+
 
<!-- /*********************************************************************************************************/ -->
+
Documentation on specific features is listed below:
{{:Templateimpl:conclusion | initials=BS | title=Micropython | desc=The following page can be used to get familiarized with Micropython on EMAC products. | project=OE 5.0 }}
+
 
<!-- /*********************************************************************************************************/ -->
+
* [[ Micropython_Bluemix | Micropython with IBM Bluemix ]]
<!-- /******************************************  More Information  *****************************************/ -->
+
* [[ Wifi_and_mqtt_on_the_rs9113 | Wifi and MQTT on the RS9113 ]]
<!-- /*********************************************************************************************************/ -->
+
* [http://wiki.emacinc.com/wiki/Cutipy_Test Test Software for CutiPy]
<!--{{:Templateimpl:moreinfo | initials=BS | title=Getting Started with the EMAC OE SDK | desc=Basic tutorial for using the EMAC OE SDK. | project=OE 5.0 }}
 
* -->
 
  
 
{{:Templateimpl:whatnext | initials=BS | title=Getting Started with the EMAC OE SDK | desc=Basic tutorial for using the EMAC OE SDK. | project=OE 5.0 }}
 
{{:Templateimpl:whatnext | initials=BS | title=Getting Started with the EMAC OE SDK | desc=Basic tutorial for using the EMAC OE SDK. | project=OE 5.0 }}
* add link here for Mitipy
+
* [[ Industial_IoT_Boards | Boards that use Micropython ]]
* add link here for Cutipy
 

Revision as of 09:28, 31 October 2018

Micropython is an implementation of the Python 3 programming langauge optimized to run on microcontrollers in a constrained environment.

Micropython requires only 256k of code space and 16k RAM and aims to be as compatible as possible with normal Python 3 to allow for easy portability from desktop to microcontroller.

For full documentation on Micropython, visit: Micropython Documentation

General Information

Tools Required

  • Desktop PC
  • USB to mini-USB cable
  • Serial to USB converter (optional, may be required if board does not have USB)
  • STLink programmer (optional, may be required if board does not have USB)

Setup

EMAC Micropython

EMAC has developed multiple drivers and features for our products running Micropython.

Documentation on specific features is listed below:

Pages with Related Content