[OpenTRV-dev] V0p2 board here?

Damon Hart-Davis dhd at exnet.com
Fri Nov 6 21:21:59 GMT 2015


Hi,

I have just put in tag 20151106-JP for you for DamonHD/OpenTRV amd opentrv/OTRadioLink and have been building on 1.6.5 on REV2, REV4 and REV7.

Rgds

Damon


> On 6 Nov 2015, at 21:17, Jeremy Poulter <jeremy at bigjungle.net> wrote:
> 
> 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).
> 
> 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;
> 
> // DOES NOT RETURN.
> // Tries to turn off most stuff safely that will benefit from doing so, but nothing too complex.
> // Tries not to use lots of energy so as to keep distress beacon running for a while.
> uint16_t sramCRC();
> uint16_t eeCRC();
> void posPOST(const uint8_t position, const __FlashStringHelper *s);
> bool FilterRXISR(const volatile uint8_t *buf, volatile uint8_t &buflen);
> void optionalPOST();
> void setup();
> void loop();
> #line 64
> void panic()
>   {
> 
> Sorry this has turned in to a bit of a support thread :(
> 
> Jeremy
> 
> 
> On 6 November 2015 at 18:26, Damon Hart-Davis <dhd at exnet.com> wrote:
> Hi,
> 
> 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.
> 
> If those don’t suit I will create you a sensible matching pair, eg over the weekend.
> 
> Rgds
> 
> Damon
> 
> 
> > On 6 Nov 2015, at 18:22, Jeremy Poulter <jeremy at bigjungle.net> wrote:
> >
> > Not particularly fussed about getting the latest so if you could recommend a tag/branch that is stable I would be grateful.
> >
> > Jeremy
> >
> > On 6 Nov 2015 18:08, "Damon Hart-Davis" <dhd at exnet.com> wrote:
> > Hi,
> >
> > 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.
> >
> > 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.
> >
> > We are due another release of everything soonish, V0.10.
> >
> > Rgds
> >
> > Damon
> >
> >
> > > On 6 Nov 2015, at 18:01, Deniz Erbilgin <deniz.erbilgin at gmail.com> wrote:
> > >
> > > 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.
> > >
> > > Also, we've just fixed the mainline (apparently it was broken around lunchtime) so you should get the latest version.
> > >
> > > Regards,
> > >
> > > Deniz
> > >
> > > On 06/11/15 16:57, Jeremy Poulter wrote:
> > >> Arduino 1.6.4 from arduino.cc
> > >>
> > >> Jeremy
> > >>
> > >> On 6 November 2015 at 16:05, Deniz Erbilgin <deniz.erbilgin at gmail.com> wrote:
> > >> What version of the arduino IDE are you using (and is it from .cc or .org)?
> > >>
> > >> Regards,
> > >>
> > >> Deniz
> > >>
> > >>
> > >> On 06/11/15 15:21, Jeremy Poulter wrote:
> > >>> Ah sorry, it was that one I was using, it was the two libraries OTRadioLink and OTProtocolCC that where from the OpenTRV github.
> > >>>
> > >>> Jeremy
> > >>>
> > >>> On 6 November 2015 at 14:40, Deniz Erbilgin <deniz.erbilgin at gmail.com> wrote:
> > >>> As far as I know the repo you've linked is currently just a place holder. We're currently developing on is this one:
> > >>>
> > >>> https://github.com/DamonHD/OpenTRV
> > >>>
> > >>> The latest firmware is under ./Arduino/V0p2_Main
> > >>>
> > >>> You should also make sure you have the latest version of OTRadioLink from https://github.com/opentrv/OTRadioLink because we've done a lot of refactoring recently.
> > >>>
> > >>> Regards,
> > >>>
> > >>> Deniz
> > >>>
> > >>>
> > >>>
> > >>> On 06/11/15 14:12, Jeremy Poulter wrote:
> > >>>> I have a first version of this at http://jeremy.bigjungle.net/opentrv/package_opentrv_index.json I think it is ok but I am having troubles testing;
> > >>>>
> > >>>> a) I can compile Blink and other examples but I am reluctant to upload because of;
> > >>>> b) I can not compile the V0p2 firmware (with any board, Uno etc) it just pauses after the first file with no errors
> > >>>>
> > >>>> The code is the latest version (as of a few hours ago) from https://github.com/opentrv/opentrv.git.
> > >>>>
> > >>>> 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?
> > >>>>
> > >>>> Jeremy
> > >>>>
> > >>>> FYI the build log is;
> > >>>>
> > >>>>
> > >>>> Build options changed, rebuilding all
> > >>>> Using library OTProtocolCC in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTProtocolCC (legacy)
> > >>>> Using library SPI in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\SPI
> > >>>> Using library Wire in folder: C:\Users\jeremy\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.8\libraries\Wire
> > >>>> Using library OTRadioLink in folder: C:\Users\jeremy\Documents\Arduino\libraries\OTRadioLink (legacy)
> > >>>>
> > >>>> 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
> > >>>>
> > >>>>
> > >>>> On 5 November 2015 at 11:13, Jeremy Poulter <jeremy at bigjungle.net> wrote:
> > >>>> Thanks, I think that is sufficient but will drop an email if I need more info.
> > >>>>
> > >>>> Jeremy
> > >>>>
> > >>>> On 5 November 2015 at 11:03, Damon Hart-Davis <dhd at exnet.com> wrote:
> > >>>> Hi,
> > >>>>
> > >>>> 1) Thanks!
> > >>>>
> > >>>> 2) REV2 is one of the revisions/variants of our V0p2 design (ATmega328P based).
> > >>>>
> > >>>> 3) Here’s the main setup page, but tell me if you need more: https://sourceforge.net/p/opentrv/wiki/Arduino/
> > >>>>
> > >>>> Rgds
> > >>>>
> > >>>> Damon
> > >>>>
> > >>>>
> > >>>> > On 5 Nov 2015, at 10:57, Jeremy Poulter <jeremy at bigjungle.net> wrote:
> > >>>> >
> > >>>> > 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?
> > >>>> >
> > >>>> > Jeremy
> > >>>> >
> > >>>> > On 5 November 2015 at 10:14, Damon Hart-Davis <dhd at exnet.com> wrote:
> > >>>> > OK, thanks!
> > >>>> >
> > >>>> > Separate question then: anyone volunteering to formulate the file?
> > >>>> >
> > >>>> > I will find somewhere suitable to locate it, eg GitHub or earth.org.uk.
> > >>>> >
> > >>>> > Rgds
> > >>>> >
> > >>>> > Damon
> > >>>> >
> > >>>> > > On 5 Nov 2015, at 09:25, Damon Hart-Davis <dhd at exnet.com> wrote:
> > >>>> > >
> > >>>> > > 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?
> > >>>> > >
> > >>>> > > https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls#list-of-3rd-party-boards-support-urls
> > >>>> > >
> > >>>> > > Rgds
> > >>>> > >
> > >>>> > > Damon
> > >>>> >
> > >>>> > _______________________________________________
> > >>>> > OpenTRV-dev mailing list
> > >>>> > OpenTRV-dev at lists.opentrv.org.uk
> > >>>> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>> >
> > >>>> > _______________________________________________
> > >>>> > OpenTRV-dev mailing list
> > >>>> > OpenTRV-dev at lists.opentrv.org.uk
> > >>>> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>>
> > >>>> _______________________________________________
> > >>>> OpenTRV-dev mailing list
> > >>>> OpenTRV-dev at lists.opentrv.org.uk
> > >>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> OpenTRV-dev mailing list
> > >>>>
> > >>>> OpenTRV-dev at lists.opentrv.org.uk
> > >>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> OpenTRV-dev mailing list
> > >>> OpenTRV-dev at lists.opentrv.org.uk
> > >>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> OpenTRV-dev mailing list
> > >>>
> > >>> OpenTRV-dev at lists.opentrv.org.uk
> > >>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> OpenTRV-dev mailing list
> > >> OpenTRV-dev at lists.opentrv.org.uk
> > >> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> OpenTRV-dev mailing list
> > >>
> > >> OpenTRV-dev at lists.opentrv.org.uk
> > >> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > >
> > > _______________________________________________
> > > OpenTRV-dev mailing list
> > > OpenTRV-dev at lists.opentrv.org.uk
> > > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> >
> > _______________________________________________
> > OpenTRV-dev mailing list
> > OpenTRV-dev at lists.opentrv.org.uk
> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> > _______________________________________________
> > OpenTRV-dev mailing list
> > OpenTRV-dev at lists.opentrv.org.uk
> > http://lists.opentrv.org.uk/listinfo/opentrv-dev
> 
> _______________________________________________
> OpenTRV-dev mailing list
> OpenTRV-dev at lists.opentrv.org.uk
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
> 
> <OpenTRV build log.txt>_______________________________________________
> OpenTRV-dev mailing list
> OpenTRV-dev at lists.opentrv.org.uk
> http://lists.opentrv.org.uk/listinfo/opentrv-dev



More information about the OpenTRV-dev mailing list