Can't upload the code to MKR WIFI 1010

Hello everyone. I am new in using Arduino. I am using Arduino MKR WIFI 1010. I have downloaded "wifiNINA" by Arduino. However I am getting errors every time I upload the code to the board. I have tested it using my friend's laptop, it worked properly and the code run without errors.

Here is below the code:

#include <WiFiNINA.h>

#include "arduino_secrets.h"

///////please enter your sensitive data in the Secret tab/arduino_secrets.h
char ssid[] = SECRET_SSID;    // your network SSID (name)
char pass[] = SECRET_PASS;    // your network password (use for WPA, or use as key for WEP)
int status = WL_IDLE_STATUS;  // the Wifi radio's status

void setup() {
  //Initialize serial and wait for port to open:
  Serial.begin(9600);
  while (!Serial)
    ;

  // attempt to connect to Wifi network:
  while (status != WL_CONNECTED) {
    Serial.print("Attempting to connect to network: ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network:
    status = WiFi.begin(ssid, pass);

    // wait 10 seconds for connection:
    delay(10000);
  }

  // you're connected now, so print out the data:
  Serial.println("You're connected to the network");

  Serial.println("----------------------------------------");
  printData();
  Serial.println("----------------------------------------");
}

void loop() {
  // check the network connection once every 10 seconds:
  delay(10000);
  printData();
  Serial.println("----------------------------------------");
}

void printData() {
  Serial.println("Board Information:");
  // print your board's IP address:
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);

  Serial.println();
  Serial.println("Network Information:");
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  // print the received signal strength:
  long rssi = WiFi.RSSI();
  Serial.print("signal strength (RSSI):");
  Serial.println(rssi);

  byte encryption = WiFi.encryptionType();
  Serial.print("Encryption Type:");
  Serial.println(encryption, HEX);
  Serial.println();
}

These are the errors:

