三木社区

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 616|回复: 0
打印 上一主题 下一主题

qemu中运行micropython

[复制链接]

1562

主题

1564

帖子

4904

积分

博士

Rank: 8Rank: 8

积分
4904
跳转到指定楼层
楼主
发表于 2018-3-27 07:31:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.安装qemu软件
  1. sudo apt-get install -y qemu
复制代码
2.编译并运行
  1. cd micropython/ports/qemu-arm
  2. make
复制代码
编译运行后输出
  1. Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
  2. qemu-system-arm -machine integratorcp -cpu cortex-m3 -nographic -monitor null -serial null -semihosting -kernel build/firmware.elf
  3. hello world
复制代码


回复

使用道具 举报

Archiver|手机版|小黑屋|三木电子社区 ( 辽ICP备11000133号-4 )

辽公网安备 21021702000620号

GMT+8, 2026-2-3 23:54 , Processed in 0.055836 second(s), 23 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表