Sensebender Gateway wont compile "sam.h" not found error



  • I finally got the sensebender gateway to compile again after spending hours installing, uninstalling, deleteing various versions of the arduino IDE, mysensors board definitions, sam and samd board definitions and more. Every combo I could think of to make it work by itself until I gave up and forced a fix that works currently for me, but will break should the path to the sam.d files change.

    issue is in platform.txt for the mysensors samd hardware line is:
    compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}\CMSIS\Include" "-I{runtime.tools.CMSIS-Atmel-1.1.0.path}\CMSIS\Device\ATMEL"

    The {runtime.tools.CMSIS-Atmel-1.1.0.path} variable returns "" so the problem I see is that there is no version 1.1.0 used by the arduino IDE or latest board definitions or even older versions. I have not seen it even once through all that reinstalls of the IDE and board definitons. It has always been 1.0.0 on when running the arduino IDE on any update under windows. After many hours I finally realized to just change platform.txt's compiler.arm.cmsis.c.flags to be:
    compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}\CMSIS\Include" "-I{runtime.tools.CMSIS-Atmel-1.0.0.path}\CMSIS\Device\ATMEL"

    And bingo, compiles flawlessly and I can move on with life.

    Not sure why downgrading the board definitions didn't fix it as it was only broken in 1.0.5, using 1.0.4 should have worked. Just searched for when it was changed on github and found:
    https://github.com/mysensors/ArduinoHwSAMD/commit/8130671dc3e04ad9f37f817bbc14fce733e36556

    that commit is where it gets changed to 1.1.0 and that one little change of a single character is what broke it for me on every device I tried. Not sure when 1.1.0 gets installed as even my fresh install now with everything updated to the newest available versions, only has 1.0.0

    Back to finally compiling for the multiple gateways I have after wasting too many hours on this. I even setup a virtual machine just to test if it was something with my windows install. It wasn't.

    --edit--
    Just want to say sorry for putting this under bug reports. It wasn't until shortly after I posted dawned on me to check further into when the 1.1.0 cmsis includes were added to the arduino ide and then realized it was the samd versions after 1.6.11 which made me realize the old advice of sticking with 1.6.11 was only applicable if you were using the sensebender board files 1.0.4 or earlier. I'd been working off the old advice of sticking with 1.6.11 but did not realize that 1.0.5 requires you use samd board versions higher than 1.6.11--the inverse of the old requirements.

    However there was still some other weirdness at play because I had tested so many situations that should have worked, but failed due to oversights on my part (wtf does the IR library have to do with compiling the sensebender sketch?), the Arduino ide not reflecting the library versions installed correctly (If I remove the library, how does it appear back with a different version after restarting the IDE), or other weirdness that added to my confusion. The only advice I had seen, and that others reported worked, was reinstalling the IDE but in my case, it was no help and I even went as far as starting from scratch in a virtual machine.

    So maybe it needs a move from bugs to troubleshooting while I go hide in shame.



  • Well now I figure it out, looks like the advice everywhere to use the samd board defs of 1.6.11 at the latest are no longer relevent so the advice I've always followed to do that, and is mentioned everywhere, no longer applies. The newer 1.1.0 comes with the newer versions of the samd board files. But I just tried to compile with the newest versions after putting it back to 1.1.0 in the sensebender gateway platform.txt file and now it does not work again. I get the error:
    WARNING: library Infrared claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [samd] architecture(s).

    a million times and then compile fails. This is a fresh install, no libraries added other than mysensors. (error: i realized I had reused my old sketch folder)
    It tried to include \libraries\Infrared\src then appears to loop and adds that incude over and over and over to the compile command line until it fails.

    Time to see which versions of the arduino samd boards it does work with,
    sam: 1.6.10 samd: 1.6.14 - nope
    sam: 1.6.11 samd: 1.6.14 - nope
    Ok I see it is using a library from my sketch folder, so I delete that library, now I get:
    r:\temp\arduino_build_719586\sketch\SensebenderGatewaySerial.ino.cpp:1:21: fatal error: Arduino.h: No such file or directory
    #include <Arduino.h>
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Sensebender Gateway.

    Arduino boards compile with 0 errors, so I don't see why it would think Arduino.h is missing.
    sam: 1.6.11 samd: 1.6.13 - same as above
    sam: 1.6.11 samd: 1.6.12 - same as above
    sam: 1.6.11 samd: 1.6.11 - same as above.

    I've tried switching my sketch folder to a empty one so there is nothng else messing things up.

    Even though there is no mention of infrared whatsoever I decide to install that library and the issue with it looping and adding the infrared include repeatedly comes back.

    Try downgrading the arduino boards one version, no effect.



  • ARNING: library Infrared claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [samd] architecture(s).
    Generating function prototypes...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\bin\arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10800 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0\CMSIS\Include" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0\CMSIS\Device\ATMEL" "-Icores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries\Infrared\src" "r:\temp\arduino_build_719586\sketch\SensebenderGatewaySerial.ino.cpp" -o "r:\temp\arduino_build_719586\preproc\ctags_target_for_gcc_minus_e.cpp"
    arm-none-eabi-g++: error: CreateProcess: No such file or directory



  • Compiling for other samd boards works fine. All other boards are fine. so I downgrade mysensors samd boards to 1.0.4 and it doesn't even work. deleting infrared library again results in:

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\nitro\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\nitro\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries -fqbn=MySensors:samd:mysensors_gw_native -ide-version=10800 -build-path r:\temp\arduino_build_719586 -warnings=more -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.CMSIS.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.avrdude.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0 -verbose R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\SensebenderGatewaySerial\SensebenderGatewaySerial.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\nitro\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\nitro\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\libraries -fqbn=MySensors:samd:mysensors_gw_native -ide-version=10800 -build-path r:\temp\arduino_build_719586 -warnings=more -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.CMSIS.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.avrdude.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0 -verbose R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\SensebenderGatewaySerial\SensebenderGatewaySerial.ino
    Using board 'mysensors_gw_native' from platform in folder: C:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.4
    Using core 'arduino' from platform in folder:
    Detecting libraries used...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10800 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0/CMSIS/Device/ATMEL/" "-Icores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.4\variants\mysensors_gw" "r:\temp\arduino_build_719586\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10800 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0/CMSIS/Device/ATMEL/" "-Icores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.4\variants\mysensors_gw" "r:\temp\arduino_build_719586\sketch\SensebenderGatewaySerial.ino.cpp" -o "r:\temp\arduino_build_719586\preproc\ctags_target_for_gcc_minus_e.cpp"
    r:\temp\arduino_build_719586\sketch\SensebenderGatewaySerial.ino.cpp:1:21: fatal error: Arduino.h: No such file or directory

    #include <Arduino.h>

    ....
    Now I'm really confused. The core include being empty is the issue, but why is it empty? Guess it is time to reinstall the IDE again as upgrading samd boards nuked the install. I should have just left it with my quick fix.



  • Wtf, I uninstalled the arduino SAMD boards and now it works with everything on the latest version. I could have swore that was a requirement, but even if not, I can now not use any samd boards but sensebender.

    -edit-

    lol, I did remove it but it decided it wasn't going anywhere and actually stayed installed even though I clicked remove, it claimed to have removed it and it no longer said installed but compiling worked. So after that I upgraded the Arduino IDE to the latest version (trying earlier versions was just one of the many things I tried) and when it finished and I opened the IDE, the samd boards were showing as installed again but everything was working. I already tried this combination and it didn't work. Heck, I tried it more than once. Yet somehow this time, the errors disappaered even though the files all seem in the same places they were in before.

    Well, if there is anything useful to be gleaned from it, this is my final working build output:

    R:\MiniPCs and Microcontrollers\ArduinoIDE\arduino-builder -dump-prefs -logger=machine -hardware R:\MiniPCs and Microcontrollers\ArduinoIDE\hardware -hardware C:\Users\nitro\AppData\Local\Arduino15\packages -tools R:\MiniPCs and Microcontrollers\ArduinoIDE\tools-builder -tools R:\MiniPCs and Microcontrollers\ArduinoIDE\hardware\tools\avr -tools C:\Users\nitro\AppData\Local\Arduino15\packages -built-in-libraries R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries -libraries R:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries -fqbn=MySensors:samd:mysensors_gw_native -ide-version=10802 -build-path r:\temp\arduino_build_457860 -warnings=more -build-cache r:\temp\arduino_cache_711565 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino6-static -prefs=runtime.tools.CMSIS.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.bossac.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.0 -verbose R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\SensebenderGatewaySerial\SensebenderGatewaySerial.ino
    R:\MiniPCs and Microcontrollers\ArduinoIDE\arduino-builder -compile -logger=machine -hardware R:\MiniPCs and Microcontrollers\ArduinoIDE\hardware -hardware C:\Users\nitro\AppData\Local\Arduino15\packages -tools R:\MiniPCs and Microcontrollers\ArduinoIDE\tools-builder -tools R:\MiniPCs and Microcontrollers\ArduinoIDE\hardware\tools\avr -tools C:\Users\nitro\AppData\Local\Arduino15\packages -built-in-libraries R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries -libraries R:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries -fqbn=MySensors:samd:mysensors_gw_native -ide-version=10802 -build-path r:\temp\arduino_build_457860 -warnings=more -build-cache r:\temp\arduino_cache_711565 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino6-static -prefs=runtime.tools.CMSIS.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.bossac.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.0 -verbose R:\MiniPCs and Microcontrollers\Arduino-Sketches-test\SensebenderGatewaySerial\SensebenderGatewaySerial.ino
    Using board 'mysensors_gw_native' from platform in folder: C:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5
    Using core 'arduino' from platform in folder: C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15
    WARNING: Spurious .mystools folder in 'MySensors' library
    Detecting libraries used...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI" "-IR:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "nul"
    Using cached library dependencies for file: C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire\Wire.cpp
    Using cached library dependencies for file: C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI\SPI.cpp
    Using cached library dependencies for file: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src\File.cpp
    Using cached library dependencies for file: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src\SD.cpp
    Using cached library dependencies for file: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src\utility\Sd2Card.cpp
    Using cached library dependencies for file: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src\utility\SdFile.cpp
    Using cached library dependencies for file: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src\utility\SdVolume.cpp
    Generating function prototypes...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI" "-IR:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "r:\temp\arduino_build_457860\preproc\ctags_target_for_gcc_minus_e.cpp"
    "R:\MiniPCs and Microcontrollers\ArduinoIDE\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "r:\temp\arduino_build_457860\preproc\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10802 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x1209 -DUSB_PID=0x6949 -DUSBCON '-DUSB_MANUFACTURER="MySensors.org"' '-DUSB_PRODUCT="Sensebender GW"' "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\cores\arduino" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw" "-IR:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire" "-IC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI" "-IR:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD\src" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp" -o "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp.o"
    Compiling libraries...
    Compiling library "MySensors-development"
    Compiling library "Wire"
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\Wire\Wire.cpp.o
    Compiling library "SPI"
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SPI\SPI.cpp.o
    Compiling library "SD"
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SD\File.cpp.o
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SD\SD.cpp.o
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SD\utility\Sd2Card.cpp.o
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SD\utility\SdFile.cpp.o
    Using previously compiled file: r:\temp\arduino_build_457860\libraries\SD\utility\SdVolume.cpp.o
    Compiling core...
    Using previously compiled file: r:\temp\arduino_build_457860\core\variant.cpp.o
    Using precompiled core
    Linking everything together...
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-gcc"  "-Lr:\temp\arduino_build_457860" -Os -Wl,--gc-sections -save-temps  "-TC:\Users\nitro\AppData\Local\Arduino15\packages\MySensors\hardware\samd\1.0.5\variants\mysensors_gw/linker_scripts/gcc/flash_with_bootloader.ld" "-Wl,-Map,r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o "r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.elf" "r:\temp\arduino_build_457860\sketch\SensebenderGatewaySerial.ino.cpp.o" "r:\temp\arduino_build_457860\libraries\Wire\Wire.cpp.o" "r:\temp\arduino_build_457860\libraries\SPI\SPI.cpp.o" "r:\temp\arduino_build_457860\libraries\SD\File.cpp.o" "r:\temp\arduino_build_457860\libraries\SD\SD.cpp.o" "r:\temp\arduino_build_457860\libraries\SD\utility\Sd2Card.cpp.o" "r:\temp\arduino_build_457860\libraries\SD\utility\SdFile.cpp.o" "r:\temp\arduino_build_457860\libraries\SD\utility\SdVolume.cpp.o" "r:\temp\arduino_build_457860\core\variant.cpp.o" -Wl,--start-group "-LC:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Lib/GCC/" -larm_cortexM0l_math -lm "r:\temp\arduino_build_457860/..\arduino_cache_711565\core\core_MySensors_samd_mysensors_gw_native_2eed65d349fdef5601ccaeb1433265be.a" -Wl,--end-group
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-objcopy" -O binary  "r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.elf" "r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.bin"
    "C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom  "r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.elf" "r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.hex"
    Using library MySensors-development at version 2.2.0-beta in folder: R:\MiniPCs and Microcontrollers\Arduino-Sketches\libraries\MySensors-development 
    Using library Wire at version 1.0 in folder: C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\Wire 
    Using library SPI at version 1.0 in folder: C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.15\libraries\SPI 
    Using library SD at version 1.1.1 in folder: R:\MiniPCs and Microcontrollers\ArduinoIDE\libraries\SD 
    Sketch uses 44296 bytes (16%) of program storage space. Maximum is 262144 bytes.
    Forcing reset using 1200bps open/close on port COM65
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    PORTS {COM4, COM7, COM8, COM19, COM60, COM65, } / {COM4, COM7, COM8, COM19, COM60, COM65, } => {}
    Uploading using selected port: COM65
    C:\Users\nitro\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0/bossac.exe -i -d --port=COM65 -U true -i -e -w -v r:\temp\arduino_build_457860/SensebenderGatewaySerial.ino.bin -R 
    Set binary mode
    readWord(addr=0)=0x20007ffc
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010300
    version()=v2.0 [Arduino:XYZ] Jan 10 2017 21:13:45
    chipId=0x10010000
    Connected at 921600 baud
    readWord(addr=0)=0x20007ffc
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010300
    Atmel SMART device 0x10010000 found
    write(addr=0x20004000,size=0x34)
    writeWord(addr=0x20004030,value=0x10)
    writeWord(addr=0x20004020,value=0x20008000)
    Device       : ATSAMD21J18A
    readWord(addr=0)=0x20007ffc
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010300
    Chip ID      : 10010000
    version()=v2.0 [Arduino:XYZ] Jan 10 2017 21:13:45
    Version      : v2.0 [Arduino:XYZ] Jan 10 2017 21:13:45
    Address      : 8192
    Pages        : 3968
    Page Size    : 64 bytes
    Total Size   : 248KB
    Planes       : 1
    Lock Regions : 16
    Locked       : readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    readWord(addr=0x41004020)=0xffff
    none
    readWord(addr=0x41004018)=0
    Security     : false
    Boot Flash   : true
    readWord(addr=0x40000834)=0x7000a
    BOD          : true
    readWord(addr=0x40000834)=0x7000a
    BOR          : true
    Arduino      : FAST_CHIP_ERASE
    Arduino      : FAST_MULTI_PAGE_WRITE
    Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
    Erase flash
    chipErase(addr=0x2000)
    done in 0.810 seconds
    
    Write 44680 bytes to flash (699 pages)
    write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
    
    [==                            ] 9% (64/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
    
    [=====                         ] 18% (128/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000)
    
    [========                      ] 27% (192/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x1000)
    
    [==========                    ] 36% (256/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x6000, size=0x1000)
    
    [=============                 ] 45% (320/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x7000, size=0x1000)
    
    [================              ] 54% (384/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x8000, size=0x1000)
    
    [===================           ] 64% (448/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0x9000, size=0x1000)
    
    [=====================         ] 73% (512/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0xa000, size=0x1000)
    
    [========================      ] 82% (576/699 pages)write(addr=0x20005000,size=0x1000)
    writeBuffer(scr_addr=0x20005000, dst_addr=0xb000, size=0x1000)
    
    [===========================   ] 91% (640/699 pages)write(addr=0x20005000,size=0xec0)
    writeBuffer(scr_addr=0x20005000, dst_addr=0xc000, size=0xec0)
    
    [==============================] 100% (699/699 pages)
    done in 0.254 seconds
    
    Verify 44680 bytes of flash with checksum.
    checksumBuffer(start_addr=0x2000, size=0x1000) = 3436
    checksumBuffer(start_addr=0x3000, size=0x1000) = b384
    checksumBuffer(start_addr=0x4000, size=0x1000) = 7c5d
    checksumBuffer(start_addr=0x5000, size=0x1000) = 57b5
    checksumBuffer(start_addr=0x6000, size=0x1000) = a34f
    checksumBuffer(start_addr=0x7000, size=0x1000) = 857a
    checksumBuffer(start_addr=0x8000, size=0x1000) = 58af
    checksumBuffer(start_addr=0x9000, size=0x1000) = 5c0c
    checksumBuffer(start_addr=0xa000, size=0x1000) = c693
    checksumBuffer(start_addr=0xb000, size=0x1000) = e662
    checksumBuffer(start_addr=0xc000, size=0xe88) = d58f
    Verify successful
    done in 0.032 seconds
    CPU reset.
    readWord(addr=0)=0x20007ffc
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010300
    writeWord(addr=0xe000ed0c,value=0x5fa0004)
    Board at COM65 is not available
    Board at COM65 is not available
    Board at COM65 is not available
    

    Time to reinstall the boards I need again now and pray nothing breaks. Walking on eggshells at this point hoping it doesn't all go to hell again.


Log in to reply
 

Suggested Topics

  • 33
  • 2
  • 2
  • 8
  • 6
  • 3

14
Online

11.4k
Users

11.1k
Topics

112.7k
Posts