In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:267:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:38,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:182:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t XOSCRDY:1;        /!< bit:      0  XOSC Ready                         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:183:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t XOSC32KRDY:1;     /!< bit:      1  XOSC32K Ready                      /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:184:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t OSC32KRDY:1;      /!< bit:      2  OSC32K Ready                       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:185:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t OSC8MRDY:1;       /!< bit:      3  OSC8M Ready                        /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:186:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFLLRDY:1;        /!< bit:      4  DFLL Ready                         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:187:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFLLOOB:1;        /!< bit:      5  DFLL Out Of Bounds                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:188:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFLLLCKF:1;       /!< bit:      6  DFLL Lock Fine                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:189:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFLLLCKC:1;       /!< bit:      7  DFLL Lock Coarse                   /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:190:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFLLRCS:1;        /!< bit:      8  DFLL Reference Clock Stopped       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:191:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t BOD33RDY:1;       /!< bit:      9  BOD33 Ready                        /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:192:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t BOD33DET:1;       /!< bit:     10  BOD33 Detection                    /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:193:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t B33SRDY:1;        /!< bit:     11  BOD33 Synchronization Ready        /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:194:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :3;               /!< bit: 12..14  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:195:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DPLLLCKR:1;       /!< bit:     15  DPLL Lock Rise                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:196:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DPLLLCKF:1;       /!< bit:     16  DPLL Lock Fall                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:197:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DPLLLTO:1;        /!< bit:     17  DPLL Lock Timeout                  /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:198:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :14;              /!< bit: 18..31  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:915:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_INTENCLR_Type     INTENCLR;    /< \brief Offset: 0x00 (R/W 32) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:916:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_INTENSET_Type     INTENSET;    /< \brief Offset: 0x04 (R/W 32) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:917:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_INTFLAG_Type      INTFLAG;     /< \brief Offset: 0x08 (R/W 32) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:918:3: error: '__I' does not name a type; did you mean '__N'?
   __I  SYSCTRL_PCLKSR_Type       PCLKSR;      /< \brief Offset: 0x0C (R/  32) Power and Clocks Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:919:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_XOSC_Type         XOSC;        /< \brief Offset: 0x10 (R/W 16) External Multipurpose Crystal Oscillator (XOSC) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:921:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_XOSC32K_Type      XOSC32K;     /< \brief Offset: 0x14 (R/W 16) 32kHz External Crystal Oscillator (XOSC32K) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:923:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_OSC32K_Type       OSC32K;      /< \brief Offset: 0x18 (R/W 32) 32kHz Internal Oscillator (OSC32K) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:924:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_OSCULP32K_Type    OSCULP32K;   /< \brief Offset: 0x1C (R/W  8) 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:926:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_OSC8M_Type        OSC8M;       /< \brief Offset: 0x20 (R/W 32) 8MHz Internal Oscillator (OSC8M) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:927:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DFLLCTRL_Type     DFLLCTRL;    /< \brief Offset: 0x24 (R/W 16) DFLL48M Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:929:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DFLLVAL_Type      DFLLVAL;     /< \brief Offset: 0x28 (R/W 32) DFLL48M Value /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:930:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DFLLMUL_Type      DFLLMUL;     /< \brief Offset: 0x2C (R/W 32) DFLL48M Multiplier /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:931:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DFLLSYNC_Type     DFLLSYNC;    /< \brief Offset: 0x30 (R/W  8) DFLL48M Synchronization /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:933:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_BOD33_Type        BOD33;       /< \brief Offset: 0x34 (R/W 32) 3.3V Brown-Out Detector (BOD33) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:935:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_VREG_Type         VREG;        /< \brief Offset: 0x3C (R/W 16) Voltage Regulator System (VREG) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:937:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_VREF_Type         VREF;        /< \brief Offset: 0x40 (R/W 32) Voltage References System (VREF) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:938:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DPLLCTRLA_Type    DPLLCTRLA;   /< \brief Offset: 0x44 (R/W  8) DPLL Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:940:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DPLLRATIO_Type    DPLLRATIO;   /< \brief Offset: 0x48 (R/W 32) DPLL Ratio Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:941:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO SYSCTRL_DPLLCTRLB_Type    DPLLCTRLB;   /< \brief Offset: 0x4C (R/W 32) DPLL Control B /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/sysctrl.h:942:3: error: '__I' does not name a type; did you mean '__N'?
   __I  SYSCTRL_DPLLSTATUS_Type   DPLLSTATUS;  /< \brief Offset: 0x50 (R/   8) DPLL Status /
   ^~~
   __N
