In file included from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/Arduino.h:65, from /tmp/arduino-sketch-2136EA99E4E95C26D41A391DD84A8876/sketch/Example1_NotecardBasics.ino.cpp:1: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/WVariant.h:257:36: error: 'TCC_INST_NUM' was not declared in this scope 257 | extern const void* g_apTCInstances[TCC_INST_NUM+TC_INST_NUM] ; | ^~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/WVariant.h:257:49: error: 'TC_INST_NUM' was not declared in this scope 257 | extern const void* g_apTCInstances[TCC_INST_NUM+TC_INST_NUM] ; | ^~~~~~~~~~~ In file included from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m4/variant.h:46, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/delay.h:24, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/Arduino.h:80, from /tmp/arduino-sketch-2136EA99E4E95C26D41A391DD84A8876/sketch/Example1_NotecardBasics.ino.cpp:1: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/SERCOM.h:171:16: error: expected ')' before '*' token 171 | SERCOM(Sercom* s) ; | ~ ^ | ) In file included from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/variants/feather_m4/variant.h:46, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/delay.h:24, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/Arduino.h:80, from /tmp/arduino-sketch-2136EA99E4E95C26D41A391DD84A8876/sketch/Example1_NotecardBasics.ino.cpp:1: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/SERCOM.h:257:3: error: 'Sercom' does not name a type 257 | Sercom* sercom; | ^~~~~~ In file included from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/USBAPI.h:37, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/Arduino.h:158, from /tmp/arduino-sketch-2136EA99E4E95C26D41A391DD84A8876/sketch/Example1_NotecardBasics.ino.cpp:1: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:175:2: error: 'UsbDevice' does not name a type 175 | UsbDevice &usb; | ^~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:178:34: error: 'UsbDeviceDescriptor' does not name a type; did you mean 'DeviceDescriptor'? 178 | __attribute__((__aligned__(4))) UsbDeviceDescriptor EP[USB_EPT_NUM]; | ^~~~~~~~~~~~~~~~~~~ | DeviceDescriptor /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In constructor 'USBDevice_SAMD21G18x::USBDevice_SAMD21G18x()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:32:27: error: class 'USBDevice_SAMD21G18x' does not have any field named 'usb' 32 | USBDevice_SAMD21G18x() : usb(USB->DEVICE) { | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:32:31: error: 'USB' was not declared in this scope 32 | USBDevice_SAMD21G18x() : usb(USB->DEVICE) { | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::enable()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:44:3: error: 'usb' was not declared in this scope 44 | usb.CTRLA.bit.ENABLE = 1; | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::disable()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:50:3: error: 'usb' was not declared in this scope 50 | usb.CTRLA.bit.ENABLE = 0; | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setUSBDeviceMode()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:57:35: error: 'usb' was not declared in this scope 57 | inline void setUSBDeviceMode() { usb.CTRLA.bit.MODE = USB_CTRLA_MODE_DEVICE_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:57:56: error: 'USB_CTRLA_MODE_DEVICE_Val' was not declared in this scope 57 | inline void setUSBDeviceMode() { usb.CTRLA.bit.MODE = USB_CTRLA_MODE_DEVICE_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setUSBHostMode()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:58:35: error: 'usb' was not declared in this scope 58 | inline void setUSBHostMode() { usb.CTRLA.bit.MODE = USB_CTRLA_MODE_HOST_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:58:56: error: 'USB_CTRLA_MODE_HOST_Val' was not declared in this scope 58 | inline void setUSBHostMode() { usb.CTRLA.bit.MODE = USB_CTRLA_MODE_HOST_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::runInStandby()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:60:33: error: 'usb' was not declared in this scope 60 | inline void runInStandby() { usb.CTRLA.bit.RUNSTDBY = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::noRunInStandby()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:61:33: error: 'usb' was not declared in this scope 61 | inline void noRunInStandby() { usb.CTRLA.bit.RUNSTDBY = 0; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::wakeupHost()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:62:33: error: 'usb' was not declared in this scope 62 | inline void wakeupHost() { usb.CTRLB.bit.UPRSM = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setFullSpeed()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:65:37: error: 'usb' was not declared in this scope 65 | inline void setFullSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_FS_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:65:61: error: 'USB_DEVICE_CTRLB_SPDCONF_FS_Val' was not declared in this scope 65 | inline void setFullSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_FS_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setLowSpeed()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:66:37: error: 'usb' was not declared in this scope 66 | inline void setLowSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_LS_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:66:61: error: 'USB_DEVICE_CTRLB_SPDCONF_LS_Val' was not declared in this scope 66 | inline void setLowSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_LS_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setHiSpeed()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:67:37: error: 'usb' was not declared in this scope 67 | inline void setHiSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_HS_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:67:61: error: 'USB_DEVICE_CTRLB_SPDCONF_HS_Val' was not declared in this scope 67 | inline void setHiSpeed() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_HS_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setHiSpeedTestMode()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:68:37: error: 'usb' was not declared in this scope 68 | inline void setHiSpeedTestMode() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_HSTM_Val; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:68:61: error: 'USB_DEVICE_CTRLB_SPDCONF_HSTM_Val' was not declared in this scope 68 | inline void setHiSpeedTestMode() { usb.CTRLB.bit.SPDCONF = USB_DEVICE_CTRLB_SPDCONF_HSTM_Val; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::attach()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:71:25: error: 'usb' was not declared in this scope 71 | inline void attach() { usb.CTRLB.bit.DETACH = 0; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::detach()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:72:25: error: 'usb' was not declared in this scope 72 | inline void detach() { usb.CTRLB.bit.DETACH = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::isEndOfResetInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:75:54: error: 'usb' was not declared in this scope 75 | inline bool isEndOfResetInterrupt() { return usb.INTFLAG.bit.EORST; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::ackEndOfResetInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:76:47: error: 'usb' was not declared in this scope 76 | inline void ackEndOfResetInterrupt() { usb.INTFLAG.reg = USB_DEVICE_INTFLAG_EORST; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:76:65: error: 'USB_DEVICE_INTFLAG_EORST' was not declared in this scope 76 | inline void ackEndOfResetInterrupt() { usb.INTFLAG.reg = USB_DEVICE_INTFLAG_EORST; } | ^~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::enableEndOfResetInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:77:47: error: 'usb' was not declared in this scope 77 | inline void enableEndOfResetInterrupt() { usb.INTENSET.bit.EORST = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::disableEndOfResetInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:78:47: error: 'usb' was not declared in this scope 78 | inline void disableEndOfResetInterrupt() { usb.INTENCLR.bit.EORST = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::isStartOfFrameInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:80:54: error: 'usb' was not declared in this scope 80 | inline bool isStartOfFrameInterrupt() { return usb.INTFLAG.bit.SOF; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::ackStartOfFrameInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:81:47: error: 'usb' was not declared in this scope 81 | inline void ackStartOfFrameInterrupt() { usb.INTFLAG.reg = USB_DEVICE_INTFLAG_SOF; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:81:65: error: 'USB_DEVICE_INTFLAG_SOF' was not declared in this scope 81 | inline void ackStartOfFrameInterrupt() { usb.INTFLAG.reg = USB_DEVICE_INTFLAG_SOF; } | ^~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::enableStartOfFrameInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:82:47: error: 'usb' was not declared in this scope 82 | inline void enableStartOfFrameInterrupt() { usb.INTENSET.bit.SOF = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::disableStartOfFrameInterrupt()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:83:47: error: 'usb' was not declared in this scope 83 | inline void disableStartOfFrameInterrupt() { usb.INTENCLR.bit.SOF = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::setAddress(uint32_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:86:44: error: 'usb' was not declared in this scope 86 | inline void setAddress(uint32_t addr) { usb.DADD.bit.DADD = addr; usb.DADD.bit.ADDEN = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::unsetAddress()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:87:44: error: 'usb' was not declared in this scope 87 | inline void unsetAddress() { usb.DADD.bit.DADD = 0; usb.DADD.bit.ADDEN = 0; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'uint16_t USBDevice_SAMD21G18x::frameNumber()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:90:41: error: 'usb' was not declared in this scope 90 | inline uint16_t frameNumber() { return usb.FNUM.bit.FNUM; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetType(ep_t, uint8_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:99:54: error: 'usb' was not declared in this scope 99 | inline void epBank0SetType(ep_t ep, uint8_t type) { usb.DeviceEndpoint[ep].EPCFG.bit.EPTYPE0 = type; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetType(ep_t, uint8_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:100:54: error: 'usb' was not declared in this scope 100 | inline void epBank1SetType(ep_t ep, uint8_t type) { usb.DeviceEndpoint[ep].EPCFG.bit.EPTYPE1 = type; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'uint16_t USBDevice_SAMD21G18x::epInterruptSummary()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:103:48: error: 'usb' was not declared in this scope 103 | inline uint16_t epInterruptSummary() { return usb.EPINTSMRY.reg; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank0IsSetupReceived(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:105:59: error: 'usb' was not declared in this scope 105 | inline bool epBank0IsSetupReceived(ep_t ep) { return usb.DeviceEndpoint[ep].EPINTFLAG.bit.RXSTP; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank0IsStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:106:59: error: 'usb' was not declared in this scope 106 | inline bool epBank0IsStalled(ep_t ep) { return usb.DeviceEndpoint[ep].EPINTFLAG.bit.STALL0; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank1IsStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:107:59: error: 'usb' was not declared in this scope 107 | inline bool epBank1IsStalled(ep_t ep) { return usb.DeviceEndpoint[ep].EPINTFLAG.bit.STALL1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank0IsTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:108:59: error: 'usb' was not declared in this scope 108 | inline bool epBank0IsTransferComplete(ep_t ep) { return usb.DeviceEndpoint[ep].EPINTFLAG.bit.TRCPT0; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank1IsTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:109:59: error: 'usb' was not declared in this scope 109 | inline bool epBank1IsTransferComplete(ep_t ep) { return usb.DeviceEndpoint[ep].EPINTFLAG.bit.TRCPT1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0AckSetupReceived(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:111:52: error: 'usb' was not declared in this scope 111 | inline void epBank0AckSetupReceived(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_RXSTP; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:111:91: error: 'USB_DEVICE_EPINTFLAG_RXSTP' was not declared in this scope 111 | inline void epBank0AckSetupReceived(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_RXSTP; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0AckStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:112:52: error: 'usb' was not declared in this scope 112 | inline void epBank0AckStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_STALL(1); } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:112:91: error: 'USB_DEVICE_EPINTFLAG_STALL' was not declared in this scope 112 | inline void epBank0AckStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_STALL(1); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1AckStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:113:52: error: 'usb' was not declared in this scope 113 | inline void epBank1AckStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_STALL(2); } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:113:91: error: 'USB_DEVICE_EPINTFLAG_STALL' was not declared in this scope 113 | inline void epBank1AckStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_STALL(2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0AckTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:114:52: error: 'usb' was not declared in this scope 114 | inline void epBank0AckTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRCPT(1); } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:114:91: error: 'USB_DEVICE_EPINTFLAG_TRCPT' was not declared in this scope 114 | inline void epBank0AckTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRCPT(1); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1AckTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:115:52: error: 'usb' was not declared in this scope 115 | inline void epBank1AckTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRCPT(2); } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:115:91: error: 'USB_DEVICE_EPINTFLAG_TRCPT' was not declared in this scope 115 | inline void epBank1AckTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRCPT(2); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0EnableSetupReceived(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:117:55: error: 'usb' was not declared in this scope 117 | inline void epBank0EnableSetupReceived(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENSET.bit.RXSTP = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0EnableStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:118:55: error: 'usb' was not declared in this scope 118 | inline void epBank0EnableStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENSET.bit.STALL0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1EnableStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:119:55: error: 'usb' was not declared in this scope 119 | inline void epBank1EnableStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENSET.bit.STALL1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0EnableTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:120:55: error: 'usb' was not declared in this scope 120 | inline void epBank0EnableTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENSET.bit.TRCPT0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1EnableTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:121:55: error: 'usb' was not declared in this scope 121 | inline void epBank1EnableTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENSET.bit.TRCPT1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0DisableSetupReceived(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:123:56: error: 'usb' was not declared in this scope 123 | inline void epBank0DisableSetupReceived(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENCLR.bit.RXSTP = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0DisableStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:124:56: error: 'usb' was not declared in this scope 124 | inline void epBank0DisableStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENCLR.bit.STALL0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1DisableStalled(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:125:56: error: 'usb' was not declared in this scope 125 | inline void epBank1DisableStalled(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENCLR.bit.STALL1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0DisableTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:126:56: error: 'usb' was not declared in this scope 126 | inline void epBank0DisableTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENCLR.bit.TRCPT0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1DisableTransferComplete(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:127:56: error: 'usb' was not declared in this scope 127 | inline void epBank1DisableTransferComplete(ep_t ep) { usb.DeviceEndpoint[ep].EPINTENCLR.bit.TRCPT1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank0IsReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:130:50: error: 'usb' was not declared in this scope 130 | inline bool epBank0IsReady(ep_t ep) { return usb.DeviceEndpoint[ep].EPSTATUS.bit.BK0RDY; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'bool USBDevice_SAMD21G18x::epBank1IsReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:131:50: error: 'usb' was not declared in this scope 131 | inline bool epBank1IsReady(ep_t ep) { return usb.DeviceEndpoint[ep].EPSTATUS.bit.BK1RDY; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:132:43: error: 'usb' was not declared in this scope 132 | inline void epBank0SetReady(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSSET.bit.BK0RDY = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:133:43: error: 'usb' was not declared in this scope 133 | inline void epBank1SetReady(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSSET.bit.BK1RDY = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0ResetReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:134:43: error: 'usb' was not declared in this scope 134 | inline void epBank0ResetReady(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSCLR.bit.BK0RDY = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1ResetReady(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:135:43: error: 'usb' was not declared in this scope 135 | inline void epBank1ResetReady(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSCLR.bit.BK1RDY = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetStallReq(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:137:46: error: 'usb' was not declared in this scope 137 | inline void epBank0SetStallReq(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSSET.bit.STALLRQ0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetStallReq(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:138:46: error: 'usb' was not declared in this scope 138 | inline void epBank1SetStallReq(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSSET.bit.STALLRQ1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0ResetStallReq(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:139:46: error: 'usb' was not declared in this scope 139 | inline void epBank0ResetStallReq(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSCLR.bit.STALLRQ0 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1ResetStallReq(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:140:46: error: 'usb' was not declared in this scope 140 | inline void epBank1ResetStallReq(ep_t ep) { usb.DeviceEndpoint[ep].EPSTATUSCLR.bit.STALLRQ1 = 1; } | ^~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'uint16_t USBDevice_SAMD21G18x::epBank0ByteCount(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:143:53: error: 'EP' was not declared in this scope; did you mean 'EP0'? 143 | inline uint16_t epBank0ByteCount(ep_t ep) { return EP[ep].DeviceDescBank[0].PCKSIZE.bit.BYTE_COUNT; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'uint16_t USBDevice_SAMD21G18x::epBank1ByteCount(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:144:53: error: 'EP' was not declared in this scope; did you mean 'EP0'? 144 | inline uint16_t epBank1ByteCount(ep_t ep) { return EP[ep].DeviceDescBank[1].PCKSIZE.bit.BYTE_COUNT; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetByteCount(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:145:58: error: 'EP' was not declared in this scope; did you mean 'EP0'? 145 | inline void epBank0SetByteCount(ep_t ep, uint16_t bc) { EP[ep].DeviceDescBank[0].PCKSIZE.bit.BYTE_COUNT = bc; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetByteCount(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:146:58: error: 'EP' was not declared in this scope; did you mean 'EP0'? 146 | inline void epBank1SetByteCount(ep_t ep, uint16_t bc) { EP[ep].DeviceDescBank[1].PCKSIZE.bit.BYTE_COUNT = bc; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetMultiPacketSize(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:147:63: error: 'EP' was not declared in this scope; did you mean 'EP0'? 147 | inline void epBank0SetMultiPacketSize(ep_t ep, uint16_t s) { EP[ep].DeviceDescBank[0].PCKSIZE.bit.MULTI_PACKET_SIZE = s; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetMultiPacketSize(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:148:63: error: 'EP' was not declared in this scope; did you mean 'EP0'? 148 | inline void epBank1SetMultiPacketSize(ep_t ep, uint16_t s) { EP[ep].DeviceDescBank[1].PCKSIZE.bit.MULTI_PACKET_SIZE = s; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetAddress(ep_t, void*)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:150:55: error: 'EP' was not declared in this scope; did you mean 'EP0'? 150 | inline void epBank0SetAddress(ep_t ep, void *addr) { EP[ep].DeviceDescBank[0].ADDR.reg = (uint32_t)addr; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetAddress(ep_t, void*)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:151:55: error: 'EP' was not declared in this scope; did you mean 'EP0'? 151 | inline void epBank1SetAddress(ep_t ep, void *addr) { EP[ep].DeviceDescBank[1].ADDR.reg = (uint32_t)addr; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0SetSize(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:152:55: error: 'EP' was not declared in this scope; did you mean 'EP0'? 152 | inline void epBank0SetSize(ep_t ep, uint16_t size) { EP[ep].DeviceDescBank[0].PCKSIZE.bit.SIZE = EP_PCKSIZE_SIZE(size); } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1SetSize(ep_t, uint16_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:153:55: error: 'EP' was not declared in this scope; did you mean 'EP0'? 153 | inline void epBank1SetSize(ep_t ep, uint16_t size) { EP[ep].DeviceDescBank[1].PCKSIZE.bit.SIZE = EP_PCKSIZE_SIZE(size); } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0DisableAutoZLP(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:168:47: error: 'EP' was not declared in this scope; did you mean 'EP0'? 168 | inline void epBank0DisableAutoZLP(ep_t ep) { EP[ep].DeviceDescBank[0].PCKSIZE.bit.AUTO_ZLP = 0; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1DisableAutoZLP(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:169:47: error: 'EP' was not declared in this scope; did you mean 'EP0'? 169 | inline void epBank1DisableAutoZLP(ep_t ep) { EP[ep].DeviceDescBank[1].PCKSIZE.bit.AUTO_ZLP = 0; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank0EnableAutoZLP(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:170:47: error: 'EP' was not declared in this scope; did you mean 'EP0'? 170 | inline void epBank0EnableAutoZLP(ep_t ep) { EP[ep].DeviceDescBank[0].PCKSIZE.bit.AUTO_ZLP = 1; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In member function 'void USBDevice_SAMD21G18x::epBank1EnableAutoZLP(ep_t)': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:171:47: error: 'EP' was not declared in this scope; did you mean 'EP0'? 171 | inline void epBank1EnableAutoZLP(ep_t ep) { EP[ep].DeviceDescBank[1].PCKSIZE.bit.AUTO_ZLP = 1; } | ^~ | EP0 /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In constructor '__Guard::__Guard()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:188:22: error: '__get_PRIMASK' was not declared in this scope 188 | __Guard() : primask(__get_PRIMASK()), loops(1) { | ^~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:189:3: error: '__disable_irq' was not declared in this scope 189 | __disable_irq(); | ^~~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h: In destructor '__Guard::~__Guard()': /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:193:4: error: '__enable_irq' was not declared in this scope 193 | __enable_irq(); | ^~~~~~~~~~~~ /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/SAMD21_USBDevice.h:195:4: error: '__ISB' was not declared in this scope 195 | __ISB(); | ^~~~~ In file included from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/USB_host.h:23, from /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/Arduino.h:159, from /tmp/arduino-sketch-2136EA99E4E95C26D41A391DD84A8876/sketch/Example1_NotecardBasics.ino.cpp:1: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/samd21_host.h: At global scope: /root/.arduino15/packages/adafruit/hardware/samd/1.7.10/cores/arduino/USB/samd21_host.h:26:49: error: 'UsbHostDescriptor' does not name a type 26 | extern __attribute__((__aligned__(4))) volatile UsbHostDescriptor usb_pipe_table[USB_EPT_NUM]; | ^~~~~~~~~~~~~~~~~ Error during build: exit status 1