本文介绍了命令行Arduino编译和上传?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Mac和Linux上从命令行编译并上传Arduino 草图 ?我已经安装了Arduino编程环境.哪里有一些示例生成文件?
How do I compile and upload Arduino sketches from the command line on Mac and Linux? I've installed the Arduino programming environment. Are there some sample makefiles anywhere?
推荐答案
直接通过标志(在Windows,Mac和Linux上)在命令行(在Windows,Mac和Linux上)编译和上传草图(与C/C ++源代码相对应)是可行的. arduino自1.5.0起可执行.
Compiling and uploading sketches (as apposed to C/C++ sources) on the command line (on Windows, Mac, and Linux) is supported directly via flags to the arduino executable since 1.5.0.
可以使用arduino --upload [sketch.ino]
这篇关于命令行Arduino编译和上传?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!