Posted by: GCArkenbout 4 February 2018
I used a number of IDE’s
At last the Arduino-Nightly one from the 3rd of Januari 2018.
I installed near the whole Library and refresh parts of them with restart the IDE.The MKR1000 board is connected via COM 7 port and found in Windows10. Also the IDE: 1.8.5 delivered continually the following error
In file included from
C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69:0,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd.h:105,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/sam.h:470,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.17\cores\arduino/Arduino.h:48,
from C:\Users\User\AppData\Local\Temp\arduino_build_752269\sketch\sketch_feb02a.ino.cpp:1:
C:\Users\User\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/Genuino Zero (Programming Port).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Must I use an older IDE and how include <core_cm0plus.h>? Thanks
...
Error compiling for board Arduino/Genuino Zero (Programming Port).
Why does it first call the board "Arduino/Genuino Zero/MKR1000 (Programming Port)", then later call it "Arduino/Genuino Zero (Programming Port)". The former is not part of the latest version of Arduino SAMD Boards, the latter is. Is that the exact output you received?
In file included from
C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69:0,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd.h:105,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/sam.h:470,
from C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.17\cores\arduino/Arduino.h:48,
from C:\Users\User\AppData\Local\Temp\arduino_build_95302\sketch\sketch_feb02a.ino.cpp:1:
C:\Users\User\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
Fout bij het compileren voor board Arduino/Genuino MKR1000
Is the whole error report necessary?
Sorry, thanks for your reaction
Well I can tell you that I am able to compile File > Examples > 01.Basics > Blink for Arduino/Genuino MKR1000 without any error using Arduino IDE 1.8.5 and the latest version of Arduino SAMD Boards (1.6.17).
Maybe reinstalling Arduino SAMD Boards will solve the problem.
Pert thank you so much. I successeeded in compiling the blink sketch. I hope the upload to the board will go without the error. I was so happy. So I report you at first the result of handling the compiling error.
Pert I was to quick with my happiness. I saw the board type was changed to Arduino Yun. This had happened during the use of the boardmanager to remove and install the Arduino SAMD boards.
After the change of the board type to Arduino/Genuino MKR1000 and compiling the sketch, I got the above mentioned error AGAIN. Will you think over the error again.
Ballscrewbob and Pert.
Yes my installation of software caused the trouble. An extra Antivirus software package: Sophos Anti-Virus was the bad boy I think. I can compile now the blinking sketch, but te upload did not succeed. I get the following message:
De schets gebruikt 4124 bytes (14%) programmaopslagruimte. Maximum is 28672 bytes.
Globale variabelen gebruiken 149 bytes (5%) van het dynamisch geheugen. Resteren 2411 bytes voor lokale variabelen. Maximum is 2560 bytes.
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "þ"; type = ¸
Software Version = h.
What is not right now, you think. Thank so much
When I recieved the same error "#include <core_cm0plus.h>" I installed an older version of the board package for an Ardunio Zero with an SAMD and restarted the program. This resolved the error.