In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:268:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:38,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:420:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  OVF:1;            /!< bit:      0  Overflow                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:421:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  ERR:1;            /!< bit:      1  Error                              /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:422:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :1;               /!< bit:      2  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:423:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  SYNCRDY:1;        /!< bit:      3  Synchronization Ready              /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:424:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  MC0:1;            /!< bit:      4  Match or Capture Channel 0         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:425:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  MC1:1;            /!< bit:      5  Match or Capture Channel 1         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:426:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :2;               /!< bit:  6.. 7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:429:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :4;               /!< bit:  0.. 3  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:430:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  MC:2;             /!< bit:  4.. 5  Match or Capture Channel x         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:431:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :2;               /!< bit:  6.. 7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:609:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLA_Type             CTRLA;       /< \brief Offset: 0x00 (R/W 16) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:610:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_READREQ_Type           READREQ;     /< \brief Offset: 0x02 (R/W 16) Read Request /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:611:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBCLR_Type          CTRLBCLR;    /< \brief Offset: 0x04 (R/W  8) Control B Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:612:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBSET_Type          CTRLBSET;    /< \brief Offset: 0x05 (R/W  8) Control B Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:613:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLC_Type             CTRLC;       /< \brief Offset: 0x06 (R/W  8) Control C /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:615:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_DBGCTRL_Type           DBGCTRL;     /< \brief Offset: 0x08 (R/W  8) Debug Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:617:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_EVCTRL_Type            EVCTRL;      /< \brief Offset: 0x0A (R/W 16) Event Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:618:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENCLR_Type          INTENCLR;    /< \brief Offset: 0x0C (R/W  8) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:619:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENSET_Type          INTENSET;    /< \brief Offset: 0x0D (R/W  8) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:620:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTFLAG_Type           INTFLAG;     /< \brief Offset: 0x0E (R/W  8) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:621:3: error: '__I' does not name a type; did you mean '__N'?
   __I  TC_STATUS_Type            STATUS;      /< \brief Offset: 0x0F (R/   8) Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:622:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT8_COUNT_Type      COUNT;       /< \brief Offset: 0x10 (R/W  8) COUNT8 Counter Value /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:624:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT8_PER_Type        PER;         /< \brief Offset: 0x14 (R/W  8) COUNT8 Period Value /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:626:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT8_CC_Type         CC[2];       /< \brief Offset: 0x18 (R/W  8) COUNT8 Compare/Capture /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:633:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLA_Type             CTRLA;       /< \brief Offset: 0x00 (R/W 16) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:634:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_READREQ_Type           READREQ;     /< \brief Offset: 0x02 (R/W 16) Read Request /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:635:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBCLR_Type          CTRLBCLR;    /< \brief Offset: 0x04 (R/W  8) Control B Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:636:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBSET_Type          CTRLBSET;    /< \brief Offset: 0x05 (R/W  8) Control B Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:637:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLC_Type             CTRLC;       /< \brief Offset: 0x06 (R/W  8) Control C /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:639:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_DBGCTRL_Type           DBGCTRL;     /< \brief Offset: 0x08 (R/W  8) Debug Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:641:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_EVCTRL_Type            EVCTRL;      /< \brief Offset: 0x0A (R/W 16) Event Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:642:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENCLR_Type          INTENCLR;    /< \brief Offset: 0x0C (R/W  8) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:643:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENSET_Type          INTENSET;    /< \brief Offset: 0x0D (R/W  8) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:644:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTFLAG_Type           INTFLAG;     /< \brief Offset: 0x0E (R/W  8) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:645:3: error: '__I' does not name a type; did you mean '__N'?
   __I  TC_STATUS_Type            STATUS;      /< \brief Offset: 0x0F (R/   8) Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:646:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT16_COUNT_Type     COUNT;       /< \brief Offset: 0x10 (R/W 16) COUNT16 Counter Value /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:648:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT16_CC_Type        CC[2];       /< \brief Offset: 0x18 (R/W 16) COUNT16 Compare/Capture /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:655:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLA_Type             CTRLA;       /< \brief Offset: 0x00 (R/W 16) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:656:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_READREQ_Type           READREQ;     /< \brief Offset: 0x02 (R/W 16) Read Request /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:657:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBCLR_Type          CTRLBCLR;    /< \brief Offset: 0x04 (R/W  8) Control B Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:658:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLBSET_Type          CTRLBSET;    /< \brief Offset: 0x05 (R/W  8) Control B Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:659:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_CTRLC_Type             CTRLC;       /< \brief Offset: 0x06 (R/W  8) Control C /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:661:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_DBGCTRL_Type           DBGCTRL;     /< \brief Offset: 0x08 (R/W  8) Debug Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:663:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_EVCTRL_Type            EVCTRL;      /< \brief Offset: 0x0A (R/W 16) Event Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:664:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENCLR_Type          INTENCLR;    /< \brief Offset: 0x0C (R/W  8) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:665:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTENSET_Type          INTENSET;    /< \brief Offset: 0x0D (R/W  8) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:666:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_INTFLAG_Type           INTFLAG;     /< \brief Offset: 0x0E (R/W  8) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:667:3: error: '__I' does not name a type; did you mean '__N'?
   __I  TC_STATUS_Type            STATUS;      /< \brief Offset: 0x0F (R/   8) Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:668:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT32_COUNT_Type     COUNT;       /< \brief Offset: 0x10 (R/W 32) COUNT32 Counter Value /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tc.h:670:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TC_COUNT32_CC_Type        CC[2];       /< \brief Offset: 0x18 (R/W 32) COUNT32 Compare/Capture /
   ^~~~
   __tm
