简体   繁体   English

Arduino的替代IDE

[英]Alternative IDE for Arduino

Is there some alternative IDE for developing for Adruino 是否有一些替代IDE用于开发Adruino

I tried to use Eclipe and Arduino IDE, but i am fan of Sublime Text . 我尝试使用Eclipe和Arduino IDE,但我是Sublime Text粉丝。

So, can i use it for programming for Arduino or Seeeduino in Linux? 那么,我可以在Linux中使用它来编译Arduino or Seeeduino吗?

I mean i must download some libraries and plugged in to my source code? 我的意思是我必须下载一些库并插入我的源代码?

I use a make file , to compile and upload programs to Arduino. 我使用make文件来编译和上传程序到Arduino。 You can use any IDE you like (sublime Text in your case and vim in my case) 你可以使用你喜欢的任何IDE(在你的情况下是sublime Text,在我的情况下是vim)

make upload
make screen # to view the serial monitor

Use whatever editor you feel like and build/upload from the command line. 使用您想要的任何编辑器并从命令行构建/上传。 Personally, I use arscons to pull this off. 就个人而言,我使用arscons来解决这个问题。 You'll need SCons , of course. 当然,你需要SCons Building is as simple as running 建筑就像跑步一样简单

$ scons 
$ scons upload

at the command line. 在命令行。 There are a lot of other options in the SConstruct file provided by the arscons project, such as specifying the location for extra libraries; arscons项目提供的SConstruct文件中有很多其他选项,例如指定额外库的位置; the type of Arduino you're building for; 你正在建造的Arduino的类型; and which USB port you're plugged into. 以及您插入的USB端口。 I wasn't able to get wireless programming for an Arduino Fio working with it, but it works great with the Arduino Mega and Uno. 我无法为使用它的Arduino Fio获得无线编程,但它与Arduino Mega和Uno配合得很好。

As others have pointed out, you can use Arduino with any IDE if you set up the toolchain properly. 正如其他人所指出的,如果正确设置工具链,可以在任何IDE中使用Arduino。 If you're looking for a list of possibilities, as well as documentation on how to start on specific platforms, check out the Development Tools section of the Arduino Playground. 如果您正在寻找可能性列表以及如何在特定平台上启动的文档,请查看Arduino Playground的“ 开发工具”部分。

To use with Sublime Text, you could adapt one of the existing command-line build scripts to work with Sublime's build system . 要与Sublime Text一起使用,您可以调整其中一个现有的命令行构建脚本以使用Sublime的构建系统

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM