Commit graph

1198 commits

Author SHA1 Message Date
Andrew J. Kroll
f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05:00
Andrew J. Kroll
e0ed7cce31 fix mismatched brace 2017-08-14 05:58:05 -04:00
Andrew J. Kroll
d0e32182cb merge with master 2017-08-14 04:17:57 -04:00
Andrew J. Kroll
13950453c9 Fixes for spi4teensy3 on 3.5/3.6. Be sure to update your spi4teensy3 library as well. 2017-08-14 03:39:38 -04:00
Andrew J. Kroll
291e742f2d some stuff... 2017-08-14 01:40:47 -04:00
Kristian Sloth Lauszus
fb47645ea7 Merge pull request #298 from felis/XBOXONE_fix
Newer Xbox One controllers requires a longer initialisation command
2017-06-25 21:50:10 +02:00
Kristian Sloth Lauszus
39150a15ea Also update the ButtonClickState variable when the Xbox button is pressed
Fixes #299
2017-06-18 18:02:43 +02:00
Kristian Sloth Lauszus
e7d0695616 Added support for all known Xbox One controllers
See: https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c
2017-06-15 12:50:17 +02:00
Kristian Sloth Lauszus
f286114ac9 Newer Xbox One controllers requires a longer initialisation command
Fixes #216
2017-06-15 12:03:02 +02:00
Kristian Sloth Lauszus
ff8bdb24c1 Merge pull request #263 from felis/ESP8266
Added support for ESP8266
2017-06-14 13:31:53 +02:00
Kristian Sloth Lauszus
c8b7c9a018 Added yield() inside the for-loops as well 2017-06-13 13:02:15 +02:00
Kristian Sloth Lauszus
da253b25bc Reset the watchdog timer on the ESP8266 when the sketch is done 2017-06-13 12:57:56 +02:00
Kristian Sloth Lauszus
c2b6dbf943 Use pin 5 for INT on the ESP8266 2017-06-13 12:57:27 +02:00
Kristian Sloth Lauszus
84bab2d748 Do not use SPI.writeBytes on the ESP8266 2017-06-13 12:40:07 +02:00
Kristian Sloth Lauszus
453a4e1f7f Explicit cast the data to an uint8_t pointer
It is then cast back to uint32_t in the SPI library: 40c159fcf5/libraries/SPI/SPI.cpp (L402)
2017-06-13 12:18:40 +02:00
Kristian Sloth Lauszus
a68614a2e8 The data needs to be aligned to 32-bit when sending using SPI.writeBytes and SPI.transferBytes for the ESP8266 2017-06-13 11:55:05 +02:00
Kristian Sloth Lauszus
a057d83d5e Do not use fixed width integer types for the TinyGPS example, as this causes issues on the ESP8266 platform 2017-06-06 23:38:38 +02:00
Kristian Sloth Lauszus
f443d2af25 Merge branch 'master' into ESP8266
* master:
  Fixed warning on avr
  Used fixed width integer types, so it is not architecture dependent
  Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101
  Fix millis() and micros() rollover bug
2017-06-06 17:28:19 +02:00
Kristian Sloth Lauszus
255df0d160 Merge pull request #289 from felis/rollover
Fix millis() and micros() rollover bug
2017-06-06 17:25:48 +02:00
Kristian Sloth Lauszus
18a36f8627 Split variable to prevent warnings on the ESP8266 platform
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/230952435#L1149
2017-05-11 17:55:13 +02:00
Kristian Sloth Lauszus
14fec8dab8 Merge branch 'master' into ESP8266
* master:
  Update MIDI driver v0.3.2
  Fix missing unsigned comparison.
  Release version 1.3.0
  Added intel_arc32 to PlatformIO platforms
  Fixed type in waitingForConnection variable and set it to false when pairing
  Use descriptor length in order to advance the buffer when parsing the descriptors
2017-05-11 00:12:30 +02:00
Kristian Sloth Lauszus
f901a79304 Merge branch 'Travis' into ESP8266
* Travis:
  Try to set build flags

# Conflicts:
#	.travis.yml
2017-05-10 00:44:39 +02:00
Kristian Sloth Lauszus
9de76a07dc 14cf737d7d is no longer needed 2017-03-22 14:10:39 +01:00
Kristian Sloth Lauszus
9162d13f77 Merge branch 'master' into rollover
* master:
  Update MIDI driver v0.3.2

