{"action":"created","issue":{"url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/76","labels_url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/76/comments","events_url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/76/events","html_url":"https://github.com/felis/USB_Host_Shield_2.0/issues/76","id":28126759,"number":76,"title":"Arduino Due not supported?","user":{"login":"ns130291","id":1678202,"avatar_url":"https://avatars.githubusercontent.com/u/1678202?v=3","gravatar_id":"","url":"https://api.github.com/users/ns130291","html_url":"https://github.com/ns130291","followers_url":"https://api.github.com/users/ns130291/followers","following_url":"https://api.github.com/users/ns130291/following{/other_user}","gists_url":"https://api.github.com/users/ns130291/gists{/gist_id}","starred_url":"https://api.github.com/users/ns130291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ns130291/subscriptions","organizations_url":"https://api.github.com/users/ns130291/orgs","repos_url":"https://api.github.com/users/ns130291/repos","events_url":"https://api.github.com/users/ns130291/events{/privacy}","received_events_url":"https://api.github.com/users/ns130291/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-02-23T20:44:52Z","updated_at":"2015-11-23T05:15:45Z","closed_at":"2014-03-06T18:22:51Z","body":"I am trying to compile the ADK samples for the Arduino Due and get the following error messages:\r\n```\r\nArduino: 1.5.5-r2 (Windows 7), Board: \"Arduino Due (Programming Port)\"\r\n\r\nIn file included from Usb.h:36,\r\n                 from adk.h:23,\r\n                 from term_test.ino:1:\r\nusbhost.h:73: error: #error \"No SPI entry in usbhost.h\"\r\nusbhost.h: In static member function 'static void SPi<SPI_CLK, SPI_MOSI, SPI_MISO, SPI_SS>::init()':\r\nusbhost.h:54: error: 'SPCR' was not declared in this scope\r\nusbhost.h:55: error: 'SPSR' was not declared in this scope\r\nIn file included from Usb.h:36,\r\n                 from adk.h:23,\r\n                 from term_test.ino:1:\r\nusbhost.h: In member function 'void MAX3421e<SPI_SS, INTR>::regWr(uint8_t, uint8_t)':\r\nusbhost.h:134: error: 'SPDR' was not declared in this scope\r\nusbhost.h:135: error: 'SPSR' was not declared in this scope\r\nusbhost.h:135: error: 'SPIF' was not declared in this scope\r\nusbhost.h:137: error: 'SPSR' was not declared in this scope\r\nusbhost.h:137: error: 'SPIF' was not declared in this scope\r\nusbhost.h: In member function 'uint8_t* MAX3421e<SPI_SS, INTR>::bytesWr(uint8_t, uint8_t, uint8_t*)':\r\nusbhost.h:155: error: 'SPDR' was not declared in this scope\r\nusbhost.h:157: error: 'SPSR' was not declared in this scope\r\nusbhost.h:157: error: 'SPIF' was not declared in this scope\r\nusbhost.h:162: error: 'SPSR' was not declared in this scope\r\nusbhost.h:162: error: 'SPIF' was not declared in this scope\r\nusbhost.h: In member function 'uint8_t MAX3421e<SPI_SS, INTR>::regRd(uint8_t)':\r\nusbhost.h:190: error: 'SPDR' was not declared in this scope\r\nusbhost.h:191: error: 'SPSR' was not declared in this scope\r\nusbhost.h:191: error: 'SPIF' was not declared in this scope\r\nusbhost.h:193: error: 'SPSR' was not declared in this scope\r\nusbhost.h:193: error: 'SPIF' was not declared in this scope\r\nusbhost.h: In member function 'uint8_t* MAX3421e<SPI_SS, INTR>::bytesRd(uint8_t, uint8_t, uint8_t*)':\r\nusbhost.h:212: error: 'SPDR' was not declared in this scope\r\nusbhost.h:213: error: 'SPSR' was not declared in this scope\r\nusbhost.h:213: error: 'SPIF' was not declared in this scope\r\nusbhost.h:217: error: 'SPSR' was not declared in this scope\r\nusbhost.h:217: error: 'SPIF' was not declared in this scope\r\nusbhost.h: In member function 'int8_t MAX3421e<SPI_SS, INTR>::Init()':\r\nusbhost.h:272: error: 'spi' has not been declared\r\nusbhost.h: In member function 'int8_t MAX3421e<SPI_SS, INTR>::Init(int)':\r\nusbhost.h:309: error: 'spi' has not been declared\r\nIn file included from Usb.h:37,\r\n                 from adk.h:23,\r\n                 from term_test.ino:1:\r\nUsbCore.h: At global scope:\r\nUsbCore.h:27: error: 'P10' was not declared in this scope\r\nUsbCore.h:27: error: 'P9' was not declared in this scope\r\nUsbCore.h:27: error: template argument 1 is invalid\r\nUsbCore.h:27: error: template argument 2 is invalid\r\nUsbCore.h:27: error: invalid type in declaration before ';' token\r\nIn file included from Usb.h:37,\r\n                 from adk.h:23,\r\n                 from term_test.ino:1:\r\nUsbCore.h:176: error: expected class-name before '{' token\r\nterm_test.ino: In function 'void setup()':\r\nterm_test:20: error: 'class USB' has no member named 'Init'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/comments/158855050","html_url":"https://github.com/felis/USB_Host_Shield_2.0/issues/76#issuecomment-158855050","issue_url":"https://api.github.com/repos/felis/USB_Host_Shield_2.0/issues/76","id":158855050,"user":{"login":"LASKER17","id":5809436,"avatar_url":"https://avatars.githubusercontent.com/u/5809436?v=3","gravatar_id":"","url":"https://api.github.com/users/LASKER17","html_url":"https://github.com/LASKER17","followers_url":"https://api.github.com/users/LASKER17/followers","following_url":"https://api.github.com/users/LASKER17/following{/other_user}","gists_url":"https://api.github.com/users/LASKER17/gists{/gist_id}","starred_url":"https://api.github.com/users/LASKER17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LASKER17/subscriptions","organizations_url":"https://api.github.com/users/LASKER17/orgs","repos_url":"https://api.github.com/users/LASKER17/repos","events_url":"https://api.github.com/users/LASKER17/events{/privacy}","received_events_url":"https://api.github.com/users/LASKER17/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T05:15:44Z","updated_at":"2015-11-23T05:15:44Z","body":"Hi, Lauszus, Can you help me?? i have arduino 1.\r\nwhen I run the program board_qc, the serial monitor shows me this\r\n\r\nCircuits At Home 2011\r\nUSB Host Shield Quality Control Routine\r\nReading REVISION register... Die revision 03\r\nSPI long test. Transfers 1MB of data. Each dot is 64K\r\nTest failed.  Value written: 01 read: 00\r\nUnrecoverable error - test halted!!\r\n0x55 pattern is transmitted via SPI\r\nPress RESET to restart test"}}