manoja328 / avr-project-ide

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

Multiple pde files in project #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Creating and opening an existing multi-file(tab) Arduino project.
2.
3.

What is the expected output? What do you see instead?
When compiling there are many error regarding variables not declared in this 
scope, as well as libraries that are used like lcd, xterm etc.

What version of the product are you using? On what operating system?
AVRProjectIDE
Version 1.103.4004.40582
Version Date: December 18 2010

Please provide any additional information below.
If I put everything in one file it is fine. Are there any options? WRT to the 
libraries should they be re-written?
Also, does the serial panel support ANSI escape sequences? I tried to use
xterm from Arduino to keep the data displayed in one spot but it does not seem 
to work with the APIDE.

Lastly thanks for the excellent job on this IDE, I have been searching for 
something more advanced than the Arduino IDE, and yours works great right out 
of the box.

Original issue reported on code.google.com by paverb...@gmail.com on 24 Dec 2010 at 2:08

GoogleCodeExporter commented 9 years ago
The problem is that what Arduino does to PDE files, it stitches them together 
before compiling one large file. The order in which they are stitched together 
is unclear, and thus variables should not be shared between different PDE files.

The serial panel should support escape sequences but only some common ones such 
as \r, \n, \t, \a, \b, \v, and \xFF where FF is hexadecimal

what do you mean by "keep the data displayed in one spot"? The problem is 
probably I do not execute any sort of "clear screen" character like a real 
terminal. Use a real terminal if you need this feature, because any 
non-printable character should become hexadecimal in my version, which I think 
is better for displaying raw data.

Original comment by frank.zhao.main@gmail.com on 26 Dec 2010 at 6:56

GoogleCodeExporter commented 9 years ago
Hi Frank,

What I meant was you can give the x and y position to print the data to the
same spot instead of scrolling, that's all.

Original comment by paverb...@gmail.com on 26 Dec 2010 at 12:57

GoogleCodeExporter commented 9 years ago
Hi paverbeke

That's what a terminal does, my serial panel is more focused towards data 
acquisition.

Original comment by frank.zhao.main@gmail.com on 28 Dec 2010 at 7:00

GoogleCodeExporter commented 9 years ago
Hi Frank,

Ok, thanks for the information.

Paul

Original comment by paverb...@gmail.com on 28 Dec 2010 at 1:03