本文介绍了命令行Arduino的编译和下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何编译和上传的Arduino 从Mac和Linux的命令行?我已经安装了Arduino的编程环境。是否有一些示例的makefile地方?

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?

推荐答案

编译和上传草图(如结合在C / C ++源代码)在命令行上(在Windows,Mac和Linux)通过标志直接支持最近arduino.exe的排放;请参阅:

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 recent releases of arduino.exe; see: https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc

这篇关于命令行Arduino的编译和下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 14:39