Commit Graph
100 Commits
Author SHA1 Message Date
Ha Thach 310797a580 Merge pull request #477 from hathach/fix-nrf-unplugg-isr-event
correct isr context for nrf DCD_EVENT_UNPLUGGED
2020-08-01 12:31:48 +07:00
Ha Thach 16fe590b71 Merge pull request #475 from kasjer/kasjer/fix-synopsys-endpoint-constraint-check
Fix synopsys size check for ISO endpoint
2020-08-01 12:11:08 +07:00
hathach 9bf2b33366 correct isr context for nrf DCD_EVENT_UNPLUGGED
also rename debug lookup to prevent conflict
2020-08-01 12:02:59 +07:00
Ha Thach 22100b252f Merge pull request #474 from hathach/fix-strict-prototype
fix strict prototype
2020-07-29 19:17:48 +07:00
hathach 10a8ef7614 fix nested extern declaration of 'SystemCoreClock' [-Werror=nested-externs] 2020-07-29 17:04:47 +07:00
hathach 5af08e2ffc fix strict prototype 2020-07-29 16:59:07 +07:00
Ha Thach 78f1576e93 Merge pull request #412 from hathach/fix-net-cast-align
suppress cast-align warnings for net device driver
2020-07-29 11:23:11 +07:00
Ha Thach 8dda0a0dd1 Merge pull request #454 from me-no-dev/esp32-s2-fifos
ESP32-S2: Handle the fact that available EP IN FIFOs are less than the number of available EP INs
2020-07-28 15:16:15 +07:00
Ha Thach 6035572036 Merge pull request #471 from hathach/call-usbinit-after-kernel-started
call tud_init() after freeRTOS kernel is started
2020-07-24 01:28:49 +07:00
hathach 503c15217e example to call tud_init() after freeRTOS kernel is started
add note for usb init when using with RTOS
2020-07-23 09:20:45 +07:00
Ha Thach 72c5167fa5 Merge pull request #470 from hathach/fix-samd21-missing-setup
fix samd21 race condition with setup packet
2020-07-23 06:36:20 +07:00
hathach 0407cfe16c fix samd21 race condition with setup packet
reproduced with Adafruit_TinyUSB_ArduinoCore port commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 and SAMD BSP 1.6.1
2020-07-23 01:39:15 +07:00
Ha Thach 7d2fc12445 Merge pull request #469 from hathach/followup-pr466-pr468
Followup pr466 pr468
2020-07-21 21:56:57 +07:00
hathach dfca92d29b follow up to pr468 2020-07-21 21:06:10 +07:00
hathach 787c891702 add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
Ha Thach be744e1e01 Merge pull request #466 from chang196700/feature/string_desc_msos
Remove 0xEE index string if statement & change TU_ASSERT to TU_VERIFY
2020-07-21 20:25:08 +07:00
Ha Thach 1e2c554919 Merge pull request #468 from me-no-dev/freertos-yield-from-isr
FreeRTOS: Yield from ISR to notify the USB task
2020-07-21 19:56:18 +07:00
hathach a0f6fa4e06 update ci script 2020-07-19 14:19:39 +07:00
Ha Thach 798fad397a Merge pull request #464 from hathach/improve-highspeed
Better support highspeed mode
2020-07-19 13:24:57 +07:00
hathach 8e1290e51e minor clean up 2020-07-19 13:13:21 +07:00
hathach 6ddee1b5cf more update 2020-07-18 01:07:44 +07:00
hathach 881025afdc add new name warning to cdc and midi (skip msc, hid warning for now) 2020-07-17 23:01:39 +07:00
hathach 7baeea7a00 update actual link speed for spresense 2020-07-17 18:28:19 +07:00
hathach dc00f0cae1 update link speed detection for nuc505 2020-07-16 20:44:06 +07:00
hathach 0517f4a2f1 dcd tdi report link speed on reset 2020-07-16 16:12:21 +07:00
hathach 5ca748a68e rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
hathach fea6fb73a1 add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun 2020-07-16 13:04:10 +07:00
hathach ed065691ef fix unintended changes to webusb example 2020-07-16 00:55:19 +07:00
hathach 706413f751 add tud_speed_get()
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
Ha Thach 2274740e48 Merge pull request #462 from ktemkin/add_luna_bsp
add BSP for Great Scott Gadgets' LUNA boards (SAMD21)
2020-07-15 11:31:11 +07:00
Ha Thach e1b3fe81c4 Merge pull request #461 from CraigHutchinson/patch-1
Improve comment on CDC tud_cdc_write_available()
2020-07-10 18:51:50 +07:00
Ha Thach 81392da1ea Merge pull request #456 from me-no-dev/esp32-s2-epin-to
ESP32-S2: Detect EP IN Xfer Timeout
2020-07-10 12:29:06 +07:00
Ha Thach dbced9911d Merge pull request #447 from hathach/add-stm-hs
Add support for STM32 OTG HS core
2020-07-08 19:47:24 +07:00
hathach 0fd074afd8 change REDUCE_SPEED=0/1 to explicitly SPEED=high/full
update readme, boards.md to add link to new stm boards
2020-07-08 16:29:48 +07:00
hathach f82655a212 correct EP Size for cdc dual and webusb example 2020-07-06 18:55:31 +07:00
Ha Thach a192d99bf0 Merge pull request #457 from UweBonnes/add-stm-hs
Add stm hs
2020-07-05 14:07:08 +07:00
hathach ad5ae8c31d update per review 2020-07-03 14:50:39 +07:00
hathach a09a86d299 fix NVIC disable typo 2020-07-03 01:19:02 +07:00
hathach 4cec866994 correct HSE_VALUE in hal_conf
- although it is define in CFLAGS, it is worth to correct to be
consistent with other build
- extract set_speed()
2020-07-02 14:57:00 +07:00
hathach 9a290febcd change default port some stm bsp
- f769disco default port is highspeed port1
- remove PORT0 on stlink since the board only populated HS connector
2020-07-02 11:58:40 +07:00
hathach 4966fb2e13 clean up 2020-07-02 01:25:21 +07:00
hathach c2289777f7 Merge branch 'add-stm-hs' of github.com:hathach/tinyusb into add-stm-hs 2020-07-01 23:53:33 +07:00
Ha Thach 961d813953 Merge pull request #455 from UweBonnes/add-stm-hs
Add stm hs
2020-07-01 23:52:27 +07:00
hathach d2450abaaf only set turnaround in reset complete 2020-07-01 18:51:04 +07:00
hathach e3974d6869 correctly set turn around according to cpu clock
help to run with low speed mcu
2020-07-01 18:44:52 +07:00
hathach 77315ba7ce added uart for h743 2020-07-01 18:27:48 +07:00
hathach a512a31c9d Merge branch 'master' into add-stm-hs 2020-07-01 17:58:02 +07:00
hathach ed1b670c55 clean up code 2020-07-01 17:57:37 +07:00
Ha Thach 0c9932440b Merge pull request #452 from hathach/fix-dfu-rt
Fix dfu rt
2020-07-01 15:24:39 +07:00
Ha Thach ea67aee75b Update README.md 2020-07-01 13:19:06 +07:00
Ha Thach 530b0099a5 Merge pull request #439 from UweBonnes/add-stm-hs
Add stm hs
2020-07-01 13:09:07 +07:00
Ha Thach 383f8047a5 Merge pull request #453 from hathach/add-da14695-usb
Add da14695 usb
2020-07-01 13:02:16 +07:00
hathach 463e978134 added DA14695 DK USB bsp 2020-07-01 12:47:14 +07:00
hathach 2f946e765d rename file 2020-07-01 12:42:12 +07:00
hathach 12a145b27d fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUS
fix #450
2020-07-01 01:33:02 +07:00
Ha Thach e4391c32a6 Merge pull request #451 from duempel/fix_synopsys_short_packet
Fix receiving of short packet data (Synopsys)
2020-07-01 00:11:21 +07:00
hathach 400c2d2e50 correct led dfu_rt example
also add example usage note
2020-06-30 23:26:51 +07:00
hathach 0477446224 more clean up 2020-06-30 16:31:59 +07:00
hathach f3a88477dc revert rhport config in nxp mcus 2020-06-30 16:18:43 +07:00
hathach ab75998316 Merge branch 'master' into add-stm-hs 2020-06-30 01:55:57 +07:00
Ha Thach 05996aee64 Merge pull request #427 from kasjer/kasjer/add-da1469x-support
Support for DA1469x MCU from Dialog Semiconductor
2020-06-30 01:20:56 +07:00
Ha Thach 2b9466dbc0 Merge pull request #445 from hathach/add-kaluga-bsp
added esp32s2 kaluga bsp
2020-06-29 19:16:09 +07:00
hathach 2dff40236c add kaluga files 2020-06-29 18:40:23 +07:00
hathach 00104894dc update ci 2020-06-29 18:07:34 +07:00
hathach 50b569ad1b added esp32s2 kaluga bsp 2020-06-29 16:52:08 +07:00
Ha Thach 268ab9eaa8 Merge pull request #399 from duempel/redesign_synopsys_receive
Improvements to Synopsys EP OUT
2020-06-29 16:02:40 +07:00
Ha Thach 562c079cf4 Merge pull request #444 from jepler/same5x_bugfix
dcd_samd: Provide implementation for OPT_MCU_SAME5X
2020-06-26 14:40:57 +07:00
Ha Thach d489581deb Merge pull request #441 from hathach/add-same5x
added OPT_MCU_SAME5X option
2020-06-26 01:31:39 +07:00
hathach 504b152f88 update readme 2020-06-26 01:30:33 +07:00
Ha Thach d5bfb70b72 Merge pull request #442 from czeslawmakarski/pr/update-nrfx-to-nrfx-2.2.0
Update NRFX to v2.2.0
2020-06-25 13:45:27 +07:00
hathach d4d6e06c1d added OPT_MCU_SAME5X option 2020-06-24 00:53:17 +07:00
Ha Thach 1cb53dd23e Merge pull request #438 from UweBonnes/debug
examples/readme.md: Add hint to build for debug
2020-06-22 11:11:00 +07:00
Ha Thach bd41504f65 Merge pull request #433 from HiFiPhile/sof
Disable SOF in dcd_stm32_fsdev
2020-06-20 17:33:58 +07:00
Ha Thach 2b27eed01a Merge pull request #431 from HiFiPhile/unaligned
Fix IAR compiler warnings.
2020-06-17 17:24:40 +07:00
hathach 2b1c7730b7 fix hs port1 build with net endpoint 2020-06-16 00:53:06 +07:00
hathach 667eaa6dd6 fix stm32h743 priority with freeRTOS 2020-06-16 00:03:52 +07:00
hathach c67b3a242e update example config and descriptor with better Highspeed support 2020-06-15 23:34:09 +07:00
hathach 2dd1be13e5 Enhance EP FIFO allocation for both Fullspeed and Highspeed
- Update shared RX FIFO calculation with FS/HS
- IN FIFO EP
  - Interrupt -> use EPSize
  - Bulk/ISO  -> use  max(EPSize, remaining-fifo / non-opened-EPIN)
