I just bought a MKRZero which arrived today. I installed the necessary board from the boards manager. My board gets recognized, but when compiling the sketch I get this error that I’ve been trying to fix for hours:
In file included from C:\Users\ryanh\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69:0, from C:\Users\ryanh\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd.h:105, from C:\Users\ryanh\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/sam.h:470, from C:\Users\ryanh\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.19\cores\arduino/Arduino.h:48, from C:\Users\ryanh\AppData\Local\Temp\arduino_build_369469\sketch\Blink.ino.cpp:1: C:\Users\ryanh\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:237:26: fatal error: core_cm0plus.h: No such file or directory #include <core_cm0plus.h> ^ compilation terminated. exit status 1 Error compiling for board Arduino MKRZERO.
I tried removing and reinstalling the board more than once, with my antivirus software turned off. Still no luck. I’ve seen a few other posts with this same problem but none of them have been solved, just a few suggestions thrown around (which I tried). Does anyone have any suggestions?