mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
SPI library was added twice after merge - see: c39e8a180c
This commit is contained in:
parent
c39e8a180c
commit
22d82ecd0a
38 changed files with 67 additions and 95 deletions
|
@ -9,8 +9,8 @@
|
|||
#include "KeyboardParser.h"
|
||||
#include "MouseParser.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <PS3BT.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <PS3BT.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include <SPP.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <PS4BT.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <SPP.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <Wii.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -14,8 +14,8 @@ Otherwise, wire up a IR LED yourself.
|
|||
#include <Wii.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <Wii.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <Wii.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <hidboot.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
#include <hidboot.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
class MouseRptParser : public MouseReportParser
|
||||
{
|
||||
protected:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <hidboot.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include <hid.h>
|
||||
#include <hiduniversal.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
|
@ -9,11 +10,6 @@
|
|||
|
||||
#include "hidjoystickrptparser.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
USBHub Hub(&Usb);
|
||||
HIDUniversal Hid(&Usb);
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include <usbhub.h>
|
||||
#include "pgmstrings.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include "le3dp_rptparser.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include "scale_rptparser.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <PS3USB.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <PS4USB.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <PSBuzz.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "pgmstrings.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <XBOXOLD.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include <XBOXRECV.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <XBOXUSB.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "pgmstrings.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -4,17 +4,13 @@
|
|||
#include <adk.h>
|
||||
#include <hidboot.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
USBHub Hub1(&Usb);
|
||||
USBHub Hub2(&Usb);
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
#include <adk.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
USBHub hub0(&Usb);
|
||||
USBHub hub1(&Usb);
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
#include <adk.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
//USBHub Hub(&Usb);
|
||||
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
#include <adk.h>
|
||||
#include <usbhub.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
|
||||
ADK adk(&Usb,"Circuits@Home, ltd.",
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
/**/
|
||||
#include <usbhub.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <../../../../hardware/pic32/libraries/SPI/SPI.h> // Hack to use the SPI library
|
||||
#include <SPI.h> // Hack to use the SPI library
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "pgmstrings.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <usbhub.h>
|
||||
#include "pgmstrings.h"
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -4,17 +4,13 @@
|
|||
// pinout: D[4-7] -> GPOUT[4-7], RS-> GPOUT[2], E ->GPOUT[3]
|
||||
|
||||
#include <max_LCD.h>
|
||||
|
||||
// Satisfy IDE, which only needs to see the include statment in the ino.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
#include <spi4teensy3.h>
|
||||
#endif
|
||||
|
||||
USB Usb;
|
||||
Max_LCD lcd(&Usb);
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include <cdcacm.h>
|
||||
#include <cdcprolific.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include <cdcacm.h>
|
||||
#include <cdcprolific.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
#include <TinyGPS.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include <cdcacm.h>
|
||||
#include <cdcprolific.h>
|
||||
|
||||
#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#include <SPI.h>
|
||||
// Satisfy the IDE, which needs to see the include statment in the ino too.
|
||||
#ifdef dobogusinclude
|
||||
#include <spi4teensy3.h>
|
||||
#include <SPI.h>
|
||||
#endif
|
||||
|
|
0
examples/testusbhostFAT/testusbhostFAT.ino
Normal file → Executable file
0
examples/testusbhostFAT/testusbhostFAT.ino
Normal file → Executable file
Loading…
Reference in a new issue