Go Down

Topic: Arduino 1.0 Soon - What do you want to see? (Read 6111 times) previous topic - next topic

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

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
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

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.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

frank26080115


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.
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

CrossRoads

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 ....
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Graynomad

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

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

mowcius


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

Simpson_Jr


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

frank26080115

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.
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

madsci1016


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!!!

Coding Badly

#41
Apr 14, 2011, 08:00 pm Last Edit: Apr 14, 2011, 08:39 pm by Coding Badly Reason: 1
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?

frank26080115


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?
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Coding Badly

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.


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.

Go Up