In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:269:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:38,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:974:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t OVF:1;            /!< bit:      0  Overflow                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:975:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t TRG:1;            /!< bit:      1  Retrigger                          /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:976:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t CNT:1;            /!< bit:      2  Counter                            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:977:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t ERR:1;            /!< bit:      3  Error                              /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:978:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :7;               /!< bit:  4..10  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:979:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t DFS:1;            /!< bit:     11  Non-Recoverable Debug Fault        /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:980:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t FAULTA:1;         /!< bit:     12  Recoverable Fault A                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:981:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t FAULTB:1;         /!< bit:     13  Recoverable Fault B                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:982:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t FAULT0:1;         /!< bit:     14  Non-Recoverable Fault 0            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:983:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t FAULT1:1;         /!< bit:     15  Non-Recoverable Fault 1            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:984:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t MC0:1;            /!< bit:     16  Match or Capture 0                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:985:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t MC1:1;            /!< bit:     17  Match or Capture 1                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:986:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t MC2:1;            /!< bit:     18  Match or Capture 2                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:987:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t MC3:1;            /!< bit:     19  Match or Capture 3                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:988:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :12;              /!< bit: 20..31  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:991:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :16;              /!< bit:  0..15  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:992:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t MC:4;             /!< bit: 16..19  Match or Capture x                 /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:993:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint32_t :12;              /!< bit: 20..31  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1783:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_CTRLA_Type            CTRLA;       /< \brief Offset: 0x00 (R/W 32) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1784:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_CTRLBCLR_Type         CTRLBCLR;    /< \brief Offset: 0x04 (R/W  8) Control B Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1785:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_CTRLBSET_Type         CTRLBSET;    /< \brief Offset: 0x05 (R/W  8) Control B Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1787:3: error: '__I' does not name a type; did you mean '__N'?
   __I  TCC_SYNCBUSY_Type         SYNCBUSY;    /< \brief Offset: 0x08 (R/  32) Synchronization Busy /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1788:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_FCTRLA_Type           FCTRLA;      /< \brief Offset: 0x0C (R/W 32) Recoverable Fault A Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1789:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_FCTRLB_Type           FCTRLB;      /< \brief Offset: 0x10 (R/W 32) Recoverable Fault B Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1790:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_WEXCTRL_Type          WEXCTRL;     /< \brief Offset: 0x14 (R/W 32) Waveform Extension Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1791:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_DRVCTRL_Type          DRVCTRL;     /< \brief Offset: 0x18 (R/W 32) Driver Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1793:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_DBGCTRL_Type          DBGCTRL;     /< \brief Offset: 0x1E (R/W  8) Debug Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1795:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_EVCTRL_Type           EVCTRL;      /< \brief Offset: 0x20 (R/W 32) Event Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1796:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_INTENCLR_Type         INTENCLR;    /< \brief Offset: 0x24 (R/W 32) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1797:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_INTENSET_Type         INTENSET;    /< \brief Offset: 0x28 (R/W 32) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1798:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_INTFLAG_Type          INTFLAG;     /< \brief Offset: 0x2C (R/W 32) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1799:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_STATUS_Type           STATUS;      /< \brief Offset: 0x30 (R/W 32) Status /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1800:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_COUNT_Type            COUNT;       /< \brief Offset: 0x34 (R/W 32) Count /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1801:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_PATT_Type             PATT;        /< \brief Offset: 0x38 (R/W 16) Pattern /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1803:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_WAVE_Type             WAVE;        /< \brief Offset: 0x3C (R/W 32) Waveform Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1804:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_PER_Type              PER;         /< \brief Offset: 0x40 (R/W 32) Period /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1805:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_CC_Type               CC[4];       /< \brief Offset: 0x44 (R/W 32) Compare and Capture /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1807:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_PATTB_Type            PATTB;       /< \brief Offset: 0x64 (R/W 16) Pattern Buffer /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1809:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_WAVEB_Type            WAVEB;       /< \brief Offset: 0x68 (R/W 32) Waveform Control Buffer /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1810:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_PERB_Type             PERB;        /< \brief Offset: 0x6C (R/W 32) Period Buffer /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/tcc.h:1811:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO TCC_CCB_Type              CCB[4];      /< \brief Offset: 0x70 (R/W 32) Compare and Capture Buffer /
   ^~~~
   __tm
