<div dir="ltr">I just checked that it's not me being daft, and I'm pretty certain it's correct. I just build and uploaded a CONFIG_REV11_SECURE_STATSHUB firmware, and then changed just two lines - commented out the CONFIG_REV11_SECURE_STATSHUB line, and uncommented the CONFIG_REV11_SECURE_SENSOR line.<div><br></div><div>They should be just what's on the TRV1.5-rv1-gE-20160919 tag.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 November 2016 at 08:05, 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>
Have you uncommented the appropriate single line in V0p2_Generic_Config.h eg:<br>
<br>
#define CONFIG_REV11_SECURE_SENSOR<br>
<br>
and commented out the #define CONFIG_… lines that you don’t need?<br>
<br>
Basic question, sorry, but just want to make sure that we’re starting off on the right foot!<br>
<br>
Rgds<br>
<br>
Damon<br>
<div><div class="h5"><br>
> On 6 Nov 2016, at 22:32, Mark Hanford <<a href="mailto:mark@hanfordonline.co.uk">mark@hanfordonline.co.uk</a>> wrote:<br>
><br>
> Hi folks.<br>
><br>
> I'm trying to compile and upload the Arduino sketch on tag TRV1.5-rv1-gE-20160919, and I'm having a spot of bother when I try to build for the CONFIG_REV11_SECURE_SENSOR.<br>
><br>
> Ubuntu 16.04<br>
> Arduino 1.6.12<br>
> OTAESGCM from tag TRV1.5-rv1-gE-20160919<br>
> OTRadioLink from tag TRV1.5-rv1-gE-20160919<br>
> OpenTRV-Arduino-V0p2 from tag TRV1.5-rv1-gE-20160919<br>
><br>
> The error I get when verifying the code in the IDE is "Board revision not defined":<br>
><br>
> Generating function prototypes...<br>
> "/opt/arduino-1.6.12/hardware/<wbr>tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=1000000L -DARDUINO=10612 -DARDUINO_AVR_V0P2 -DARDUINO_ARCH_AVR   "-I/opt/arduino-1.6.12/<wbr>hardware/arduino/avr/cores/<wbr>arduino" "-I/opt/arduino-1.6.12/<wbr>hardware/arduino/avr/variants/<wbr>standard" "-I/home/mark/Arduino/<wbr>libraries/OTRadioLink" "-I/opt/arduino-1.6.12/<wbr>hardware/arduino/avr/<wbr>libraries/SPI/src" "-I/opt/arduino-1.6.12/<wbr>hardware/arduino/avr/<wbr>libraries/Wire/src" "/tmp/arduino_build_396587/<wbr>sketch/V0p2_Main.ino.cpp" -o "/tmp/arduino_build_396587/<wbr>preproc/ctags_target_for_gcc_<wbr>minus_e.cpp"<br>
> In file included from /tmp/arduino_build_396587/<wbr>sketch/V0p2_Main.h:49:0,<br>
>                 from /home/mark/opentvr/OpenTRV-<wbr>Arduino-V0p2/Arduino/V0p2_<wbr>Main/V0p2_Main.ino:37:<br>
> /home/mark/Arduino/libraries/<wbr>OTRadioLink/OTV0p2_Board_IO_<wbr>Config.h:46:2: error: #error Board revision not defined.<br>
> #error Board revision not defined.<br>
>  ^<br>
> Using library OTRadioLink in folder: /home/mark/Arduino/libraries/<wbr>OTRadioLink (legacy)<br>
> Using library SPI at version 1.0 in folder: /opt/arduino-1.6.12/hardware/<wbr>arduino/avr/libraries/SPI<br>
> Using library Wire at version 1.0 in folder: /opt/arduino-1.6.12/hardware/<wbr>arduino/avr/libraries/Wire<br>
> exit status 1<br>
> Error compiling for board OpenTRV V0p2.<br>
><br>
><br>
> thanks,<br>
><br>
> Mark H<br>
</div></div>> ______________________________<wbr>_________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.<wbr>uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/<wbr>listinfo/opentrv-dev</a><br>
<br>
______________________________<wbr>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.<wbr>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/<wbr>listinfo/opentrv-dev</a><br>
</blockquote></div><br></div>