Age | Commit message (Collapse) | Author |
|
It looks so lonely on its own line!
|
|
|
|
Documentation
|
|
|
|
|
|
|
|
|
|
The "hold and then release" reset process is what Arduino recommends but it never worked for me, the double reset is much more reliable.
|
|
Much better than in/out, since using the controller's perspective meant the inverted "in/out" was confusing
|
|
Unsigned 'available' API
|
|
This function never returns an error (-1), and the number of bytes available will never be a negative number.
|
|
Logical reordering, no functional change
|
|
|
|
|
|
These are all of the USB-capable boards in the boards.txt file, all using the 32U4.
|
|
|
|
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.
|
|
XInput
|
|
|
|
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...
|
|
No reason not to take advantage of this feature, although with the interrupt in place I doubt it will be useful.
|
|
|
|
Using the OUT endpoint interrupt
|
|
|
|
Better to set these where intended so they can be easily overridden if need be.
|
|
|
|
|
|
Easier for the AVR to deal with the memory if the in/out numbers aren't paired.
|
|
|
|
|
|
This will compile but will NOT enumerate properly without a config descriptor. You've been warned...
|
|
Avoids unused variable warning if USB is enabled but pluggable USB is not
|
|
Allows sketches using Serial to compile but discards all data
|
|
Unused if pluggable USB is not enabled. Should submit a PR to fix this in the main repo...
|
|
Not compatible with XInput, which requires a static descriptor
|
|
Can't be used since PluggableHID and XInput are mutually exclusive
|
|
Distinguish at a glance from the 'normal' boards in the IDE
|
|
Forking
|
|
Removes boards from boards.txt, bootloaders for those boards, and variants for those boards. As none of these boards support USB there's no reason to keep them around.
|
|
|
|
|
|
|
|
Required to separate this board set from the built-in AVR core
|
|
Putting the parameter names in these commonly used prototypes makes syntax help like VS Code's Intellisense work 99% more useful. Without them, it doesn't give you the names of the parameters and you have to remember the semantics yourself. :(
|
|
Remove commented out code for I2C interrupts on WInterrupts.c
|
|
These are currently implemented by the Wire library, on twi.c
|
|
Add USBDevice.isSuspended()
|
|
Add ATmega32U4-compatible Arduino as ISP programmer
|
|
Use of the stk500v1 protocol for Arduino as ISP does not work with native USB boards on Windows. The arduino protocol does.
However, the arduino protocol makes it more likely that boards with an external USB interface chip will require the auto-reset circuitry to be disabled to allow them to be used as Arduino as ISP. That adds extra complexity to a process already difficult for the average Arduino user.
For this reason, a new programmer using the arduino protocol is added specifically for using native USB boards as Arduino as ISP and the previous Arduino as ISP configuration is retained for use with all other boards.
|
|
This reverts commit b084848f2eaf9ccb3ac9a64ac5492d91df4706bf.
|