# Conflicts:
#	examples/USBH_MIDI/USBH_MIDI_dump/USBH_MIDI_dump.ino
#	examples/USBH_MIDI/USB_MIDI_converter/USB_MIDI_converter.ino
#	examples/USBH_MIDI/USB_MIDI_converter_multi/USB_MIDI_converter_multi.ino
#	examples/USBH_MIDI/bidirectional_converter/bidirectional_converter.ino
#	usbh_midi.cpp
#	usbh_midi.h
2017-03-02 11:47:04 +01:00
Kristian Sloth Lauszus
781d368ffb Merge pull request #291 from YuuichiAkagawa/pr_usbh_midi_032
Update MIDI driver v0.3.2
2017-03-02 11:41:13 +01:00
Yuuichi Akagawa
43f423e15d Update MIDI driver v0.3.2 2017-02-26 23:01:08 +09:00
Kristian Sloth Lauszus
3952d900ff Reset the watchdog timer on the ESP8266
See: https://github.com/felis/USB_Host_Shield_2.0/pull/263#issuecomment-279222338
2017-02-14 00:27:35 +01:00
Kristian Sloth Lauszus
2f46665ee4 Fixed warning on avr
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/200893091
2017-02-12 20:43:26 +01:00
Kristian Sloth Lauszus
5ba28d186f Used fixed width integer types, so it is not architecture dependent 2017-02-12 17:14:01 +01:00
Kristian Sloth Lauszus
42948831ce Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101 2017-02-12 16:58:14 +01:00
Kristian Sloth Lauszus
6fb48f48e4 Fix millis() and micros() rollover bug
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
Kristian Sloth Lauszus
07de430af0 Merge pull request #288 from YuuichiAkagawa/pr_hubdemofix
Fix missing unsigned comparison.
2017-02-12 14:43:07 +01:00
Yuuichi Akagawa
9b4dd2dcfb Fix missing unsigned comparison. 2017-02-12 22:02:00 +09:00
Kristian Sloth Lauszus
831960bcc2 Release version 1.3.0 2017-02-07 17:44:44 +01:00
Kristian Sloth Lauszus
5d06346303 Added intel_arc32 to PlatformIO platforms 2017-02-07 17:44:26 +01:00
Kristian Sloth Lauszus
242ce6c92b Fixed type in waitingForConnection variable and set it to false when pairing 2017-02-07 15:27:00 +01:00
Kristian Sloth Lauszus
343ae2c1d1 Merge pull request #281 from felis/PS4Slim
Fixed bug for PS4 Slim controller via USB
2017-02-07 15:20:03 +01:00
Kristian Sloth Lauszus
4cb265e9a8 Merge branch 'master' into ESP8266
* master:
  millis() is 64-bits on the Arduino/Genuino 101
  CLOCK_SPEED is now correctly defined as an int instead of a double
  Define CLOCK_SPEED as type int
  Add genuino101 to travis, remove call to setClockDivider (obsolete)
  Remove duplicate code
  Add Arduino 101 mods from https://github.com/KitPan/USB_Host_Shield_2.0

# Conflicts:
#	.travis.yml
2017-02-06 14:45:33 +01:00
Kristian Sloth Lauszus
276c7a332a millis() is 64-bits on the Arduino/Genuino 101
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/198814525
2017-02-06 14:04:33 +01:00
Kristian Sloth Lauszus
695325c178 CLOCK_SPEED is now correctly defined as an int instead of a double
See: edcc7062ae
2017-02-06 13:06:13 +01:00
Joe Bowbeer
56c6e3d42b Define CLOCK_SPEED as type int 2017-02-06 12:43:36 +01:00
Joe Bowbeer
e2902bd8a1 Add genuino101 to travis, remove call to setClockDivider (obsolete) 2017-02-06 12:43:02 +01:00
Joe Bowbeer
d57d810e93 Remove duplicate code 2017-02-03 22:52:01 -08:00
Joe Bowbeer
4158a501a9 Add Arduino 101 mods from https://github.com/KitPan/USB_Host_Shield_2.0 2017-02-03 22:44:51 -08:00
Kristian Sloth Lauszus
7b0487da80 Try to set build flags 2017-02-01 16:53:31 +01:00
Kristian Sloth Lauszus
14cf737d7d Only ignore unused functions when building for the ESP8266
This should be removed when the ESP8266 core is updated in PlatformIO: https://github.com/esp8266/Arduino/pull/2881
2017-02-01 12:26:27 +01:00
Kristian Sloth Lauszus
8f44b62470 Only define WIICAMERA for WiiIRCamera example 2017-02-01 11:20:09 +01:00
Kristian Sloth Lauszus
d9b32ad745 Merge branch 'master' into ESP8266
* master:
  Re-enable strict-aliasing warnings for Travis build
  Only show build status for master branch
  Address "dereferencing type-punned pointer" warnings.

# Conflicts:
#	.travis.yml
2017-01-31 22:14:25 +01:00
Kristian Sloth Lauszus
f89593e4ce Re-enable strict-aliasing warnings for Travis build
See #280
2017-01-31 01:18:38 +01:00
Kristian Sloth Lauszus
ddb140f0ae Merge pull request #280 from arantius/type-punned
Address "dereferencing type-punned pointer" warnings.
2017-01-31 01:17:20 +01:00