2020-06-15 23:17:49 +07:00
hathach e89fea8237 update midi 2020-06-15 23:09:43 +07:00
hathach 0bfa839ac0 clean up, update other example config 2020-06-15 23:06:17 +07:00
Ha Thach 8a67f81397 Merge pull request #430 from PanRe/fix-too-strict-iad-checks
Fix too strict checks on subclass and protocol entries of iad descriptor.
2020-06-14 19:31:32 +07:00
hathach f438aedccb overwrite setup packet 2020-06-14 18:29:38 +07:00
hathach 95966c2201 improve usbd log for control transfer 2020-06-14 18:29:02 +07:00
hathach a347de6e50 revert CFG_TUSB_RHPORT0_MODE to previous way 2020-06-14 18:28:45 +07:00
Ha Thach d9496256cf Update feature_request.md 2020-06-01 15:17:45 +07:00
Ha Thach 5a1c86d948 Update bug_report.md 2020-06-01 15:17:05 +07:00
hathach e92118635c adding speed detect on bus reset 2020-06-01 13:40:18 +07:00
hathach 710c54f8cb allow hs ep open with 512 bytes 2020-06-01 01:36:09 +07:00
hathach f771afe6af fixed EP0 size to 64 since LS is not supported in device mode
- set turn-around and report actual speed in Enum Done
- add dcd_event_bus_reset() helper to report speed
2020-05-31 23:43:29 +07:00
hathach 5ffba8536d able to detect as hs 2020-05-31 19:41:22 +07:00
Ha Thach 5efeaf2ac1 Merge pull request #413 from kasjer/kasjer/ble-over-usb
Bluetooth HCI transport over USB
2020-05-31 15:07:56 +07:00
Ha Thach 7258355e8e Merge pull request #424 from hathach/fix-idf-usb-pin-init
fix idf usb pin init changes
2020-05-29 14:07:37 +07:00
hathach e0490ae786 fix idf usb pin init changes 2020-05-29 13:06:33 +07:00
Ha Thach e9b41cb97d Merge pull request #421 from hathach/add-qualifier-descriptor
add get device qualifier descriptor
2020-05-28 23:34:42 +07:00
hathach d6d29897f3 add get device qualifier descriptor 2020-05-28 23:16:16 +07:00
Ha Thach b8783e10a9 Merge pull request #418 from hathach/enhance-usbd-driver-open
Enhance usbd driver open() API
2020-05-28 15:04:15 +07:00
hathach 53b749fd72 check max_len for vendor and hid 2020-05-28 14:44:26 +07:00
hathach fb214f7cf7 rename to drv_len to be consistent 2020-05-28 13:57:49 +07:00
hathach 10cd3f24bf initial transfer failed in open() shouldn't cause the driver open to fail. 2020-05-28 13:48:02 +07:00
hathach c1db36a15c update vendor open() 2020-05-28 12:19:06 +07:00