For faster navigation, this Iframe is preloading the Wikiwand page for MicroPython.

MicroPython

MicroPython
作者 Damien P. George
初版 2014年5月3日 (10年前) (2014-05-03)
最新版
1.19[1] / 2022年1月17日 (2年前) (2022-01-17)
リポジトリ ウィキデータを編集
プログラミング
言語
C言語
プラットフォーム ARM Cortex-M, ESP8266, ESP32,
16bit PIC, Unix,
Microsoft Windows, Zephyr, JavaScript
種別 Python 処理系
ライセンス MIT license[2]
公式サイト micropython.org
テンプレートを表示

MicroPython[3](マイクロパイソン)は、C言語で記述されマイクロコントローラ上での動作に最適化された、Python 3と高い互換性を持つプログラミング言語処理系である[4][5]

概要

[編集]

MicroPythonはマイコン上で動作する完全なPythonコンパイラおよびランタイムである。サポートされたコマンドを即時実行するための対話型プロンプト (REPL) も用意されている。MicroPythonにはPythonのコア・ライブラリのみならず、低レイヤへのアクセスを提供するモジュール群も含まれる[3]

MicroPythonはもともと、2013年にKickstarterでの資金集めに成功した後、オーストラリアのプログラマ・物理学者のダミアン・ジョージ(: Damien George)により開発されたものである[6]。元のKickstarterプロジェクトではpyboardというSTM32F4英語版を搭載したマイコンボードと共にリリースされたものの、MicroPythonは多くのARMベースのアーキテクチャをサポートしている[7]。メインラインでサポートされているのは ARM Cortex-M(STM32を使用した様々なボード、TI CC3200/WiPy、Teensy ボード、Nordic nRF シリーズ、SAMD21、SAMD51)、ESP8266、ESP32、16bit PIC、Unix、Windows、Zephyr、JavaScriptである[8]。このほか、メインラインでサポートされていない様々なシステムやハードウェア向けに数多くのフォークがある[9]

2016年にはBBC Micro:bit 向けバージョンのMicroPythonが、BBCとのMicro Bitパートナーシップの一環としてPythonソフトウェア財団により開発された[10]

2017年7月には、MicroPythonのフォークとして、教育用途および簡単に使えることを主眼にしたCircuitPythonが作成された。MicroPythonとCircuitPythonでは、サポートするハードウェアが若干異なる(例えば、CircuitPythonは Atmel SAM D21とD51をサポートするが、ESP8266はサポートしない)。現在のCircuitPython version 4.0はMicroPython version 1.9.4に基づいている[11]

2017年、Microsemi英語版はMicroPythonをRISC-V(RV32およびRV64)アーキテクチャへ移植している[12]

2021年1月、MicroPythonのRP2040(ARM Cortex-M0+アーキテクチャー、Raspberry Pi Picoその他で採用)への移植版が作成された。[13]

ソースコードはGitHub上でMIT Licenseで公開されている[14]

脚注

[編集]
  1. ^ MicroPython version 1.19 released
  2. ^ George, Damien P. (4 May 2014). “micropython/LICENSE at master · micropython/micropython”. GitHub. 11 February 2017閲覧。
  3. ^ a b MicroPython - Python for microcontrollers”. micropython.org. 12 August 2017閲覧。
  4. ^ Venkataramanan, Madhumita (6 December 2013). “Micro Python: more powerful than Arduino, simpler than the Raspberry Pi”. Wired. https://www.wired.co.uk/article/micro-python 15 December 2016閲覧。 
  5. ^ Yegulalp, Serdar (5 July 2014). “Micro Python's tiny circuits: Python variant targets microcontrollers”. InfoWorld. http://www.infoworld.com/article/2608012/python/micro-python-s-tiny-circuits--python-variant-targets-microcontrollers.html 15 December 2016閲覧。 
  6. ^ Micro Python: Python for microcontrollers”. Kickstarter. Kickstarter. 15 December 2016閲覧。
  7. ^ Beningo, Jacob (11 July 2016). “Prototype to production: MicroPython under the hood”. EDN Network. http://www.edn.com/electronics-blogs/embedded-basics/4442357/Prototype-to-production---MicroPython-under-the-hood 15 December 2016閲覧。 
  8. ^ micropython/ports at master · micropython/micropython”. GitHub. 22 October 2019閲覧。
  9. ^ Awesome MicroPython”. GitHub. 22 October 2019閲覧。
  10. ^ Hands on with the BBC Micro-Bit user interface”. ElectronicsWeekly.com. 8 July 2015閲覧。
  11. ^ CircuitPython 4.0.1 released!”. Adafruit Blog. Adafruit Industries. 11 Jun 2019閲覧。
  12. ^ RISC-V Poster Preview — 7th RISC-V Workshop” (28 November 2017). 17 December 2018閲覧。
  13. ^ Meet Raspberry Silicon: Raspberry Pi Pico now on sale at $4”. www.raspberrypi.org. 2021年1月21日閲覧。
  14. ^ MicroPython on GitHub”. 2017年10月24日閲覧。

外部リンク

[編集]
{{bottomLinkPreText}} {{bottomLinkText}}
MicroPython
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?