aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-16Merge pull request #100 from CombiesGit/patch-1Alexander Entinger
[TWI] Add __attribute__ ((fallthrough)) to remove recent GCC warnings
2019-09-16Merge pull request #31 from jamadagni/patch-1Alexander Entinger
Add `bitToggle` macro to complement `bitSet` etc
2019-09-16Merge branch 'master' into patch-1Alexander Entinger
2019-09-16Merge pull request #33 from Pharap/add-placement-newAlexander Entinger
Add placement new operator
2019-09-16Merge pull request #64 from paulrnash/paulrnash-intellisenseAlexander Entinger
Add parameter names to common prototypes
2019-09-16Adding parenthesis around 'bitvalue' allowing correct macro expansion when ↵Alexander Entinger
using with ternary operator such as bitWrite(value, bit, some_computed_value == 5 ? 1: 0);'
2019-09-16Merge pull request #76 from dmadison/pluggable-unusedAlexander Entinger
Fix unused variable warning for non-pluggable USB in SendDescriptor
2019-09-16Merge pull request #103 from zakkie/fix/remove_ifAlexander Entinger
Removes unnecessary if branch (because length is checked in while statement below the if-clause).
2019-09-04remove unnecessary if branchAkihiro YAMAZAKI
checking `length` in below while statement
2019-08-16Update twi.cCombiesGit
Added __attribute__ ((fallthrough));
2019-08-02rename yunmini.bootloader.file on boards.txtGeonil Goh
2019-07-29Add null pointer test to String destructorJeff Rowberg
2019-07-21Cast pins to signed integers to avoid Wtype-limits compile warningJeff Rowberg
2019-06-08Do not claim AT-protocol in CDC interface descriptorMatthijs Kooijman
The CDC code presents itself as a virtual serial port. However, it also sets the "bFunctionProtocol" value to 1, which means it supports AT-commands, which is not actually the case. This might cause problems with some software, such as ModemManager. Originally, ModemManager would be very liberal with probing serial devices, using a blacklist to prevent probing non-modems such as Arduinos. Since version 1.7.990, it has supported a "strict" mode where it tries to be more restrained in what devices it probes. For CDC ACM devices, this means it will only probe devices that claim to support AT-commands. However, it also stopped applying the blacklist (intending to eventually remove the blacklist), meaning it would again probe Arduinos. This new strict policy is not the upstream default, but is enabled in Debian (since Buster) and Ubuntu (since bionic 18.04.2). The proper way to fix this, is to not claim AT comand support in the USB device descriptor, which is what this commit does. The Arduino will still show up as a virtual serial port, just not be probed by ModemManager in strict mode. For the commit that introduced the strict mode in ModemManager, see https://cgit.freedesktop.org/ModemManager/ModemManager/commit/src?id=ee570d44dc117dc69f23e83313dd877f76c5e3e0
2019-05-16Merge pull request #51 from florian-schweiger/patch-1Martino Facchin
Remove historic Arduino 0012 workaround in SoftwareSerial
2019-04-26Fixed shiftOut in MSBFIRST mode HIGH/LOWluca
2019-04-26Minor optimization in shiftOut functionluca
2019-03-30Move Travis CI badge inline with titleDavid Madison
It looks so lonely on its own line!
2019-03-30Travis CI (#5)David Madison
2019-03-11Merge pull request #4 from dmadison/documentationv1.0.0David Madison
Documentation
2019-03-11Version 1.0.0David Madison
2019-03-11Add link to original repository in READMEDavid Madison
2019-03-10Added link to library in READMEDavid Madison
2019-03-09Add limitations section to READMEDavid Madison
2019-03-09Re-wrote uploading section of READMEDavid Madison
The "hold and then release" reset process is what Arduino recommends but it never worked for me, the double reset is much more reliable.
2019-03-09Change endpoint comments to use send/recvDavid Madison
Much better than in/out, since using the controller's perspective meant the inverted "in/out" was confusing
2019-03-09Merge pull request #3 from dmadison/apiDavid Madison
Unsigned 'available' API
2019-03-09Switch 'available' return type to uint8_tDavid Madison
This function never returns an error (-1), and the number of bytes available will never be a negative number.
2019-03-09Moved send above recv in Xinput API headerDavid Madison
Logical reordering, no functional change
2019-03-06Add auto-upload warning section to READMEDavid Madison
2019-03-06Add Installation section to READMEDavid Madison
2019-03-06Supported board section in READMEDavid Madison
These are all of the USB-capable boards in the boards.txt file, all using the 32U4.
2019-03-06Add READMEDavid Madison
2019-03-06LGPL 2.1David Madison
The Arduino core is licensed, collectively, under the GNU Lesser General Public License, version 2.1. Individual files may be licensed more permissively. See https://www.arduino.cc/en/main/FAQ.
2019-03-06Merge pull request #2 from dmadison/xinputDavid Madison
XInput
2019-03-06Change manufacturer stringDavid Madison
2019-02-21Add USB connected API supportDavid Madison
Returns true if the device USB is configured. Although will still return true if the device has been configured and the USB data pins disconnected...
2019-02-21Change receive endpoint to double-bankedDavid Madison
No reason not to take advantage of this feature, although with the interrupt in place I doubt it will be useful.
2019-02-21Use endpoint number defines for ep allocationDavid Madison
2019-02-21Add USB receive callback to USB ISRDavid Madison
Using the OUT endpoint interrupt
2019-02-21Add XInput USB APIDavid Madison
2019-02-19Change VID and PID in boards.txtDavid Madison
Better to set these where intended so they can be easily overridden if need be.
2019-02-19Add XInput endpoint number definesDavid Madison
2019-02-19Allocate XInput endpoint memoryDavid Madison
2019-02-19Modify endpoint numbers to be sequentialDavid Madison
Easier for the AVR to deal with the memory if the in/out numbers aren't paired.
2019-02-19Add XInput string descriptorsDavid Madison
2019-02-19Add XInput device and config descriptorsDavid Madison
2019-02-17Removed USB CDC SerialDavid Madison
This will compile but will NOT enumerate properly without a config descriptor. You've been warned...
2019-02-17Define descriptor return var in pluggable blockDavid Madison
Avoids unused variable warning if USB is enabled but pluggable USB is not
2019-02-15Replace Serial with nullDavid Madison
Allows sketches using Serial to compile but discards all data