Commit Graph
483 Commits
Author SHA1 Message Date
hathach ebd624c7c0 add USBDevice setVersion(), update cdc for new tinyusb peek 2019-07-31 20:32:43 +07:00
hathach 5f5ac5871f update tinyusb
- add tud_vendor_peek()
- change tud_cdc_peek() API to be consistent with tud_vendor_peek()
2019-07-31 20:31:55 +07:00
hathach 475c0f9df6 Merge branch 'master' into develop 2019-07-31 12:05:47 +07:00
hathach 393c83e014 Merge pull request #311 from pyro9/availableForWrite
Add availableForWrite method to Serial.
2019-07-31 12:01:26 +07:00
hathach e785fa0c68 Merge pull request #308 from pyro9/fix_serial
Make Serial::read and dependant functions 8-bit clean.
2019-07-31 12:00:07 +07:00
hathach 68812ef0bf Merge branch 'master' into develop 2019-07-30 20:31:34 +07:00
hathach d04f9ae3eb update tinyusb stack to support vendor 2019-07-30 20:31:07 +07:00
Steven James 4eca9f88f7 Use tu_fifo_remaining instead of tu_fifo_count
rename low level CDC functions to tud_cdc_n_write_available and tud_cdc_write_available
2019-07-27 14:44:26 -04:00
Steven James 378e1be956 Change int to int32_t by request for merge. 2019-07-27 14:08:14 -04:00
Kevin Frei 68cc733171 Added a couple delete operators to make std=gnu++14/17 2019-07-27 14:29:05 +02:00
Steven James d7de810644 Add availableForWrite method to Serial. 2019-07-26 18:24:58 -04:00
Steven James 5705388dfd Make Serial::read and dependant functions 8-bit clean. 2019-07-20 04:06:08 -04:00
hathach be18b1809a fix incorrect midi descriptor template 2019-07-09 10:39:42 +07:00
hathach b1f4a4786a usbd add itfnum to getDescriptor() 2019-07-08 22:43:36 +07:00
hathach 64d65d69bf midi only use audio 1.0 without IAD 2019-07-05 16:46:32 +07:00
hathach a0e82f6701 clean up 2019-07-04 01:51:26 +07:00
hathach eeab293505 update tinyusb midi 2019-07-04 01:33:06 +07:00
hathach 3afe3c52ba enable tinyusb midi 2019-07-03 01:24:54 +07:00
hathach 2bab7d02ff update tinyusb to better support midi 2019-07-03 01:04:48 +07:00
hathach 1f433a9a1f fix accidence delete pwm trigger for tone #69 2019-06-19 21:54:19 +07:00
hathach e131fba008 try to add Tone() using PWM2 for both 52832/52840 2019-06-18 17:19:19 +07:00
hathach 64e176b7cd more warnings clean up 2019-06-07 15:27:57 +07:00
hathach a95ead5add clean up warnings 2019-06-07 12:48:41 +07:00
hathach 7589540d2e refactor ada callback, prefer to have function than macros 2019-06-07 12:48:29 +07:00
hathach 577b2039b2 refactor ada_callback, detect isr using cortex ICSR
remove ada_callback_FromISR()
2019-06-07 10:23:38 +07:00
hathach 9abd152fe5 fix buid conflict between hid central and usb hid 2019-06-06 15:25:26 +07:00
hathach d87536bbb7 more warning clean up 2019-06-06 11:59:38 +07:00
hathach 6bcffbd252 clean up warnings 2019-06-06 11:41:02 +07:00
hathach 452db14e41 remove rtos_idle_callback(), sketch define vApplicationIdleHook() if needed 2019-06-06 11:19:53 +07:00
hathach a73eb9d765 clean up compipler macros 2019-06-06 11:19:13 +07:00
hathach 3f2fbc6e75 update tinyusb 2019-06-06 11:12:40 +07:00
hathach 73d10728e5 enhance Serial.available()/write() to prevent blocking wait without yield/delay 2019-06-05 23:11:57 +07:00
hathach 187ddc6058 move InternalFS to its own subclass of LFS 2019-05-30 16:48:48 +07:00
hathach 20c257daa2 more internal flash clean up 2019-05-30 16:16:57 +07:00
hathach 6b99749b2f remove flash_qspi to prefer Adafruit_QSPI library 2019-05-30 12:41:31 +07:00
hathach ab0534e9c5 tinyusb clean up 2019-05-29 17:16:07 +07:00
hathach 228b5ea722 Merge branch 'master' into develop 2019-05-29 15:45:22 +07:00
hathach 66e96b0d13 tinyusb update
- improve fifo write/read_n with only one lock
- added usbd_edpt_xfer/usbd_edpt_busy to replace
dcd_edpt_transfer/dcd_edpt_busy()
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 15:34:45 +07:00
hathach 99b6de3207 improve cdc core 2019-05-29 15:17:12 +07:00
hathach f5aeb3820d move tud cdc write flush to yield(), add yield() to Stream timeRead(), timePeek() 2019-05-28 18:24:33 +07:00
hathach e38c37b6b7 clean up 2019-05-27 20:31:22 +07:00
hathach 732e2d5a77 fix tinyusb hid raw inout 2019-05-24 12:52:58 +07:00
hathach a38ac7e7a6 Merge pull request #274 from adafruit/develop
more with usb
2019-05-24 09:03:12 +07:00
hathach 217264bde4 update tinyusb cdc 2019-05-22 09:48:56 +07:00
hathach 93aa3fb178 clean up, rename PIN_QSPI_DATAx to PIN_QSPI_IOx 2019-05-20 13:01:22 +07:00
hathach a18c380009 add void Adafruit_TinyUSB_Core_touch1200(void) 2019-05-15 23:04:32 +07:00
hathach aee0e26e50 clean up 2019-05-15 22:51:40 +07:00
hathach 49efd06029 update tinyusb 2019-05-15 22:29:16 +07:00
hathach 4e0730549c Merge pull request #260 from MacGyverNL/master
Extend SoftwareTimer with option to make it non-repeating, add reset function & ISR-safe functions.
2019-05-15 11:24:58 +07:00
Pol Van Aubel 2ce11a601a Abstract away scheduler wake. 2019-05-14 22:25:31 +02:00