1.安装qemu软件
sudo apt-get install -y qemu
2.编译并运行
cd micropython/ports/qemu-arm
make
编译运行后输出
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
qemu-system-arm -machine integratorcp -cpu cortex-m3 -nographic -monitor null -serial null -semihosting -kernel build/firmware.elf
hello world
本文介绍如何在QEMU上安装并配置MicroPython环境,通过具体步骤指导读者完成从安装QEMU到编译运行MicroPython的全过程。文章详细展示了使用sudo apt-get install命令安装QEMU,随后进入MicroPython的QEMU-ARM端口目录进行编译,并最终运行输出'hello world'。

4677

被折叠的 条评论
为什么被折叠?



