Go to file
Scott Shawcroft 6fe8c7b32c Merge pull request #26 from adafruit/ssd1306_hardware_i2c
Support SSD1306 with hardware I2C interface. Closes #15
2016-10-20 16:17:02 -07:00
atmel-samd atmel-samd: Enable framebuffer for SSD1306 and other displays. 2016-10-20 23:10:28 +00:00
bare-arm py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 2016-09-05 12:18:53 +10:00
cc3200 cc3200: Fix thread mutex's so threading works with interrupts. 2016-10-19 14:24:56 +11:00
docs Merge remote-tracking branch 'micropython/master' 2016-10-20 23:01:13 +00:00
drivers drivers: Remove SSD1306 driver, it lives in separate micropython-adafruit-ssd1306 repo now. 2016-10-20 23:13:22 +00:00
esp8266 py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined. 2016-10-21 01:08:43 +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-20 23:01:13 +00:00
lib Merge remote-tracking branch 'micropython/master' 2016-10-20 23:01:13 +00: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 Merge remote-tracking branch 'micropython/master' 2016-10-20 23:01:13 +00:00
qemu-arm qemu-arm: Remove SRC_TEST_C from SRC_QSTR list, it's not needed. 2016-10-14 00:30:38 +11:00
shared-bindings atmel-samd: More updates to the docs including the in-code docs. 2016-10-19 16:49:35 -07:00
stmhal stmhal/Makefile: Use standard rules for frozen module generation. 2016-10-21 01:27:17 +03:00
teensy teensy: Update to provide new mp_hal_pin_XXX functions following stmhal. 2016-10-18 15:34:17 +11:00
tests tests/run-tests: Enable extmod/machine1.py on pyboard. 2016-10-17 13:18:27 +11:00
tools qemu-arm: Enable lots of extmods and enable tests for them. 2016-10-14 00:08:19 +11:00
unix esp8266, stmhal, unix: MAKE_FROZEN is consistently defined in mkenv.mk. 2016-10-16 10:49:36 +03:00
windows windows: Enable MICROPY_PY_UERRNO 2016-09-10 10:15:30 +10:00
zephyr py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined. 2016-10-21 01:08:43 +03:00
.gitattributes Add .gitattributes file to force text line endings to LF. 2015-04-16 22:23:56 +01:00
.gitignore Documentation rework to unify the docs together rather than having them 2016-10-18 17:42:47 -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
c2rst.py Switch away from sphinx.parsers which isn't available in sphinx 1.3.5 on Read The Docs. 2016-10-19 10:53:37 -07: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
conf.py Merge remote-tracking branch 'micropython/master' 2016-10-20 23:01:13 +00:00
CONTRIBUTING.md Add title to contributing doc. 2016-10-19 10:53:37 -07:00
index.rst atmel-samd: More updates to the docs including the in-code docs. 2016-10-19 16:49:35 -07:00
LICENSE Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
license.rst Documentation rework to unify the docs together rather than having them 2016-10-18 17:42:47 -07: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.