WifiNINA 'PinStatus' does not name a type error

Hi there -

Here is a verbose compilation output when I try to run any of the examples under the WifiNINA library (version 1.8.10) downloaded from GitHub (or the equivalent from the Arduino library manager). The error at the bottom of this output identifies the 'PinStatus' as not naming a type.

The error appears to originate from the wifi_drv.h under utilities folder and the 'PinStatus' line is as follows:

 static PinStatus digitalRead(uint8_t pin);

Any idea what I should do to resolve this error? At the moment I can't run any of the examples for this library and therefore can't even get started playing with the Wifi1010 device.

Arduino: 1.8.13 (Windows 10), Board: "Arduino MKR WiFi 1010"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\CTate\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\CTate\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\CTate\Documents\Arduino\libraries -fqbn=arduino:samd:mkrwifi1010 -vid-pid=2341_8054 -ide-version=10813 -build-path C:\Users\CTate\AppData\Local\Temp\arduino_build_552308 -warnings=none -build-cache C:\Users\CTate\AppData\Local\Temp\arduino_cache_229108 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.CMSIS.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.bossac.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.openocd.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\examples\AP_SimpleWebServer\AP_SimpleWebServer.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\CTate\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\CTate\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\CTate\Documents\Arduino\libraries -fqbn=arduino:samd:mkrwifi1010 -vid-pid=2341_8054 -ide-version=10813 -build-path C:\Users\CTate\AppData\Local\Temp\arduino_build_552308 -warnings=none -build-cache C:\Users\CTate\AppData\Local\Temp\arduino_cache_229108 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.CMSIS.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.bossac.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.openocd.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\examples\AP_SimpleWebServer\AP_SimpleWebServer.ino

Using board 'mkrwifi1010' from platform in folder: C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9

Using core 'arduino' from platform in folder: C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9

Detecting libraries used...

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

-> candidates: [SPI@1.0]

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for WiFiNINA.h: [WiFiNINA-master@1.8.10]

ResolveLibrary(WiFiNINA.h)

-> candidates: [WiFiNINA-master@1.8.10]

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFi.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFiClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFiSSLClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFiServer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFiStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\WiFiUdp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\utility\WiFiSocketBuffer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\utility\nano_rp2040_support.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\utility\server_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\utility\spi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src\utility\wifi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp" -o "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\preproc\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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 -MMD -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR WiFi 1010"" -DUSE_BQ24195L_PMIC "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010" "-IC:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI" "-IC:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src" "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp" -o "C:\Users\CTate\AppData\Local\Temp\arduino_build_552308\sketch\AP_SimpleWebServer.ino.cpp.o"

In file included from C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src/WiFiStorage.h:23:0,

             from C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src/WiFi.h:37,

             from C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src/WiFiNINA.h:23,

             from C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\examples\AP_SimpleWebServer\AP_SimpleWebServer.ino:20:

C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master\src/utility/wifi_drv.h:293:12: error: 'PinStatus' does not name a type

 static PinStatus digitalRead(uint8_t pin);

        ^~~~~~~~~

Using library SPI at version 1.0 in folder: C:\Users\CTate\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\libraries\SPI

Using library WiFiNINA-master at version 1.8.10 in folder: C:\Users\CTate\Documents\Arduino\libraries\WiFiNINA-master

exit status 1

Error compiling for board Arduino MKR WiFi 1010.

Hi @cjtate141. The problem is that you're using an outdated version of the "Arduino SAMD Boards" platform of the MKR WiFi 1010.

You can fix this error by updating to the latest version by following these instructions:

  1. Select Tools > Board > Boards Manager from the Arduino IDE's menus.
  2. Wait for the updates to finish.
  3. Scroll down through the list of boards platforms until you see "Arduino SAMD Boards". Click on it.
  4. Click the Update button.
  5. Wait for the update to finish.
  6. Click the Close button.

Now you can try compiling your sketch again.