1. 操作内容
- 利用串口通信,将编译后的Helloworld程序传输至嵌入式系统运行,通过程序中的printf函数显示helloworld打印信息。
2. 操作步骤
- 开启VM Ware虚拟机进入Ubuntu12.0系统,依次输入以下命令交叉编译共享文件夹中的helloworld.c文件:
$ cd /mnt/hgfs/forlinux/12.1-helloworld
$ arm-linux-gcc helloworld.c –o helloworld
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/08c5b3827e95194cf6ecd26be62537e2.png)
- 利用Windows系统下的Serial COM2软件进行串口通信ÿ