Commit Graph

17 Commits

Author SHA1 Message Date
Raphael Assenat 07c4cc7a4a Save memory by not using an unnecessary buffer.
Saves (64 - sizeof(struct usb_request)) bytes.
2021-02-17 22:43:08 +09:00
Daan Sprenkels 7e90c06cf9 Add support for atmega32u4 chip 2019-07-13 14:17:26 +02:00
Raphael Assenat 66a1a45f22 Runtime endpoint sizes for HID 2017-11-20 00:13:57 -05:00
Raphael Assenat e7426e684a Do not send more descriptor bytes than we have
The request may be for more bytes than our descriptor has. Do not
send more when asked for more.
2017-11-19 14:40:53 -05:00
Raphael Assenat 4ecc3f571e Multi-player support complete
Works, but very light testing so far
2016-10-10 14:20:14 -04:00
Raphael Assenat 90aae55470 Support for an extra interrupt endpoint
- Reduced interrupt endpoint size (reports are 15 bytes so it fits in
   16)
2016-10-09 23:47:36 -04:00
Raphael Assenat b9a6f23607 reduce HID max packet size to 32 2016-05-28 00:17:43 -04:00
Raphael Assenat 6f6d77956b Enable EP2 2016-05-27 23:27:12 -04:00
Raphael Assenat 23f10866e9 GPLv3, Copyright updates, whitespace clean up 2015-12-06 21:55:06 -05:00
Raphael Assenat d444b9479f More use of printf_P 2015-10-28 00:16:32 -04:00
Raphael Assenat 39e7ba9d49 Add a function to test if USB interrupt send would block 2015-10-17 17:43:44 -04:00
Raphael Assenat b03e20d7cf Remove debug output from usb.c 2015-09-09 22:32:00 -04:00
Raphael Assenat 49a33c5b06 Fix functionality when coming from boot loader 2015-09-09 22:19:59 -04:00
Raphael Assenat a84b70c369 Start bootloader by USB message 2015-08-16 01:59:38 -04:00
Raphael Assenat 06bea508f1 Add multiple HID interface support (control ep0) 2015-08-16 00:43:28 -04:00
Raphael Assenat dd9b2983a7 Use print_P to save memory 2015-06-14 00:50:05 -04:00
Raphael Assenat c59242383f WIP 2015-06-13 23:44:21 -04:00