Advertisement
Guest User

Compile Errors ATTiny MySensors as RepeaterNode

a guest
Jun 28th, 2017
130
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 32.79 KB
  1.  
  2. C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -hardware C:\Users\\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=attiny:avr:ATtinyX5:cpu=attiny85,clock=internal8 -vid-pid=0X2341_0X0043 -ide-version=10802 -build-path C:\Users\\AppData\Local\Temp\arduino_build_538309 -warnings=all -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_270043 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino
  3. C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -hardware C:\Users\\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=attiny:avr:ATtinyX5:cpu=attiny85,clock=internal8 -vid-pid=0X2341_0X0043 -ide-version=10802 -build-path C:\Users\\AppData\Local\Temp\arduino_build_538309 -warnings=all -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_270043 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino
  4. Using board 'ATtinyX5' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2
  5. Using core 'arduino' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19
  6. Detecting libraries used...
  7. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/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=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp" -o "nul"
  8. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/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=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\\Documents\Arduino\libraries\MySensors" "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp" -o "nul"
  9. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/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=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\\Documents\Arduino\libraries\MySensors" "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src" "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp" -o "nul"
  10. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/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=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\\Documents\Arduino\libraries\MySensors" "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src" "C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src\SPI.cpp" -o "nul"
  11. Generating function prototypes...
  12. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/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=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\\Documents\Arduino\libraries\MySensors" "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src" "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp" -o "C:\Users\\AppData\Local\Temp\arduino_build_538309\preproc\ctags_target_for_gcc_minus_e.cpp"
  13. "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\\AppData\Local\Temp\arduino_build_538309\preproc\ctags_target_for_gcc_minus_e.cpp"
  14. Compiling sketch...
  15. "C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10802 -DARDUINO_attiny -DARDUINO_ARCH_AVR   "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino" "-IC:\Users\\AppData\Local\Arduino15\packages\attiny\hardware\avr\1.0.2\variants\tiny8" "-IC:\Users\\Documents\Arduino\libraries\MySensors" "-IC:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src" "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp" -o "C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp.o"
  16. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:65:0,
  17.  
  18.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  19.  
  20. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp: In function 'void hwPowerDown(period_t)':
  21.  
  22. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:66:20: error: 'WDTCSR' was not declared in this scope
  23.  
  24.   uint8_t WDTsave = WDTCSR;
  25.  
  26.                     ^
  27.  
  28. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:22:0,
  29.  
  30.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:65,
  31.  
  32.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  33.  
  34. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp: In function 'void hwInternalSleep(long unsigned int)':
  35.  
  36. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.h:38:25: error: 'Serial' was not declared in this scope
  37.  
  38.  #define MY_SERIALDEVICE Serial
  39.  
  40.                          ^
  41.  
  42. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:102:2: note: in expansion of macro 'MY_SERIALDEVICE'
  43.  
  44.   MY_SERIALDEVICE.flush();
  45.  
  46.   ^
  47.  
  48. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:65:0,
  49.  
  50.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  51.  
  52. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp: In function 'uint16_t hwCPUFrequency()':
  53.  
  54. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:226:2: error: 'TIFR1' was not declared in this scope
  55.  
  56.   TIFR1 = 0xFF;
  57.  
  58.   ^
  59.  
  60. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:229:2: error: 'TCCR1C' was not declared in this scope
  61.  
  62.   TCCR1C = 0;
  63.  
  64.   ^
  65.  
  66. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:231:20: error: 'WDTCSR' was not declared in this scope
  67.  
  68.   uint8_t WDTsave = WDTCSR;
  69.  
  70.                     ^
  71.  
  72. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:237:2: error: 'TCCR1B' was not declared in this scope
  73.  
  74.   TCCR1B = _BV(CS12) | _BV(CS10);
  75.  
  76.   ^
  77.  
  78. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:22:0,
  79.  
  80.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:65,
  81.  
  82.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  83.  
  84. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp: In function 'void hwDebugPrint(const char*, ...)':
  85.  
  86. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.h:38:25: error: 'Serial' was not declared in this scope
  87.  
  88.  #define MY_SERIALDEVICE Serial
  89.  
  90.                          ^
  91.  
  92. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:269:2: note: in expansion of macro 'MY_SERIALDEVICE'
  93.  
  94.   MY_SERIALDEVICE.print(hwMillis());
  95.  
  96.   ^
  97.  
  98. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  99.  
  100.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  101.  
  102.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  103.  
  104.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  105.  
  106. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In member function 'void SPISettings::init_AlwaysInline(uint32_t, uint8_t, uint8_t)':
  107.  
  108. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:146:16: error: 'SPE' was not declared in this scope
  109.  
  110.      spcr = _BV(SPE) | _BV(MSTR) | ((bitOrder == LSBFIRST) ? _BV(DORD) : 0) |
  111.  
  112.                 ^
  113.  
  114. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:146:27: error: 'MSTR' was not declared in this scope
  115.  
  116.      spcr = _BV(SPE) | _BV(MSTR) | ((bitOrder == LSBFIRST) ? _BV(DORD) : 0) |
  117.  
  118.                            ^
  119.  
  120. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:146:65: error: 'DORD' was not declared in this scope
  121.  
  122.      spcr = _BV(SPE) | _BV(MSTR) | ((bitOrder == LSBFIRST) ? _BV(DORD) : 0) |
  123.  
  124.                                                                  ^
  125.  
  126. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  127.  
  128.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  129.  
  130.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  131.  
  132.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  133.  
  134. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::beginTransaction(SPISettings)':
  135.  
  136. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:203:5: error: 'SPCR' was not declared in this scope
  137.  
  138.      SPCR = settings.spcr;
  139.  
  140.      ^
  141.  
  142. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:204:5: error: 'SPSR' was not declared in this scope
  143.  
  144.      SPSR = settings.spsr;
  145.  
  146.      ^
  147.  
  148. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static uint8_t SPIClass::transfer(uint8_t)':
  149.  
  150. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:209:5: error: 'SPDR' was not declared in this scope
  151.  
  152.      SPDR = data;
  153.  
  154.      ^
  155.  
  156. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:217:14: error: 'SPSR' was not declared in this scope
  157.  
  158.      while (!(SPSR & _BV(SPIF))) ; // wait
  159.  
  160.               ^
  161.  
  162. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  163.  
  164.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  165.  
  166.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  167.  
  168.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  169.  
  170. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:217:25: error: 'SPIF' was not declared in this scope
  171.  
  172.      while (!(SPSR & _BV(SPIF))) ; // wait
  173.  
  174.                          ^
  175.  
  176. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  177.  
  178.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  179.  
  180.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  181.  
  182.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  183.  
  184. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static uint16_t SPIClass::transfer16(uint16_t)':
  185.  
  186. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:223:11: error: 'SPCR' was not declared in this scope
  187.  
  188.      if (!(SPCR & _BV(DORD))) {
  189.  
  190.            ^
  191.  
  192. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  193.  
  194.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  195.  
  196.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  197.  
  198.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  199.  
  200. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:223:22: error: 'DORD' was not declared in this scope
  201.  
  202.      if (!(SPCR & _BV(DORD))) {
  203.  
  204.                       ^
  205.  
  206. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  207.  
  208.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  209.  
  210.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  211.  
  212.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  213.  
  214. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:224:7: error: 'SPDR' was not declared in this scope
  215.  
  216.        SPDR = in.msb;
  217.  
  218.        ^
  219.  
  220. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:226:16: error: 'SPSR' was not declared in this scope
  221.  
  222.        while (!(SPSR & _BV(SPIF))) ;
  223.  
  224.                 ^
  225.  
  226. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  227.  
  228.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  229.  
  230.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  231.  
  232.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  233.  
  234. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:226:27: error: 'SPIF' was not declared in this scope
  235.  
  236.        while (!(SPSR & _BV(SPIF))) ;
  237.  
  238.                            ^
  239.  
  240. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  241.  
  242.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  243.  
  244.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  245.  
  246.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  247.  
  248. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:230:16: error: 'SPSR' was not declared in this scope
  249.  
  250.        while (!(SPSR & _BV(SPIF))) ;
  251.  
  252.                 ^
  253.  
  254. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  255.  
  256.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  257.  
  258.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  259.  
  260.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  261.  
  262. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:230:27: error: 'SPIF' was not declared in this scope
  263.  
  264.        while (!(SPSR & _BV(SPIF))) ;
  265.  
  266.                            ^
  267.  
  268. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  269.  
  270.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  271.  
  272.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  273.  
  274.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  275.  
  276. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:233:7: error: 'SPDR' was not declared in this scope
  277.  
  278.        SPDR = in.lsb;
  279.  
  280.        ^
  281.  
  282. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:235:16: error: 'SPSR' was not declared in this scope
  283.  
  284.        while (!(SPSR & _BV(SPIF))) ;
  285.  
  286.                 ^
  287.  
  288. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  289.  
  290.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  291.  
  292.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  293.  
  294.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  295.  
  296. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:235:27: error: 'SPIF' was not declared in this scope
  297.  
  298.        while (!(SPSR & _BV(SPIF))) ;
  299.  
  300.                            ^
  301.  
  302. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  303.  
  304.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  305.  
  306.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  307.  
  308.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  309.  
  310. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:239:16: error: 'SPSR' was not declared in this scope
  311.  
  312.        while (!(SPSR & _BV(SPIF))) ;
  313.  
  314.                 ^
  315.  
  316. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  317.  
  318.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  319.  
  320.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  321.  
  322.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  323.  
  324. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:239:27: error: 'SPIF' was not declared in this scope
  325.  
  326.        while (!(SPSR & _BV(SPIF))) ;
  327.  
  328.                            ^
  329.  
  330. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  331.  
  332.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  333.  
  334.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  335.  
  336.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  337.  
  338. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::transfer(void*, size_t)':
  339.  
  340. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:247:5: error: 'SPDR' was not declared in this scope
  341.  
  342.      SPDR = *p;
  343.  
  344.      ^
  345.  
  346. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:250:16: error: 'SPSR' was not declared in this scope
  347.  
  348.        while (!(SPSR & _BV(SPIF))) ;
  349.  
  350.                 ^
  351.  
  352. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  353.  
  354.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  355.  
  356.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  357.  
  358.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  359.  
  360. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:250:27: error: 'SPIF' was not declared in this scope
  361.  
  362.        while (!(SPSR & _BV(SPIF))) ;
  363.  
  364.                            ^
  365.  
  366. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  367.  
  368.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  369.  
  370.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  371.  
  372.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  373.  
  374. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:255:14: error: 'SPSR' was not declared in this scope
  375.  
  376.      while (!(SPSR & _BV(SPIF))) ;
  377.  
  378.               ^
  379.  
  380. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  381.  
  382.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  383.  
  384.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  385.  
  386.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  387.  
  388. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:255:25: error: 'SPIF' was not declared in this scope
  389.  
  390.      while (!(SPSR & _BV(SPIF))) ;
  391.  
  392.                          ^
  393.  
  394. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  395.  
  396.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  397.  
  398.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  399.  
  400.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  401.  
  402. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::setBitOrder(uint8_t)':
  403.  
  404. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:292:31: error: 'SPCR' was not declared in this scope
  405.  
  406.      if (bitOrder == LSBFIRST) SPCR |= _BV(DORD);
  407.  
  408.                                ^
  409.  
  410. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  411.  
  412.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  413.  
  414.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  415.  
  416.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  417.  
  418. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:292:43: error: 'DORD' was not declared in this scope
  419.  
  420.      if (bitOrder == LSBFIRST) SPCR |= _BV(DORD);
  421.  
  422.                                            ^
  423.  
  424. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  425.  
  426.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  427.  
  428.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  429.  
  430.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  431.  
  432. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:293:10: error: 'SPCR' was not declared in this scope
  433.  
  434.      else SPCR &= ~(_BV(DORD));
  435.  
  436.           ^
  437.  
  438. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  439.  
  440.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  441.  
  442.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  443.  
  444.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  445.  
  446. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:293:24: error: 'DORD' was not declared in this scope
  447.  
  448.      else SPCR &= ~(_BV(DORD));
  449.  
  450.                         ^
  451.  
  452. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  453.  
  454.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  455.  
  456.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  457.  
  458.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  459.  
  460. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::setDataMode(uint8_t)':
  461.  
  462. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:298:5: error: 'SPCR' was not declared in this scope
  463.  
  464.      SPCR = (SPCR & ~SPI_MODE_MASK) | dataMode;
  465.  
  466.      ^
  467.  
  468. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::setClockDivider(uint8_t)':
  469.  
  470. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:303:5: error: 'SPCR' was not declared in this scope
  471.  
  472.      SPCR = (SPCR & ~SPI_CLOCK_MASK) | (clockDiv & SPI_CLOCK_MASK);
  473.  
  474.      ^
  475.  
  476. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:304:5: error: 'SPSR' was not declared in this scope
  477.  
  478.      SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((clockDiv >> 2) & SPI_2XCLOCK_MASK);
  479.  
  480.      ^
  481.  
  482. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::attachInterrupt()':
  483.  
  484. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:309:42: error: 'SPCR' was not declared in this scope
  485.  
  486.    inline static void attachInterrupt() { SPCR |= _BV(SPIE); }
  487.  
  488.                                           ^
  489.  
  490. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  491.  
  492.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  493.  
  494.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  495.  
  496.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  497.  
  498. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:309:54: error: 'SPIE' was not declared in this scope
  499.  
  500.    inline static void attachInterrupt() { SPCR |= _BV(SPIE); }
  501.  
  502.                                                       ^
  503.  
  504. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  505.  
  506.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  507.  
  508.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  509.  
  510.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  511.  
  512. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static void SPIClass::detachInterrupt()':
  513.  
  514. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:310:42: error: 'SPCR' was not declared in this scope
  515.  
  516.    inline static void detachInterrupt() { SPCR &= ~_BV(SPIE); }
  517.  
  518.                                           ^
  519.  
  520. In file included from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
  521.  
  522.                  from c:\users\\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
  523.  
  524.                  from C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\cores\arduino/Arduino.h:28,
  525.  
  526.                  from C:\Users\\AppData\Local\Temp\arduino_build_538309\sketch\RepeaterNode.ino.cpp:1:
  527.  
  528. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:310:55: error: 'SPIE' was not declared in this scope
  529.  
  530.    inline static void detachInterrupt() { SPCR &= ~_BV(SPIE); }
  531.  
  532.                                                        ^
  533.  
  534. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.cpp:22:0,
  535.  
  536.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:65,
  537.  
  538.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  539.  
  540. C:\Users\\Documents\Arduino\libraries\MySensors/core/MySensorsCore.cpp: In function 'void _begin()':
  541.  
  542. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.h:38:25: error: 'Serial' was not declared in this scope
  543.  
  544.  #define MY_SERIALDEVICE Serial
  545.  
  546.                          ^
  547.  
  548. C:\Users\\Documents\Arduino\libraries\MySensors/core/MyHwAVR.h:68:18: note: in expansion of macro 'MY_SERIALDEVICE'
  549.  
  550.  #define hwInit() MY_SERIALDEVICE.begin(MY_BAUD_RATE)
  551.  
  552.                   ^
  553.  
  554. C:\Users\\Documents\Arduino\libraries\MySensors/core/MySensorsCore.cpp:91:2: note: in expansion of macro 'hwInit'
  555.  
  556.   hwInit();
  557.  
  558.   ^
  559.  
  560. In file included from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:0,
  561.  
  562.                  from C:\Users\\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23,
  563.  
  564.                  from C:\Users\\Documents\Arduino\libraries\MySensors/MySensors.h:290,
  565.  
  566.                  from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_726034\RepeaterNode.ino:41:
  567.  
  568. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h: In static member function 'static uint8_t SPIClass::transfer(uint8_t)':
  569.  
  570. C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI\src/SPI.h:219:3: warning: control reaches end of non-void function [-Wreturn-type]
  571.  
  572.    }
  573.  
  574.    ^
  575.  
  576. Using library MySensors at version 2.1.1 in folder: C:\Users\\Documents\Arduino\libraries\MySensors
  577. Using library SPI at version 1.0 in folder: C:\Users\\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.19\libraries\SPI
  578. exit status 1
  579. Error compiling for board ATtiny25/45/85.
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement