Pages: [1] 2   Go Down
Author Topic: Alternative/better IDE  (Read 2547 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, any suggestions for alternative/better IDE's for Arduino ?

Thanks in advance.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48556
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are no better IDEs for Arduino. The one provided is perfect. Just ask the Arduino team. That seems to be the standard response to every enhancement request.

On the other hand, if you described what YOU mean by a better IDE, perhaps some more useful suggestions could be proposed.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nothing is perfect. And the current IDE is far from perfect. I just wanted to use a better editor (and program the board from that) and not that awful standard IDE, but probably there's no hope... Thanks.
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8475
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but probably there's no hope...
There's plenty of hope. Some folks use Eclipse and I've been using Netbeans for a while but really I find all those big IDEs are a lot of bloatware, so just recently, in an effort to get back to basics I moved to using Notepad++ for an editor and running a makefile in a dos window.

Notepad++ is a great editor and using a makefile gives you total control over the build process.

Just like the "old" days.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Rob,

can you please send me the makefile ?

I like Notepad++ very much, it's my main editor and I think that your arrangement is much better than the standard IDE (I tried, but I don't like it at all).

Thanks in advance,
John
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

IN the file menu choose preferences and select external editor smiley
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8475
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Makefile attached

Note the following.

This works in my environment and I use it to program two different 328-based boards. It's not necessarily robust and I may have broken something in the original file that I don't use.

I just tried it on my Mega and avrdude didn't sync (feel free to fix this smiley)

I haven't used make for about 15 years so my changes may be a little non kosher.

I think it could be cleaned up more, there's a lot of stuff I don't need.

______
Rob

* makefile (8.9 KB - downloaded 29 times.)
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In order of my preference

AVR-Project-IDE

Eclipse, Netbeans

Anything using Scintilla
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8475
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I just tried it on my Mega and avrdude didn't sync (feel free to fix this )

I've fixed this, change the part between double ##### lines to this

Code:
##########################################################
##########################################################
# Select processor line here
MCU = atmega328p
#MCU = atmega2560

ifeq ($(MCU),atmega2560)
UPLOAD_RATE = 115200
AVRDUDE_PROGRAMMER = stk500v2
COM = 39
endif

ifeq ($(MCU),atmega328p)
UPLOAD_RATE = 57600
AVRDUDE_PROGRAMMER = stk500v1
COM = 33
endif

ARDUINO_VERSION = 21
PROJECT_NAME = quubmon_client
PROJECT_DIR = d:/work/quubmon/client
ARDUINO_DIR = c:/progra~1/arduino/arduino-00$(ARDUINO_VERSION)
ARDUINO_CORE = $(ARDUINO_DIR)/hardware/arduino/cores/arduino
ARDUINO_AVR =    $(ARDUINO_DIR)/hardware/tools/avr/avr/include/avr
ARDUINO_LIB = $(ARDUINO_DIR)/libraries
AVRDUDE_PATH = $(ARDUINO_DIR)/hardware/tools/avr/bin
AVRDUDECONFIG_PATH = $(ARDUINO_DIR)/hardware/tools/avr/etc
AVR_TOOLS_PATH = c:/progra~1/atmel/bin
AVR_INC_PATH = c:/progra~1/atmel/avr/include/avr
PORT = //./COM$(COM)
F_CPU = 16000000

##########################################################
##########################################################

I've got different COMs because I'm working on two different boards at the same time.

______
Rob
« Last Edit: February 22, 2011, 12:54:01 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks everyone for your precious suggestions.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can somebody mod the code-blocks for compiling ide out of box.. (its an open source ide)..
Logged

0
Offline Offline
Faraday Member
**
Karma: 23
Posts: 3470
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I use Linux and prefer Kate smiley-wink
Logged

Check out my experiments http://blog.blinkenlight.net

Offline Offline
Newbie
*
Karma: 1
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I've been using Arduino for a couple of months now and I really like it but I agree that the IDE is OK but not the best IDE I've used but what do you expect for free!

I've used Notepad++ for a while and I thought I'd give it a try for sketches, WOW it's brilliant.

I found the NPPExec plugin for Notepad++ and, if I understand it correctly, it can run scripts to run external compilers etc.
Has anyone got any experience using this pugin with Notepad++ to drive the make process etc.

Or some other options: -
  • Can we request the Authors of the Arduino IDE to make a plugin for Notepad to give us a button to compile the Sketch?
  • Add some of the features found in notepad++ to the Arduino IDE, like auto indent, highlight matching words, auto grouping by braces.

Just some of my thoughts.

Logged

0
Offline Offline
Faraday Member
**
Karma: 23
Posts: 3470
20 LEDs are enough
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The IDE offers an "external editor" mode. This will disable the internal editor and the IDE will only upload. Do not forget to save before doing so.
The alternate approach is to use a makefile / sconstruct and let Notepad++ call it.
Logged

Check out my experiments http://blog.blinkenlight.net

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8475
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been using Notepad++ for some time, it's a great editor. So far I've found it easy to ALT-TAB to a DOS window and run make from there.

Does NPPexec make this any easier/better? As usual with sourceforge stuff I can't find any documentation.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1] 2   Go Up
Jump to: