导入模块时,MicroPython将代码编译为字节码,然后由MicroPython虚拟机(VM)执行字节码。字节码存储在RAM中。编译器本身需要RAM,但其在编译完成后才可用。 若已导入多个模块,则在没有足够的RAM来运行编译器时,会出现这种情况。在这种情况下,导入语句将引发 ...
当下MicroPython 变得越来越流行,RT-Thread 也提供了对应的软件包的支持。那么,相比官方原生的 MicroPython 我们有哪些改进呢?本文将深入介绍,RT-Thread MicroPython软件包与官方原生MicroPython的区别。 首先,我们先来了解下 MicroPython 本身的一些优势及应用领域。
The RP2040 is a gorgeous little chip with a well-defined datasheet and a fantastic price tag. Two SDKs are even offered: one based on C and the other MicroPython. More experienced MCU wranglers will ...
Scripting languages are for large computers, right? “Real” embedded device work is a hellish, never-ending cycle of code, compile, and re-flash. Well, I used to think so too, but with the ...