[OpenTRV-dev] Compiling the Arduino sketch for the CONFIG_REV11_SECURE_SENSOR fails

Mark Hanford mark at hanfordonline.co.uk
Sun Nov 6 22:32:43 GMT 2016

Hi folks.

I'm trying to compile and upload the Arduino sketch on tag
and I'm having a spot of bother when I try to build for

Ubuntu 16.04
Arduino 1.6.12
OTAESGCM from tag TRV1.5-rv1-gE-20160919
OTRadioLink from tag TRV1.5-rv1-gE-20160919
OpenTRV-Arduino-V0p2 from tag TRV1.5-rv1-gE-20160919

The error I get when verifying the code in the IDE is "Board revision not

Generating function prototypes...
> "/opt/arduino-1.6.12/hardware/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
> "-I/opt/arduino-1.6.12/hardware/arduino/avr/cores/arduino"
> "-I/opt/arduino-1.6.12/hardware/arduino/avr/variants/standard"
> "-I/home/mark/Arduino/libraries/OTRadioLink"
> "-I/opt/arduino-1.6.12/hardware/arduino/avr/libraries/SPI/src"
> "-I/opt/arduino-1.6.12/hardware/arduino/avr/libraries/Wire/src"
> "/tmp/arduino_build_396587/sketch/V0p2_Main.ino.cpp" -o
> "/tmp/arduino_build_396587/preproc/ctags_target_for_gcc_minus_e.cpp"
> In file included from /tmp/arduino_build_396587/sketch/V0p2_Main.h:49:0,
>                  from
> /home/mark/opentvr/OpenTRV-Arduino-V0p2/Arduino/V0p2_Main/V0p2_Main.ino:37:
> /home/mark/Arduino/libraries/OTRadioLink/OTV0p2_Board_IO_Config.h:46:2:
> error: #error Board revision not defined.
>  #error Board revision not defined.
>   ^
> Using library OTRadioLink in folder:
> /home/mark/Arduino/libraries/OTRadioLink (legacy)
> Using library SPI at version 1.0 in folder:
> /opt/arduino-1.6.12/hardware/arduino/avr/libraries/SPI
> Using library Wire at version 1.0 in folder:
> /opt/arduino-1.6.12/hardware/arduino/avr/libraries/Wire
> exit status 1
> Error compiling for board OpenTRV V0p2.


Mark H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opentrv.org.uk/pipermail/opentrv-dev/attachments/20161106/d177c1f6/attachment.html>

More information about the OpenTRV-dev mailing list