saniljhaveri / avr-project-ide

Automatically exported from code.google.com/p/avr-project-ide
0 stars 0 forks source link

Compile and Upload with one key. #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

1. Add function to compile+upload with one click
   For example: Pressing F9 will compile and automatically upload.

2. Put upload status into output box and we don't need to 
   close command prompt console after upload.

Thanks

Original issue reported on code.google.com by pie...@gmail.com on 26 Jan 2011 at 1:07

GoogleCodeExporter commented 8 years ago
1: I'll add a menu option for it with the hotkey, and maybe holding shift while 
clicking the upload icon.

2: sorry, I tried to before and ran into some issues, the command prompt will 
close automatically if you re-upload though
I think after several months I think I know how to fix that issue, I'll try 
again

Original comment by frank.zhao.main@gmail.com on 26 Jan 2011 at 7:53

GoogleCodeExporter commented 8 years ago
Hi Frank, thanks for starting this issue.
I will wait for the updates.

Btw, thanks for making this great project.

Original comment by pie...@gmail.com on 26 Jan 2011 at 8:55

GoogleCodeExporter commented 8 years ago
I still can't fix #2 there

Original comment by frank.zhao.main@gmail.com on 27 Jan 2011 at 5:45

GoogleCodeExporter commented 8 years ago
I thinks process of calling AVRDude is same like calling gcc.
You had successful sent output of gcc to Output window.
So i'm sure you can send AVRDude's output to Output windows too.
Like Arduino IDE :)

Thanks.

Original comment by pie...@gmail.com on 27 Jan 2011 at 11:09

GoogleCodeExporter commented 8 years ago
I can get the output to the textbox just fine. That's not the problem.

The problem is that I can't monitor the change to the progress bar. I can only 
retrieve through stdout or stderr if there is a new-line written to the stream, 
and since the progress bar is all on one line, I can't read it until it's done. 
Thus I am forced to show the command line window in order to show the progress 
bar.

Also, if a user is prompted to perform an action, the user can't respond if I 
don't present them with a command line, although this I can fix using an 
alternative internal stream with stdin

Original comment by frank.zhao.main@gmail.com on 27 Jan 2011 at 2:43

GoogleCodeExporter commented 8 years ago
Do you know AVRDude-GUI? http://sourceforge.net/projects/avrdude-gui/
It can display progress bar without showing command line console.
Because it open source too, you can find how it can be done :)

Thanks!

Original comment by pie...@gmail.com on 27 Jan 2011 at 3:20

GoogleCodeExporter commented 8 years ago
I know it can be done, I know how it's usually done, it's just .NET's way of 
getting the std streams makes it impossible to do it in C# right now

Original comment by frank.zhao.main@gmail.com on 27 Jan 2011 at 3:26

GoogleCodeExporter commented 8 years ago
Yes, I'm sure you can :)
Keep up the good work.

Original comment by pie...@gmail.com on 27 Jan 2011 at 5:23