TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Choosing The Right Arduino IDE

41 pointsby kigsteralmost 11 years ago

4 comments

wyageralmost 11 years ago
I absolutely refuse to use the Arduino environment, because it appears to be using some completely insane and&#x2F;or broken build options. I had all sorts of problems with e.g. not being notified of missing header files, misleading error messages, IDE errors during compile (as opposed to compiler or linker errors), etc.<p>Now I just use plain old avr-gcc or gcc-arm-none-eabi and my favorite text editor, and my embedded development experience with Arduino-compatible products has never been better (despite not using anything from the Arduino project).
评论 #8130002 未加载
评论 #8129568 未加载
评论 #8129433 未加载
perrylajalmost 11 years ago
I haven&#x27;t tried any of the &#x27;full&#x27; IDE&#x27;s listed yet. I have Eclipse set up for C&#x2F;C++, maybe I will give it a shot at some point. I&#x27;ve heard of the XCode version as well, but again, haven&#x27;t tried it.<p>That said, I have found ST + the Stino plugin[1] to be great for my arduino projects. A good linter setup and gdb gives most of what I am looking for. The convenience of debugging with an IDE that auto-populates watches based on context is nice, but rarely are these projects sizeable enough (for me) to need serious debugging.<p>Using Stino + ST (and turning off the Arduino code munging) gives a typical GCC compilation which requires everything you&#x27;d expect of a GCC compilation (proper declarations, prototypes, scoping, etc).<p>I can understand why forsaking function prototypes and adding type aliases (such as &#x27;boolean&#x27; usable for declarations in addition to &#x27;bool&#x27;) might make it easier for newcomers to learn to write &#x27;sketches. But I am not sure it&#x27;s great in the long run. So much of the Arduino code out there is poorly written, including some of the libraries I commonly see floating around. And coming from me (who is far from part of the greybeard C&#x2F;C++ master engineer cohort), that says a lot.<p>I think that the Arduino platform would likely benefit from a more natively supported &#x27;second step&#x27; development environment that encouraged better program organization and DRYness. I can&#x27;t even count the number of arduino &#x27;sketches&#x27; I have seen out there that are a mess of static global const variables declared in 2000+ lines of completely spaghetti&#x27;d code.<p>Of course, I think it&#x27;s great Arduino is becoming so popular, I just wouldn&#x27;t mind seeing some nicer tools&#x2F;educational resources for those new to it.<p>[1]<a href="https://github.com/Robot-Will/Stino" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Robot-Will&#x2F;Stino</a>
cmpaharalmost 11 years ago
I highly recommend Codebender.cc which is an Online IDE for Arduino. It has code completion, a lot of already included libraries (you can request for your own), a huge list with examples, the ability to share your code or find another user&#x27;s code and its on the cloud.<p>For setting up your computer, you don&#x27;t need to install any special heavy development kit except Codebender&#x27;s plugin. I remember that after completing a getting started guide in 5 minutes I was able to program my Arduino board!<p>Cheers
yarrelalmost 11 years ago
If the answer is Eclipse, you&#x27;re asking the wrong question. Unless that question is &quot;how can I nuke my productivity?&quot;, or &quot;we&#x27;re developing in Java, what&#x27;s the worst that can happen?&quot;.
评论 #8130559 未加载
评论 #8131526 未加载
评论 #8129822 未加载
评论 #8129774 未加载