<div dir="ltr">Hum... That did not work. I tried building that tag with Arduino 1.6.5 and in now at least tries to compile all the files but I get errors with OTV0P2BASE missing lots of members (see attached log).<div><br></div><div>I also tried building with 1.6.6. This is doing some weird thing when converting the .ino file to C++ and adding definitions for all the static functions at the start of the file then erroring about it;</div><div><br></div><div><div>// DOES NOT RETURN.</div><div>// Tries to turn off most stuff safely that will benefit from doing so, but nothing too complex.</div><div>// Tries not to use lots of energy so as to keep distress beacon running for a while.</div><div>uint16_t sramCRC();</div><div>uint16_t eeCRC();</div><div>void posPOST(const uint8_t position, const __FlashStringHelper *s);</div><div>bool FilterRXISR(const volatile uint8_t *buf, volatile uint8_t &buflen);</div><div>void optionalPOST();</div><div>void setup();</div><div>void loop();</div><div>#line 64</div><div>void panic()</div><div> {</div></div><div><br></div><div>Sorry this has turned in to a bit of a support thread :(</div><div><br></div><div>Jeremy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 November 2015 at 18:26, Damon Hart-Davis <span dir="ltr"><<a href="mailto:dhd@exnet.com" target="_blank">dhd@exnet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
May I suggest then the matching 20151002-REV8-BH versions of OTRadioLink and mainline. Remember to change the config to suit your hardware, eg REV2.<br>
<br>
If those don’t suit I will create you a sensible matching pair, eg over the weekend.<br>
<br>
Rgds<br>
<span class="HOEnZb"><font color="#888888"><br>
Damon<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On 6 Nov 2015, at 18:22, Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>> wrote:<br>
><br>
> Not particularly fussed about getting the latest so if you could recommend a tag/branch that is stable I would be grateful.<br>
><br>
> Jeremy<br>
><br>
> On 6 Nov 2015 18:08, "Damon Hart-Davis" <<a href="mailto:dhd@exnet.com">dhd@exnet.com</a>> wrote:<br>
> Hi,<br>
><br>
> Be cautious actually getting code from the mainline for anything serious without asking me first as it gets yanked around for various different purposes! It should always be *near* production quality, but not necessarily quite at it.<br>
><br>
> In general, ask me directly or on the dev list if you are thinking of using the HEAD and either matching tags can be put in all the libraries or we can point you to a recent set known to play nicely together.<br>
><br>
> We are due another release of everything soonish, V0.10.<br>
><br>
> Rgds<br>
><br>
> Damon<br>
><br>
><br>
> > On 6 Nov 2015, at 18:01, Deniz Erbilgin <<a href="mailto:deniz.erbilgin@gmail.com">deniz.erbilgin@gmail.com</a>> wrote:<br>
> ><br>
> > I'm using 1.6.5. Don't know if switching to it would change anything though. It may be worth it just too see if it's a problem with your installation.<br>
> ><br>
> > Also, we've just fixed the mainline (apparently it was broken around lunchtime) so you should get the latest version.<br>
> ><br>
> > Regards,<br>
> ><br>
> > Deniz<br>
> ><br>
> > On 06/11/15 16:57, Jeremy Poulter wrote:<br>
> >> Arduino 1.6.4 from arduino.cc<br>
> >><br>
> >> Jeremy<br>
> >><br>
> >> On 6 November 2015 at 16:05, Deniz Erbilgin <<a href="mailto:deniz.erbilgin@gmail.com">deniz.erbilgin@gmail.com</a>> wrote:<br>
> >> What version of the arduino IDE are you using (and is it from .cc or .org)?<br>
> >><br>
> >> Regards,<br>
> >><br>
> >> Deniz<br>
> >><br>
> >><br>
> >> On 06/11/15 15:21, Jeremy Poulter wrote:<br>
> >>> Ah sorry, it was that one I was using, it was the two libraries OTRadioLink and OTProtocolCC that where from the OpenTRV github.<br>
> >>><br>
> >>> Jeremy<br>
> >>><br>
> >>> On 6 November 2015 at 14:40, Deniz Erbilgin <<a href="mailto:deniz.erbilgin@gmail.com">deniz.erbilgin@gmail.com</a>> wrote:<br>
> >>> As far as I know the repo you've linked is currently just a place holder. We're currently developing on is this one:<br>
> >>><br>
> >>> <a href="https://github.com/DamonHD/OpenTRV" rel="noreferrer" target="_blank">https://github.com/DamonHD/OpenTRV</a><br>
> >>><br>
> >>> The latest firmware is under ./Arduino/V0p2_Main<br>
> >>><br>
> >>> You should also make sure you have the latest version of OTRadioLink from <a href="https://github.com/opentrv/OTRadioLink" rel="noreferrer" target="_blank">https://github.com/opentrv/OTRadioLink</a> because we've done a lot of refactoring recently.<br>
> >>><br>
> >>> Regards,<br>
> >>><br>
> >>> Deniz<br>
> >>><br>
> >>><br>
> >>><br>
> >>> On 06/11/15 14:12, Jeremy Poulter wrote:<br>
> >>>> I have a first version of this at <a href="http://jeremy.bigjungle.net/opentrv/package_opentrv_index.json" rel="noreferrer" target="_blank">http://jeremy.bigjungle.net/opentrv/package_opentrv_index.json</a> I think it is ok but I am having troubles testing;<br>
> >>>><br>
> >>>> a) I can compile Blink and other examples but I am reluctant to upload because of;<br>
> >>>> b) I can not compile the V0p2 firmware (with any board, Uno etc) it just pauses after the first file with no errors<br>
> >>>><br>
> >>>> The code is the latest version (as of a few hours ago) from <a href="https://github.com/opentrv/opentrv.git" rel="noreferrer" target="_blank">https://github.com/opentrv/opentrv.git</a>.<br>
> >>>><br>
> >>>> Can anyone either tell me what is wrong with my setup re: building the firmware or give the above like a go and let me know if it works?<br>
> >>>><br>
> >>>> Jeremy<br>
> >>>><br>
> >>>> FYI the build log is;<br>
> >>>><br>
> >>>><br>
> >>>> Build options changed, rebuilding all<br>
> >>>> Using library OTProtocolCC in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC (legacy)<br>
> >>>> Using library SPI in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI<br>
> >>>> Using library Wire in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire<br>
> >>>> Using library OTRadioLink in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink (legacy)<br>
> >>>><br>
> >>>> C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10604 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\cores\arduino -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\variants\standard -IC:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI -IC:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire -IC:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink C:\Users\jeremy\AppData\Local\Temp\build8179085015090323129.tmp\AltMain.cpp -o C:\Users\jeremy\AppData\Local\Temp\build8179085015090323129.tmp\AltMain.cpp.o<br>
> >>>><br>
> >>>><br>
> >>>> On 5 November 2015 at 11:13, Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>> wrote:<br>
> >>>> Thanks, I think that is sufficient but will drop an email if I need more info.<br>
> >>>><br>
> >>>> Jeremy<br>
> >>>><br>
> >>>> On 5 November 2015 at 11:03, Damon Hart-Davis <<a href="mailto:dhd@exnet.com">dhd@exnet.com</a>> wrote:<br>
> >>>> Hi,<br>
> >>>><br>
> >>>> 1) Thanks!<br>
> >>>><br>
> >>>> 2) REV2 is one of the revisions/variants of our V0p2 design (ATmega328P based).<br>
> >>>><br>
> >>>> 3) Here’s the main setup page, but tell me if you need more: <a href="https://sourceforge.net/p/opentrv/wiki/Arduino/" rel="noreferrer" target="_blank">https://sourceforge.net/p/opentrv/wiki/Arduino/</a><br>
> >>>><br>
> >>>> Rgds<br>
> >>>><br>
> >>>> Damon<br>
> >>>><br>
> >>>><br>
> >>>> > On 5 Nov 2015, at 10:57, Jeremy Poulter <<a href="mailto:jeremy@bigjungle.net">jeremy@bigjungle.net</a>> wrote:<br>
> >>>> ><br>
> >>>> > I can give it a go. Need to get setup so I can update the firmware on my Rev 2 board anyway (is that the same as V0p2?). Can you point me at the docs for the IDE setup?<br>
> >>>> ><br>
> >>>> > Jeremy<br>
> >>>> ><br>
> >>>> > On 5 November 2015 at 10:14, Damon Hart-Davis <<a href="mailto:dhd@exnet.com">dhd@exnet.com</a>> wrote:<br>
> >>>> > OK, thanks!<br>
> >>>> ><br>
> >>>> > Separate question then: anyone volunteering to formulate the file?<br>
> >>>> ><br>
> >>>> > I will find somewhere suitable to locate it, eg GitHub or <a href="http://earth.org.uk" rel="noreferrer" target="_blank">earth.org.uk</a>.<br>
> >>>> ><br>
> >>>> > Rgds<br>
> >>>> ><br>
> >>>> > Damon<br>
> >>>> ><br>
> >>>> > > On 5 Nov 2015, at 09:25, Damon Hart-Davis <<a href="mailto:dhd@exnet.com">dhd@exnet.com</a>> wrote:<br>
> >>>> > ><br>
> >>>> > > Should the V0p2 board description be going here to make life easier, somehow, or do I have the wrong end of the stick as usual?<br>
> >>>> > ><br>
> >>>> > > <a href="https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls#list-of-3rd-party-boards-support-urls" rel="noreferrer" target="_blank">https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls#list-of-3rd-party-boards-support-urls</a><br>
> >>>> > ><br>
> >>>> > > Rgds<br>
> >>>> > ><br>
> >>>> > > Damon<br>
> >>>> ><br>
> >>>> > _______________________________________________<br>
> >>>> > OpenTRV-dev mailing list<br>
> >>>> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>>> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >>>> ><br>
> >>>> > _______________________________________________<br>
> >>>> > OpenTRV-dev mailing list<br>
> >>>> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>>> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >>>><br>
> >>>> _______________________________________________<br>
> >>>> OpenTRV-dev mailing list<br>
> >>>> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>>> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>> _______________________________________________<br>
> >>>> OpenTRV-dev mailing list<br>
> >>>><br>
> >>>> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>>> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >>><br>
> >>><br>
> >>> _______________________________________________<br>
> >>> OpenTRV-dev mailing list<br>
> >>> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >>><br>
> >>><br>
> >>><br>
> >>><br>
> >>> _______________________________________________<br>
> >>> OpenTRV-dev mailing list<br>
> >>><br>
> >>> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >>> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> OpenTRV-dev mailing list<br>
> >> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> OpenTRV-dev mailing list<br>
> >><br>
> >> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> >> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> ><br>
> > _______________________________________________<br>
> > OpenTRV-dev mailing list<br>
> > <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> > <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
><br>
> _______________________________________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
> _______________________________________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
<br>
_______________________________________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
</div></div></blockquote></div><br></div>