In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:270:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:38,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:634:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t SUSPEND:1;        /!< bit:      0  Suspend                            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:635:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t MSOF:1;           /!< bit:      1  Micro Start of Frame in High Speed Mode /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:636:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t SOF:1;            /!< bit:      2  Start Of Frame                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:637:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t EORST:1;          /!< bit:      3  End of Reset                       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:638:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t WAKEUP:1;         /!< bit:      4  Wake Up                            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:639:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t EORSM:1;          /!< bit:      5  End Of Resume                      /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:640:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t UPRSM:1;          /!< bit:      6  Upstream Resume                    /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:641:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t RAMACER:1;        /!< bit:      7  Ram Access                         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:642:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t LPMNYET:1;        /!< bit:      8  Link Power Management Not Yet      /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:643:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t LPMSUSP:1;        /!< bit:      9  Link Power Management Suspend      /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:644:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t :6;               /!< bit: 10..15  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:679:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t :2;               /!< bit:  0.. 1  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:680:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t HSOF:1;           /!< bit:      2  Host Start Of Frame                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:681:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t RST:1;            /!< bit:      3  Bus Reset                          /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:682:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t WAKEUP:1;         /!< bit:      4  Wake Up                            /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:683:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t DNRSM:1;          /!< bit:      5  Downstream                         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:684:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t UPRSM:1;          /!< bit:      6  Upstream Resume from the Device    /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:685:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t RAMACER:1;        /!< bit:      7  Ram Access                         /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:686:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t DCONN:1;          /!< bit:      8  Device Connection                  /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:687:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t DDISC:1;          /!< bit:      9  Device Disconnection               /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:688:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint16_t :6;               /!< bit: 10..15  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1156:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT0:1;         /!< bit:      0  Transfer Complete 0                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1157:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT1:1;         /!< bit:      1  Transfer Complete 1                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1158:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRFAIL0:1;        /!< bit:      2  Error Flow 0                       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1159:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRFAIL1:1;        /!< bit:      3  Error Flow 1                       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1160:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  RXSTP:1;          /!< bit:      4  Received Setup                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1161:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  STALL0:1;         /!< bit:      5  Stall 0 In/out                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1162:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  STALL1:1;         /!< bit:      6  Stall 1 In/out                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1163:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :1;               /!< bit:      7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1166:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT:2;          /!< bit:  0.. 1  Transfer Complete x                /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1167:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRFAIL:2;         /!< bit:  2.. 3  Error Flow x                       /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1168:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :1;               /!< bit:      4  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1169:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  STALL:2;          /!< bit:  5.. 6  Stall x In/out                     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1170:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :1;               /!< bit:      7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1208:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT0:1;         /!< bit:      0  Transfer Complete 0 Interrupt Flag /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1209:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT1:1;         /!< bit:      1  Transfer Complete 1 Interrupt Flag /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1210:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRFAIL:1;         /!< bit:      2  Error Flow Interrupt Flag          /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1211:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  PERR:1;           /!< bit:      3  Pipe Error Interrupt Flag          /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1212:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TXSTP:1;          /!< bit:      4  Transmit  Setup Interrupt Flag     /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1213:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  STALL:1;          /!< bit:      5  Stall Interrupt Flag               /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1214:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :2;               /!< bit:  6.. 7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1217:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  TRCPT:2;          /!< bit:  0.. 1  Transfer Complete x Interrupt Flag /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1218:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :6;               /!< bit:  2.. 7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1665:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_ADDR_Type      ADDR;        /< \brief Offset: 0x000 (R/W 32) DEVICE_DESC_BANK Endpoint Bank, Adress of Data Buffer /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1666:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_PCKSIZE_Type   PCKSIZE;     /< \brief Offset: 0x004 (R/W 32) DEVICE_DESC_BANK Endpoint Bank, Packet Size /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1667:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_EXTREG_Type    EXTREG;      /< \brief Offset: 0x008 (R/W 16) DEVICE_DESC_BANK Endpoint Bank, Extended /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1668:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_STATUS_BK_Type STATUS_BK;   /< \brief Offset: 0x00A (R/W  8) DEVICE_DESC_BANK Enpoint Bank, Status of Bank /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1676:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_ADDR_Type        ADDR;        /< \brief Offset: 0x000 (R/W 32) HOST_DESC_BANK Host Bank, Adress of Data Buffer /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1677:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_PCKSIZE_Type     PCKSIZE;     /< \brief Offset: 0x004 (R/W 32) HOST_DESC_BANK Host Bank, Packet Size /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1678:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_EXTREG_Type      EXTREG;      /< \brief Offset: 0x008 (R/W 16) HOST_DESC_BANK Host Bank, Extended /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1679:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_STATUS_BK_Type   STATUS_BK;   /< \brief Offset: 0x00A (R/W  8) HOST_DESC_BANK Host Bank, Status of Bank /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1681:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_CTRL_PIPE_Type   CTRL_PIPE;   /< \brief Offset: 0x00C (R/W 16) HOST_DESC_BANK Host Bank, Host Control Pipe /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1682:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_STATUS_PIPE_Type STATUS_PIPE; /< \brief Offset: 0x00E (R/W 16) HOST_DESC_BANK Host Bank, Host Status Pipe /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1689:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_EPCFG_Type     EPCFG;       /< \brief Offset: 0x000 (R/W  8) DEVICE_ENDPOINT End Point Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1691:3: error: '__O' does not name a type; did you mean '__N'?
   __O  USB_DEVICE_EPSTATUSCLR_Type EPSTATUSCLR; /< \brief Offset: 0x004 ( /W  8) DEVICE_ENDPOINT End Point Pipe Status Clear /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1692:3: error: '__O' does not name a type; did you mean '__N'?
   __O  USB_DEVICE_EPSTATUSSET_Type EPSTATUSSET; /< \brief Offset: 0x005 ( /W  8) DEVICE_ENDPOINT End Point Pipe Status Set /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1693:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_DEVICE_EPSTATUS_Type  EPSTATUS;    /< \brief Offset: 0x006 (R/   8) DEVICE_ENDPOINT End Point Pipe Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1694:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_EPINTFLAG_Type EPINTFLAG;   /< \brief Offset: 0x007 (R/W  8) DEVICE_ENDPOINT End Point Interrupt Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1695:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_EPINTENCLR_Type EPINTENCLR;  /< \brief Offset: 0x008 (R/W  8) DEVICE_ENDPOINT End Point Interrupt Clear Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1696:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_EPINTENSET_Type EPINTENSET;  /< \brief Offset: 0x009 (R/W  8) DEVICE_ENDPOINT End Point Interrupt Set Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1704:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_PCFG_Type        PCFG;        /< \brief Offset: 0x000 (R/W  8) HOST_PIPE End Point Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1706:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_BINTERVAL_Type   BINTERVAL;   /< \brief Offset: 0x003 (R/W  8) HOST_PIPE Bus Access Period of Pipe /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1707:3: error: '__O' does not name a type; did you mean '__N'?
   __O  USB_HOST_PSTATUSCLR_Type  PSTATUSCLR;  /< \brief Offset: 0x004 ( /W  8) HOST_PIPE End Point Pipe Status Clear /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1708:3: error: '__O' does not name a type; did you mean '__N'?
   __O  USB_HOST_PSTATUSSET_Type  PSTATUSSET;  /< \brief Offset: 0x005 ( /W  8) HOST_PIPE End Point Pipe Status Set /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1709:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_HOST_PSTATUS_Type     PSTATUS;     /< \brief Offset: 0x006 (R/   8) HOST_PIPE End Point Pipe Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1710:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_PINTFLAG_Type    PINTFLAG;    /< \brief Offset: 0x007 (R/W  8) HOST_PIPE Pipe Interrupt Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1711:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_PINTENCLR_Type   PINTENCLR;   /< \brief Offset: 0x008 (R/W  8) HOST_PIPE Pipe Interrupt Flag Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1712:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_PINTENSET_Type   PINTENSET;   /< \brief Offset: 0x009 (R/W  8) HOST_PIPE Pipe Interrupt Flag Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1720:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_CTRLA_Type            CTRLA;       /< \brief Offset: 0x000 (R/W  8) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1722:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_SYNCBUSY_Type         SYNCBUSY;    /< \brief Offset: 0x002 (R/   8) Synchronization Busy /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1723:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_QOSCTRL_Type          QOSCTRL;     /< \brief Offset: 0x003 (R/W  8) USB Quality Of Service /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1725:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_CTRLB_Type     CTRLB;       /< \brief Offset: 0x008 (R/W 16) DEVICE Control B /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1726:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_DADD_Type      DADD;        /< \brief Offset: 0x00A (R/W  8) DEVICE Device Address /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1728:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_DEVICE_STATUS_Type    STATUS;      /< \brief Offset: 0x00C (R/   8) DEVICE Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1729:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_FSMSTATUS_Type        FSMSTATUS;   /< \brief Offset: 0x00D (R/   8) Finite State Machine Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1731:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_DEVICE_FNUM_Type      FNUM;        /< \brief Offset: 0x010 (R/  16) DEVICE Device Frame Number /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1733:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_INTENCLR_Type  INTENCLR;    /< \brief Offset: 0x014 (R/W 16) DEVICE Device Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1735:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_INTENSET_Type  INTENSET;    /< \brief Offset: 0x018 (R/W 16) DEVICE Device Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1737:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DEVICE_INTFLAG_Type   INTFLAG;     /< \brief Offset: 0x01C (R/W 16) DEVICE Device Interrupt Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1739:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_DEVICE_EPINTSMRY_Type EPINTSMRY;   /< \brief Offset: 0x020 (R/  16) DEVICE End Point Interrupt Summary /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1741:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DESCADD_Type          DESCADD;     /< \brief Offset: 0x024 (R/W 32) Descriptor Address /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1742:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_PADCAL_Type           PADCAL;      /< \brief Offset: 0x028 (R/W 16) USB PAD Calibration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1751:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_CTRLA_Type            CTRLA;       /< \brief Offset: 0x000 (R/W  8) Control A /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1753:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_SYNCBUSY_Type         SYNCBUSY;    /< \brief Offset: 0x002 (R/   8) Synchronization Busy /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1754:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_QOSCTRL_Type          QOSCTRL;     /< \brief Offset: 0x003 (R/W  8) USB Quality Of Service /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1756:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_CTRLB_Type       CTRLB;       /< \brief Offset: 0x008 (R/W 16) HOST Control B /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1757:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_HSOFC_Type       HSOFC;       /< \brief Offset: 0x00A (R/W  8) HOST Host Start Of Frame Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1759:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_STATUS_Type      STATUS;      /< \brief Offset: 0x00C (R/W  8) HOST Status /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1760:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_FSMSTATUS_Type        FSMSTATUS;   /< \brief Offset: 0x00D (R/   8) Finite State Machine Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1762:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_FNUM_Type        FNUM;        /< \brief Offset: 0x010 (R/W 16) HOST Host Frame Number /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1763:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_HOST_FLENHIGH_Type    FLENHIGH;    /< \brief Offset: 0x012 (R/   8) HOST Host Frame Length /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1765:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_INTENCLR_Type    INTENCLR;    /< \brief Offset: 0x014 (R/W 16) HOST Host Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1767:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_INTENSET_Type    INTENSET;    /< \brief Offset: 0x018 (R/W 16) HOST Host Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1769:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_HOST_INTFLAG_Type     INTFLAG;     /< \brief Offset: 0x01C (R/W 16) HOST Host Interrupt Flag /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1771:3: error: '__I' does not name a type; did you mean '__N'?
   __I  USB_HOST_PINTSMRY_Type    PINTSMRY;    /< \brief Offset: 0x020 (R/  16) HOST Pipe Interrupt Summary /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1773:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_DESCADD_Type          DESCADD;     /< \brief Offset: 0x024 (R/W 32) Descriptor Address /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/usb.h:1774:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO USB_PADCAL_Type           PADCAL;      /< \brief Offset: 0x028 (R/W 16) USB PAD Calibration /
   ^~~~
   __tm
