Commit graph

1328 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
38862af0eb
Merge pull request #346 from Nurrl/master
Added support for HobbyTronic's UNO*Pro upgrade.
2018-01-20 22:50:00 +01:00
Nurrl
e4b5dc8bed
Added pin definition for UNO*Pro. 2018-01-20 21:24:14 +01:00
Nurrl
71c7bd49a2
Reverting last fix. 2018-01-20 21:21:23 +01:00
Nurrl
658a615105
Added support for HobbyTronic's UNO*Pro upgrade. 2018-01-20 20:57:10 +01:00
Kristian Sloth Lauszus
03933edb41
Merge pull request #341 from felis/ESP32
Added support for ESP32
2018-01-15 09:58:09 +01:00
Kristian Sloth Lauszus
bfac192732 analogWrite is not implemented on the ESP32
See: https://github.com/espressif/arduino-esp32/issues/4
2018-01-14 18:44:38 +01:00
Kristian Sloth Lauszus
cf1b69513f Define pgm_read_pointer in the end, as pgm_read_ptr is not defined on the ESP32 platform 2018-01-14 18:17:12 +01:00
Kristian Sloth Lauszus
4056359101 Merge branch 'master' into ESP32 2018-01-14 17:42:58 +01:00
Kristian Sloth Lauszus
2a3fe66727 Cast return type of sizeof in the SRWS1 example as well 2018-01-14 16:59:53 +01:00
Kristian Sloth Lauszus
6cc77dcf53 Enable unused function warning on the ESP platforms, as the fix is now merged upsteam 2018-01-14 16:06:59 +01:00
Kristian Sloth Lauszus
0fb3e504d2 Workaround strict-aliasing warnings
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/328511332 and 8a02ea67f5 (diff-6e1ff9551639ac89d99617863bf84e10)
2018-01-14 16:05:37 +01:00
Kristian Sloth Lauszus
a017f0f311 Cast return type of sizeof on the ESP8266 and ESP32 2018-01-14 15:21:27 +01:00
Kristian Sloth Lauszus
dc1cdada87 Fixed all warnings and fixed bug, as GetCommFeature would actually not do anything 2018-01-14 15:14:52 +01:00
Andrew J. Kroll
eb885aca4d Make all serial fatal errors release the device. If this does not happen, replugs might not be detected. 2018-01-13 22:53:19 -05:00
Andrew J. Kroll
8318e5eeba Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2018-01-13 22:37:46 -05:00
Andrew J. Kroll
a461ff2035 Remove diagnostic and add note about FTDI and the host 2018-01-13 22:37:26 -05:00
Andrew J. Kroll
84b186152b Fix ESP RTOS WDT corner case, add W32 2018-01-13 22:36:35 -05:00
Andrew J. Kroll
9546dcb722 Fix ESP RTOS WDT corner case 2018-01-13 22:36:01 -05:00
kn1cht
a7f67cdfc6 Add ESP32 pin settings 2018-01-14 02:46:36 +09:00
Kristian Sloth Lauszus
153f9a4d27
Merge pull request #325 from felis/xboxone
Extract the endpoints from the Xbox One controller
2017-12-10 12:38:58 +01:00
Kristian Sloth Lauszus
502c547ca2
Merge pull request #332 from felis/belkin
Workaround issue with Belkin F8T065bf Bluetooth dongle
2017-12-10 12:37:31 +01:00
Kristian Sloth Lauszus
a06d173aad Workaround issue with Belkin F8T065bf Bluetooth dongle
Fixes #331
2017-12-09 12:07:19 +01:00
Andrew J. Kroll
08121e1701 Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2017-12-01 10:44:10 -05:00
Andrew J. Kroll
f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05:00
Kristian Sloth Lauszus
e7b6c1ca22
Merge pull request #326 from felis/spi_multi
Make SPI port configurable for controllers with more than one
2017-11-10 09:14:16 +01:00
Kristian Sloth Lauszus
1020c2162d Allows users to override SPI port via a build flag 2017-11-09 19:21:41 +01:00
Kristian Sloth Lauszus
5107310499 Applied path for e7fa52925d manually 2017-11-09 19:13:42 +01:00
Kristian Sloth Lauszus
7078ea9f32 Extract the endpoints from the Xbox One controller instead of hardcoding them
Also cleaned up the code a bit

Fixes #305
2017-11-09 18:56:40 +01:00
Kristian Sloth Lauszus
1308773eb8 Release version 1.3.1 2017-09-06 10:06:43 +07:00
Kristian Sloth Lauszus
3cf2ae3932 Merge pull request #314 from felis/bmAttributes
Fixed bit mask indicating the transfer type when reading the attribut…
2017-09-06 10:03:59 +07:00
Kristian Sloth Lauszus
597d389ae6 Fixed bit mask indicating the transfer type when reading the attributes in an endpoint
Fixes #313
2017-09-05 10:37:32 +07: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