1

Arduino的MicroPython安装程序说明

 8 months ago
source link: https://xushanxiang.com/micropython-installer-for-arduino.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
PythonForNano.jpg

2022年11月份,MicroPython正式成为Arduino生态系统的一部分,当时Arduino 文档站点上提供了 MicroPython 固件的说明,但目前仅适用于 Arduino Nano 33 BLE Sense、Nano RP2040 Connect 和 Portenta H7 boards三种主板。

支持MicroPython的Arduino主板

一年多时间之后,现在支持MicroPython的Arduino主板有:

  • Arduino Portenta H7
  • Arduino Portenta C33
  • Arduino Nicla Vision
  • Arduino Giga
  • Arduino Nano RP2040
  • Arduino Nano ESP32
  • Arduino Nano 33 BLE

MicroPython Installer for Arduino

同时,MicroPython Installer for Arduino 的版本到了1.3.1。

Arduino 的 MicroPython 安装程序

适用于 Arduino 的 MicroPython Installer 是一款跨平台工具,可简化在兼容 Arduino 板上下载和安装 MicroPython 固件的过程。它与 macOS、Linux 和 Windows 兼容,并使用 Electron 框架构建。

  • 自动下载 MicroPython 固件。
  • Arduino 板上的无缝安装过程。
  • 跨平台支持(macOS、Linux、Windows)。

除了运行 Electron 应用程序的先决条件之外,该工具没有特殊的系统要求。

将 Arduino 板连接到计算机。启动应用程序。按照屏幕上的提示下载并安装 MicroPython 固件。

  • 如果您收到诸如“找不到支持 DFU 的设备”之类的错误消息,如果您使用的是 Windows,请确保首先安装主板的驱动程序。在 Linux 上,您可能需要调整 udev 规则。
  • 如果在日志文件中您看到该工具正在向开发板发送 REPL 命令,但没有得到响应(挂起),请仔细检查您的计算机上是否有正在运行的工具占用了串行端口。您的主板也可能正在运行占用串行端口的 MicroPython 脚本(检查 boot.py 和 main.py)。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK