discostuboogaloo / optiboot

Automatically exported from code.google.com/p/optiboot
0 stars 0 forks source link

Some Arduino 0021 examples won't compile #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Arduino 0021
2. Install Optiboot and select [Optiboot]Atmega328 as destination
3. Load example. I found the bug with communications\SerialCallResponse

What is the expected output? What do you see instead?
It to compile.
It doesn't. It errors with an unknown variable error.

What version of the product are you using? On what operating system?
Arduino 0021, Windows XP SP3, Optiboot V3

Please provide any additional information below.
The libraries included with optiboot are from 0018, which isn't generally a 
problem as there were very few library changes between 0018 and 0021. 
Unfortunately one of the library changes is WProgram.h. In 0021 they have added 
some constants to refer to the analogue ports which they have used in some of 
the examples. This causes them to not compile with Optiboot set as a 
destination.

Original issue reported on code.google.com by Tankslap...@gmail.com on 20 Oct 2010 at 8:55

GoogleCodeExporter commented 8 years ago
This issue is fixed in source control. Currently undergoing verification.

Until v4 is released, please use the version currently in source control and 
report back. The more testing it gets, the better!

Original comment by cathed...@gmail.com on 20 Oct 2010 at 9:45

GoogleCodeExporter commented 8 years ago
Thanks for the quick reply, I didn't see any mention of it in the issues so 
thought I might have been the only person to try the examples in 0021 - I 
wasn't working on my usual machine when I heard about Optiboot so didn't have 
any of my usual sketches to test, so just picked one of the Arduino examples.

I can confirm that SerialCallResponse compiles with the current source control 
version.

Original comment by Tankslap...@gmail.com on 20 Oct 2010 at 10:09