In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:271:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd.h:105,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:38,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:234:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  EW:1;             /!< bit:      0  Early Warning                      /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:235:5: error: '__I' does not name a type; did you mean '__N'?
     __I uint8_t  :7;               /!< bit:  1.. 7  Reserved                           /
     ^~~
     __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:289:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_CTRL_Type             CTRL;        /< \brief Offset: 0x0 (R/W  8) Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:290:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_CONFIG_Type           CONFIG;      /< \brief Offset: 0x1 (R/W  8) Configuration /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:291:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_EWCTRL_Type           EWCTRL;      /< \brief Offset: 0x2 (R/W  8) Early Warning Interrupt Control /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:293:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_INTENCLR_Type         INTENCLR;    /< \brief Offset: 0x4 (R/W  8) Interrupt Enable Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:294:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_INTENSET_Type         INTENSET;    /< \brief Offset: 0x5 (R/W  8) Interrupt Enable Set /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:295:3: error: '__IO' does not name a type; did you mean '__tm'?
   __IO WDT_INTFLAG_Type          INTFLAG;     /< \brief Offset: 0x6 (R/W  8) Interrupt Flag Status and Clear /
   ^~~~
   __tm
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:296:3: error: '__I' does not name a type; did you mean '__N'?
   __I  WDT_STATUS_Type           STATUS;      /< \brief Offset: 0x7 (R/   8) Status /
   ^~~
   __N
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/samd21/include/component/wdt.h:297:3: error: '__O' does not name a type; did you mean '__N'?
   __O  WDT_CLEAR_Type            CLEAR;       /< \brief Offset: 0x8 ( /W  8) Clear /
   ^~~
   __N
