I received my MKR WIFI1010 and to test it I follow "Getting started with the MKR WiFi 1010". First I updated to Arduino 1.8.9 and then I installed "Arduino SAMD Boards (32-bits ARM Cortex-MO+) 1.8.1" and "WiFiNINA 1.4.0".
The instructions say: "Windows (tested on 7, 8 and 10)
If you properly installed the SAMD Core, just connect the MKR WIFI 1010 to your computer with a USB cable. Windows should initiate its driver installation process once the board is plugged in".
This do not occur, the WIFI1010 turns on the green led and blinks the orange led. Windows do not detects any com and the Arduino IDE do not shows any com.
The IDE shows a weird message in the botton (see attachment) "Arduino MKR WiFi 1010 em COM6".
I do a new installation in a notebook also with Windows 10 Pro 1803 and the results were the same.
from C:\Users\filippo\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
from C:\Users\filippo\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/sam.h:540,
from C:\Users\filippo\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.1\cores\arduino/Arduino.h:48,
from C:\Users\filippo\AppData\Local\Temp\arduino_build_563293\sketch\Blink.ino.cpp:1:
C:\Users\filippo\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:237:10: fatal error: core_cm0plus.h: No such file or directory
#include <core_cm0plus.h>
^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Erro compilando para a placa Arduino MKR WiFi 1010
If you look in C:\Users\filippo\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/, do you see a file named core_cm0plus.h? It should be there. Note that the AppData folder is a system folder and so Windows will hide it from you by default. You can jump right to the Arduino15 folder by clicking the link at the line following File > Preferences > More preferences can be edited directly in the file in the Arduino IDE.
OK, I see that there is nothing in .../include/ but were I get "core_cm0plus.h" to put over there? and why is not there? I am running the Blink example that by the "Getting started with the MKR WiFi 1010" should execute without problems.
toscanaccio:
were I get "core_cm0plus.h" to put over there?
This indicates something went wrong with your installation of Arduino SAMD Boards. Since we don't know what else might have been corrupted in addition to this, I recommend starting fresh:
Delete all files and folders under C:\Users\filippo\AppData\Local\Arduino15. Please be very careful when deleting files from your computer. When in doubt, back up!
Start the Arduino IDE
Tools > Board > Boards Manager
Wait for the downloads to finish
Click on "Arduino SAMD Boards"
Click the "Install" button.
Wait for the installation to finish.
Tools > Board > Arduino MKR WiFi 1010
Now try compiling again. Hopefully the problem will now be fixed.
toscanaccio:
why is not there?
I have no idea. The checksum of the download is checked by the Arduino IDE before installing CMSIS so it can't be a corrupted download. Something must have gone wrong during the installation process. Maybe something interrupted the installation? Maybe you ran out of disk space? Maybe your antivirus software interfered?
Nothing went wrong during installation that I have seen. I do what you tell me to reinstall "Arduino SAMD Boards" and now all is OK (all the xxx.h are in the ...include/) and Blink compiles OK!. Thank you for your help!!!