Difference between revisions of "Micropython"

From wiki.emacinc.com
Jump to: navigation, search
(8 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 24: Line 26:
 
* STLink programmer (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 (needs link)
 
 
* [[STLink | STLink]]
 
* [[STLink | STLink]]
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
Line 35: Line 36:
  
 
* [[ Micropython_Bluemix | Micropython with IBM Bluemix ]]
 
* [[ Micropython_Bluemix | Micropython with IBM Bluemix ]]
* MQTT on the RS9113 (needs link)
+
* [[ Wifi_and_mqtt_on_the_rs9113 | Wifi and MQTT on the RS9113 ]]
* Wifi on the RS9113 (needs link)
+
* [http://wiki.emacinc.com/wiki/Cutipy_Test Test Software for CutiPy]
  
 
{{: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