Pages: 1 2 [3] 4 5   Go Down
Author Topic: Arduino 1.0 Soon - What do you want to see?  (Read 4664 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8438
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This entire temp folder thing is a PITA. If you have a project you want all the relevant files in a known work folder IMO.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 437
Posts: 23709
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I keep seeing Line Numbers come up - don't folks realize that they show up already?
I have used that to help in my debugging when the error messages indicate an error in a line
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

Yes but that's still not as good as having a number on every line. I find say I get an error on line 2396, now I have to scan down the page clicking in a dozen places until I land on the right line. Much easier to just look at the left column.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 437
Posts: 23709
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

But doesn't the compiler usually highlight the line the error was on?   That has seemed pretty straightforward to me.

The tricky part I have found was figuring where an earlier missing { ( ; / type character was that caused a later line to fail.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

But doesn't the compiler usually highlight the line the error was on?

The compiler doesn't, Arduino IDE does, and it only highlights the first error. Other IDEs will let you double click on an error to goto that line but Arduino cannot do this.
Logged

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

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 437
Posts: 23709
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Alright, my installation is hosed - can't even start the compiler, can't find "avr-gcc".
Need to get my taxes done than go clean up my files.  Think I hosed things getting the sanguino files put in the right place and discovered -0021 wasn't sitting where I thought it was, but in some virtual c:/program files instead.
One more thing to add to the to-do list ....
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

You're probably right about the highlighting, it's been so long since I've had an error I can't remember   smiley-lol

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I still wish at least the compiled .hex file was saved into the sketch's application folder rather then having to search for it in the temp directories.

Lefty
+1 to this
Logged

Netherlands
Offline Offline
God Member
*****
Karma: 5
Posts: 614
A naughty mind is a joy forever.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I still wish at least the compiled .hex file was saved into the sketch's application folder rather then having to search for it in the temp directories.

Lefty



Hear Hear
Logged

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

More than just the .hex file, the .elf file would be useful too. For example, with AVR-Project-IDE, there's a dedicated window that will let you disassemble a compiled .elf file to see the corresponding assembly code for your C code.
Logged

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

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I still wish at least the compiled .hex file was saved into the sketch's application folder rather then having to search for it in the temp directories.

Lefty


+1000 to this. Big time. The fact I have to go hunt down the hex file every time I want to compile and flash is causing me huge headaches and wastes of time.

Why was this changed in the first place? Can we have the option to re-enable it PLEASE!!!
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The fact I have to go hunt down the hex file every time I want to compile and flash

Would you like help getting the upload to work from the IDE?
« Last Edit: April 14, 2011, 01:39:55 pm by Coding Badly » Logged

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

Quote
The fact I have to go hunt down the hex file every time I want to compile and flash

Why do you have to do that?  The IDE is capable of uploading.


What if I wanted the .elf file to make a .lst file or .map file? or to run avr-size on it to know how much static RAM is used? What if I needed the .eep file to load into pre-initialize EEPROM?
Logged

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

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am aware of the benefits of placing target files in a known / fixed location and I am strongly in favour of restoring that functionality.

@madsci1016 appears to be having problems with just uploading; something that the IDE is capable of doing.  I am offering assistance in the form of goading an answer to a question.  I will reword my previous post in the hopes of making my intention more clear.  Sorry for the confusion.
Logged

Seattle, WA
Offline Offline
God Member
*****
Karma: 7
Posts: 673
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What if I wanted the .elf file to make a .lst file or .map file? or to run avr-size on it to know how much static RAM is used? What if I needed the .eep file to load into pre-initialize EEPROM?

I say, if you even KNOW what the .lst .map and .eep files are, chances are good you're not the target user for the Arduino IDE.  I hope the development team keeps a clear focus on the beginning user.  Perhaps one nice thing would be to provide a nice "graduation path" for people to gracefully move on once they're advanced users.
Logged


Pages: 1 2 [3] 4 5   Go Up
Jump to: