命令行Arduino编译和下载? [英] Command line Arduino compiling and downloading?

查看:277
本文介绍了命令行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?

推荐答案

在命令行上编译和上传草图(如同C / C ++源代码)在Windows,Mac和Linux)通过标志直接支持最近发布的arduino.exe;请参阅: https://github.com/arduino/Arduino/blob/master/build/ shared / manpage.adoc

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编译和下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