Difference between revisions of "Micropython"

From wiki.emacinc.com
Jump to: navigation, search
(15 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
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.
 
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: [http://docs.micropython.org/en/latest/pyboard/ Micropython Documentation]
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /***************************************** Background Information ****************************************/ -->
 
<!-- /***************************************** Background Information ****************************************/ -->
Line 19: 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 ===  
* USB
+
* [[STLink | STLink]]
* STLink
 
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
{{: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 }}
 
{{: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.
 +
 +
Documentation on specific features is listed below:
  
<!-- /*********************************************************************************************************/ -->
+
* [[ 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