{"id":15170069,"url":"https://github.com/micropython/micropython-infineon","last_synced_at":"2025-10-01T04:30:43.816Z","repository":{"id":41280883,"uuid":"62145362","full_name":"micropython/micropython-infineon","owner":"micropython","description":"MicroPython ported to Infineon MCUs","archived":true,"fork":false,"pushed_at":"2016-07-12T08:42:49.000Z","size":21962,"stargazers_count":32,"open_issues_count":1,"forks_count":24,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-01T04:57:02.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micropython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-28T13:58:51.000Z","updated_at":"2024-05-27T11:44:11.000Z","dependencies_parsed_at":"2022-09-21T00:40:55.145Z","dependency_job_id":null,"html_url":"https://github.com/micropython/micropython-infineon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micropython%2Fmicropython-infineon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micropython%2Fmicropython-infineon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micropython%2Fmicropython-infineon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micropython%2Fmicropython-infineon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micropython","download_url":"https://codeload.github.com/micropython/micropython-infineon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234821056,"owners_count":18891972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T08:00:30.393Z","updated_at":"2025-10-01T04:30:36.862Z","avatar_url":"https://github.com/micropython.png","language":"C","readme":"[![Build Status][travis-img]][travis-repo] [![Coverage Status][coveralls-img]][coveralls-repo] [![Issue Stats][istats-pr-img]][istats-pr-repo] [![Issue Stats][istats-issue-img]][istats-issue-repo]\n[travis-img]:  https://travis-ci.org/micropython/micropython.png?branch=master\n[travis-repo]: https://travis-ci.org/micropython/micropython\n[coveralls-img]:  https://coveralls.io/repos/micropython/micropython/badge.png?branch=master\n[coveralls-repo]: https://coveralls.io/r/micropython/micropython?branch=master\n[istats-pr-img]: http://issuestats.com/github/micropython/micropython/badge/pr\n[istats-pr-repo]: http://issuestats.com/github/micropython/micropython\n[istats-issue-img]: http://issuestats.com/github/micropython/micropython/badge/issue\n[istats-issue-repo]: http://issuestats.com/github/micropython/micropython\n\nThe MicroPython project\n=======================\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/micropython/micropython/master/logo/upython-with-micro.jpg\" alt=\"MicroPython Logo\"/\u003e\n\u003c/p\u003e\n\nThis is the MicroPython project, which aims to put an implementation\nof Python 3.x on microcontrollers and small embedded systems.\nYou can find the official website at [micropython.org](http://www.micropython.org).\n\nWARNING: this project is in beta stage and is subject to changes of the\ncode-base, including project-wide name changes and API changes.\n\nMicroPython implements the entire Python 3.4 syntax (including exceptions,\n\"with\", \"yield from\", etc., and additionally \"async\" keyword from Python 3.5).\nThe following core datatypes are provided: str (including basic Unicode\nsupport), bytes, bytearray, tuple, list, dict, set, frozenset, array.array,\ncollections.namedtuple, classes and instances. Builtin modules include sys,\ntime, and struct.  Note that only subset of Python 3.4 functionality\nimplemented for the data types and modules.\n\nSee the repository www.github.com/micropython/pyboard for the Micro\nPython board, the officially supported reference electronic circuit board.\n\nMajor components in this repository:\n- py/ -- the core Python implementation, including compiler, runtime, and\n  core library.\n- unix/ -- a version of MicroPython that runs on Unix.\n- stmhal/ -- a version of MicroPython that runs on the MicroPython board\n  with an STM32F405RG (using ST's Cube HAL drivers).\n- minimal/ -- a minimal MicroPython port. Start with this if you want\n  to port MicroPython to another microcontroller.\n- tests/ -- test framework and test scripts.\n- docs/ -- user documentation in Sphinx reStructuredText format.\n\nAdditional components:\n- bare-arm/ -- a bare minimum version of MicroPython for ARM MCUs. Used\n  mostly to control code size.\n- teensy/ -- a version of MicroPython that runs on the Teensy 3.1\n  (preliminary but functional).\n- pic16bit/ -- a version of MicroPython for 16-bit PIC microcontrollers.\n- cc3200/ -- a version of MicroPython that runs on the CC3200 from TI.\n- esp8266/ -- an experimental port for ESP8266 WiFi modules.\n- tools/ -- various tools, including the pyboard.py module.\n- examples/ -- a few example Python scripts.\n\nThe subdirectories above may include READMEs with additional info.\n\n\"make\" is used to build the components, or \"gmake\" on BSD-based systems.\nYou will also need bash and Python (at least 2.7 or 3.3).\n\nThe Unix version\n----------------\n\nThe \"unix\" port requires a standard Unix environment with gcc and GNU make.\nx86 and x64 architectures are supported (i.e. x86 32- and 64-bit), as well\nas ARM and MIPS. Making full-featured port to another architecture requires\nwriting some assembly code for the exception handling and garbage collection.\nAlternatively, fallback implementation based on setjmp/longjmp can be used.\n\nTo build (see section below for required dependencies):\n\n    $ cd unix\n    $ make axtls\n    $ make\n\nThen to give it a try:\n\n    $ ./micropython\n    \u003e\u003e\u003e list(5 * x + y for x in range(10) for y in [4, 2, 1])\n\nUse `CTRL-D` (i.e. EOF) to exit the shell.\nLearn about command-line options (in particular, how to increase heap size\nwhich may be needed for larger applications):\n\n    $ ./micropython --help\n\nRun complete testsuite:\n\n    $ make test\n\nUnix version comes with a builtin package manager called upip, e.g.:\n\n    $ ./micropython -m upip install micropython-pystone\n    $ ./micropython -m pystone\n\nBrowse available modules on\n[PyPI](https://pypi.python.org/pypi?%3Aaction=search\u0026term=micropython).\nStandard library modules come from\n[micropython-lib](https://github.com/micropython/micropython-lib) project.\n\nExternal dependencies\n---------------------\n\nBuilding Unix version requires some dependencies installed. For\nDebian/Ubuntu/Mint derivative Linux distros, install `build-essential`\n(includes toolchain and make), `libffi-dev`, and `pkg-config` packages.\n\nOther dependencies can be built together with MicroPython. Oftentimes,\nyou need to do this to enable extra features or capabilities. To build\nthese additional dependencies, first fetch git submodules for them:\n\n    $ git submodule update --init\n\nUse this same command to get the latest versions of dependencies, as\nthey are updated from time to time. After that, in `unix/` dir, execute:\n\n    $ make deplibs\n\nThis will build all available dependencies (regardless whether they\nare used or not). If you intend to build MicroPython with additional\noptions (like cross-compiling), the same set of options should be passed\nto `make deplibs`. To actually enabled use of dependencies, edit\n`unix/mpconfigport.mk` file, which has inline descriptions of the options.\nFor example, to build SSL module (required for `upip` tool described above),\nset `MICROPY_PY_USSL` to 1.\n\nIn `unix/mpconfigport.mk`, you can also disable some dependencies enabled\nby default, like FFI support, which requires libffi development files to\nbe installed.\n\nThe STM version\n---------------\n\nThe \"stmhal\" port requires an ARM compiler, arm-none-eabi-gcc, and associated\nbin-utils.  For those using Arch Linux, you need arm-none-eabi-binutils and\narm-none-eabi-gcc packages.  Otherwise, try here:\nhttps://launchpad.net/gcc-arm-embedded\n\nTo build:\n\n    $ cd stmhal\n    $ make\n\nYou then need to get your board into DFU mode.  On the pyboard, connect the\n3V3 pin to the P1/DFU pin with a wire (on PYBv1.0 they are next to each other\non the bottom left of the board, second row from the bottom).\n\nThen to flash the code via USB DFU to your device:\n\n    $ make deploy\n\nThis will use the included `tools/pydfu.py` script.  If flashing the firmware\ndoes not work it may be because you don't have the correct permissions, and\nneed to use `sudo make deploy`.\nSee the README.md file in the stmhal/ directory for further details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicropython%2Fmicropython-infineon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicropython%2Fmicropython-infineon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicropython%2Fmicropython-infineon/lists"}