SoilMoistSensor will not compile for Arduino Due



  • Hello, Henrik Ekblad's SoilMoistSensor example will not compile for an Arduino Due using the Arduino IDE. It will compile for a Nano and others. For debugging, I use a Due. Below is the error log ...

    Any thoughts as to why?
    Dieter

    Arduino: 1.6.9 (Windows 10), Board: "Arduino Due (Programming Port)"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Dieter\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Dieter\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Dieter\Desktop\sketches\libraries" -fqbn=arduino:sam:arduino_due_x_dbg -ide-version=10609 -build-path "C:\Users\Dieter\AppData\Local\Temp\buildf357ba4a413e1a72afd1c4469bde56d9.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Dieter\Desktop\Sketches\MySensors\SoilMoistSensor\SoilMoistSensor.ino"
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Dieter\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Dieter\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Dieter\Desktop\sketches\libraries" -fqbn=arduino:sam:arduino_due_x_dbg -ide-version=10609 -build-path "C:\Users\Dieter\AppData\Local\Temp\buildf357ba4a413e1a72afd1c4469bde56d9.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Dieter\Desktop\Sketches\MySensors\SoilMoistSensor\SoilMoistSensor.ino"
    WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
    Build options changed, rebuilding all
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "C:\Users\Dieter\AppData\Local\Temp\buildf357ba4a413e1a72afd1c4469bde56d9.tmp\sketch\SoilMoistSensor.ino.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "C:\Users\Dieter\AppData\Local\Temp\buildf357ba4a413e1a72afd1c4469bde56d9.tmp\sketch\SoilMoistSensor.ino.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Users\Dieter\AppData\Local\Temp\buildf357ba4a413e1a72afd1c4469bde56d9.tmp\sketch\SoilMoistSensor.ino.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src\SPI.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyHw.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyHwATMega328.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyHwESP8266.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyMessage.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyParser.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MyParserSerial.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MySensor.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MySigning.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/Device/ATMEL/" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\cores\arduino" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\MySensors" "C:\Program Files (x86)\Arduino\libraries\MySensors\MySigningAtsha204.cpp" -o "nul"
    "C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10609 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/libsam" "-IC:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\system/CMSIS/CMSIS/Include/" "- ^

    In file included from c:\users\dieter\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\stdlib.h:11:0,
    ^
    .
    .
    .
    SoilMoistSensor:176: error: cannot convert 'int' to 'char*(const char*, int)' in assignment

    Using library SPI at version 1.0 in folder: C:\Users\Dieter\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.8\libraries\SPI
    Using library MySensors in folder: C:\Program Files (x86)\Arduino\libraries\MySensors (legacy)
    exit status 1
    call to 'MySensor::MySensor(MyTransport&, MyHw&)' uses the default argument for parameter 2, which is not yet defined



  • It seems like all of the MySensors library example will NOT compile for an Arduino Due. It would be great to get this working...
    Any help would be appreciated.
    Dieter


  • Admin


Log in to reply
 

Suggested Topics

10
Online

11.4k
Users

11.1k
Topics

112.7k
Posts