In file included from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/SafeRingBuffer.h:25:0,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Uart.h:23,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\variants\mkrwifi1010/variant.h:165,
                 from C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/Arduino.h:51,
                 from C:\Users\user\AppData\Local\Temp\arduino\sketches\BB0B12A03DBE629FED4465EE7E0376A2\sketch\sketch_apr5b.ino.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h: In constructor '__Guard::__Guard()':
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:12:22: error: '__get_PRIMASK' was not declared in this scope
  __Guard() : primask(__get_PRIMASK()), loops(1) {
                      ^~~~~~~~~~~~~
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:12:22: note: suggested alternative: '__PRIMAX'
  __Guard() : primask(__get_PRIMASK()), loops(1) {
                      ^~~~~~~~~~~~~
                      __PRIMAX
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:13:3: error: '__disable_irq' was not declared in this scope
   __disable_irq();
   ^~~~~~~~~~~~~
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:13:3: note: suggested alternative: 'uhd_disable_sof'
   __disable_irq();
   ^~~~~~~~~~~~~
   uhd_disable_sof
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h: In destructor '__Guard::~__Guard()':
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:17:4: error: '__enable_irq' was not declared in this scope
    __enable_irq();
    ^~~~~~~~~~~~
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:17:4: note: suggested alternative: '_rename_r'
    __enable_irq();
    ^~~~~~~~~~~~
    _rename_r
C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13\cores\arduino/sync.h:19:4: error: '__ISB' was not declared in this scope
    __ISB();
    ^~~~~

exit status 1

Compilation error: exit status 1

Anyone can help me solve this please?

try to reinstall the SAMD boards in Boards Manager. (install older version and then back )

A little tip: The error message is not posted very clearly. It is best to post these as well as the code, then it will look clearer and then several will help you. Unfortunately, you have to say that again and again and there are also some who don't react so nicely.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.