Go to file
2016-10-14 13:10:16 -07:00
atmel-samd atmel-samd: Make the Arduino Zero build use a bootloader. 2016-10-14 13:10:16 -07:00
bare-arm py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 2016-09-05 12:18:53 +10:00
cc3200 cc3200: Add ssl_version argument to ssl.wrap_socket(). 2016-10-01 21:35:09 +02:00
docs docs/wipy: Correct deep sleep current figure. 2016-10-10 14:22:39 +02:00
drivers driver/dht: Use mp_raise_OSError helper function. 2016-10-07 13:53:34 +11:00
esp8266 esp8266: Make neopixel support configurable. 2016-10-09 00:56:46 +03:00
examples examples/network/http_client*: Use \r\n line-endings in request. 2016-10-09 19:36:04 +03:00
extmod Merge remote-tracking branch 'micropython/master' 2016-10-10 11:42:59 -07:00
lib lib/utils: Clarify this is Adafruit's MicroPython derivative and help() isn't available yet. 2016-10-14 13:10:16 -07:00
logo logo/1bit-logo A black & white version of the logo 2016-08-02 14:59:55 +03:00
minimal py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 2016-09-05 12:18:53 +10:00
mpy-cross mpy-cross: Don't use the internal printf functions. 2016-09-05 17:30:24 +10:00
pic16bit all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
py py/makeversionhdr.py: Use any tag to describe the version. 2016-10-14 13:10:16 -07:00
qemu-arm py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 2016-09-05 12:18:53 +10:00
shared-bindings/modules atmel-samd: Add support for SPI. 2016-10-11 15:48:43 -07:00
stmhal stmhal: Use mp_raise_OSError helper function. 2016-10-07 13:58:25 +11:00
teensy all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
tests tests/io/bytesio_ext: Add test for readinto(). 2016-10-09 12:01:02 +03:00
tools tools: Upgrade upip to 1.0. 2016-10-05 00:34:09 +03:00
unix unix: Use common RAISE_ERRNO macro from mphalport.h. 2016-10-07 14:09:59 +11:00
windows windows: Enable MICROPY_PY_UERRNO 2016-09-10 10:15:30 +10:00
zephyr zephyr: Add README. 2016-10-10 21:21:45 +03:00
.gitattributes Add .gitattributes file to force text line endings to LF. 2015-04-16 22:23:56 +01:00
.gitignore Include the precompiled math library from ASF. 2016-09-07 14:35:40 -07:00
.gitmodules lib/berkeley-db-1.xx: Add Berkeley DB 1.85 as a submodule. 2016-06-14 22:20:18 +03:00
.travis.yml travis: Run feature and coverage test for precompiled mpy files. 2016-09-20 12:21:53 +10:00
ACKNOWLEDGEMENTS ACKNOWLEDGEMENTS: Add list of 842 backers from the ESP8266 campaign. 2016-04-21 12:18:28 +01:00
CODE_OF_CONDUCT.md Add code of conduct so that expectations on contributor behavior are 2016-10-13 14:09:39 -07:00
CODECONVENTIONS.md CODECONVENTIONS.md: Fix typos. 2016-08-24 13:19:25 -07:00
CONTRIBUTING.md Correct code of conduct link. 2016-10-13 14:11:53 -07:00
LICENSE Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
README.md Rework the READMEs to clarify that this is a MicroPython derivative and 2016-10-14 12:25:55 -07:00

Adafruit MicroPython

This is an open source derivative of MicroPython for use on educational development boards designed and sold by Adafruit including the Arduino Zero, Adafruit Feather M0 Basic, Adafruit Feather HUZZAH and Adafruit Feather M0 Bluefruit LE.

As a MicroPython derivative, this implements Python 3.x on microcontrollers such as the SAMD21 and ESP8266.

Project Status

This project is in beta and the APIs will change in the near future.

Documentation

Guides and videos are available through the Adafruit Learning System under the MicroPython category. An API reference is also available on Read the Docs.

Contributing

See CONTRIBUTING.md for full guidelines but please be aware that by contributing to this project you are agreeing to the Code of Conduct. Contributors who follow the Code of Conduct are welcome to submit pull requests and they will be promptly reviewed by project admins.

Project Structure

Here is an overview of the top-level directories.

Core

The core of MicroPython is code shared amongst ports.

  • docs High level user documentation in Sphinx reStructuredText format.
  • drivers External device drivers written in Python.
  • examples A few example Python scripts.
  • extmod Shared C code used in multiple ports' modules.
  • lib Shared core C code including externally developed libraries such as FATFS.
  • logo The MicroPython logo.
  • mpy-cross A cross compiler that converts Python files to byte code prior to being run in MicroPython. Useful for reducing library size.
  • py Core Python implementation, including compiler, runtime, and core library.
  • shared-bindings Shared definition of Python modules, their docs and backing C APIs. Ports must implement the C API to support the corresponding module.
  • tests Test framework and test scripts.
  • tools Various tools, including the pyboard.py module.

Ports

Ports include the code unique to a microcontroller line and also variations based on the board.

  • atmel-samd Support for SAMD21 based boards such as Arduino Zero, Adafruit Feather M0 Basic, and Adafruit Feather M0 Bluefruit LE.
  • bare-arm A bare minimum version of MicroPython for ARM MCUs.
  • cc3200 Support for boards based CC3200 from TI such as the WiPy 1.0.
  • esp8266 Support for boards based on ESP8266 WiFi modules such as the Adafruit Feather HUZZAH.
  • minimal A minimal MicroPython port. Start with this if you want to port MicroPython to another microcontroller.
  • pic16bit Support for 16-bit PIC microcontrollers.
  • qemu-arm Support for ARM emulation through QEMU.
  • stmhal Support for boards based on STM32 microcontrollers including the MicroPython flagship PyBoard.
  • teensy Support for the Teensy line of boards such as the Teensy 3.1.
  • unix Support for UNIX.
  • windows Support for Windows.
  • zephyr Support for Zephyr, a real-time operating system by the Linux Foundation.

This derivative only maintains the atmel-samd and esp8266 ports. The rest are here to maintain compatibility with the MicroPython parent project.