中文页 | English
This is a port of MicroPython
on RT-Thread, which can run on RT-Thread 3.0 or higher. This software package can run MicroPython
on embedded systems equipped with RT-Thread.
If it is the first time to come into contact with RT-Thread MicroPython, it is recommended that you use RT-Thread officially supported development boards to get started quickly. These development boards have complete firmware functions and provide source code, suitable for introductory learning, and officially support development boards firmware download Please click on me.
Name | Description |
---|---|
docs | Document directory, including getting started guide and development manual |
drivers | MicroPython source code directory |
extmod | MicroPython Source Code Directory |
lib | MicroPython source code directory |
py | MicroPython source code directory |
port | Porting code directory |
LICENSE | Micropython MIT License |
RT-Thread MicroPython follows the MIT license, see the LICENSE
file for details.
To use MicroPython package
, you need to select it in the RT-Thread package manager. The specific path is as follows:
Then let the RT-Thread package manager automatically update, or use the pkgs --update
command to update the package to the BSP.
After selecting MicroPython package
, when compiling with bsp
again, it will be added to the bsp
project for compilation.
For firmware development, please refer to 《MicroPython Firmware Development Guide》
For more MicroPython documentation, please visit RT-Thread Documentation Center
RT-Thread MicroPython IDE provides a powerful development environment for MicroPython, which can be directly searched and downloaded through the VScode application store. Examples are as follows:
In order to facilitate users to add their own C functions to MicroPython to be called by Python scripts, RT-Thread provides MicroPython C binding code automatic generator For everyone to use. With this tool, users only need a few simple steps to achieve C function extension. The following figure shows the form of the automatically generated C code.
latest
version of Micropython
in the menuconfig
optionffi
module under System Module
only supports GCC toolchain, and relevant information needs to be added to the link script此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。