Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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 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
hathach bec5b5f9da update usbtmc open() 2020-05-28 12:13:48 +07:00
hathach 13860e9f94 update net open() 2020-05-28 11:51:25 +07:00
hathach 8f560bf275 update midi open() 2020-05-28 11:41:37 +07:00
hathach 89a3d1f6d1 update hid open() 2020-05-28 11:19:12 +07:00
hathach 7a15d2e0d2 improve msc 2020-05-28 00:56:33 +07:00
hathach 2eeeda1bcf change signature for dfu runtime 2020-05-28 00:46:32 +07:00
hathach e340404968 changing usbd driver open() return type, add max_len
only done with cdc and msc, push this interim for feedback first
2020-05-27 19:01:59 +07:00
hathach d4bf777c94 try to get synopsys work with OTG HS + external PHY 2020-05-27 11:01:33 +07:00
hathach 227bffe04b adding h743 uart, but not enabled yet since it conflict with OTG_FS2 2020-05-27 01:14:52 +07:00
hathach b4804d1592 random clean up for tdi 2020-05-26 22:15:38 +07:00
hathach 0482f0d686 update h743eval with rhport=1 highspeed 2020-05-26 22:15:00 +07:00
hathach 947c3eb10d multiple port support for global otg base 2020-05-26 16:07:48 +07:00
hathach b7ab60aa44 suporting multiple port (OTG FS + HS) for stm32 2020-05-26 15:52:02 +07:00
hathach fad088719e merge CFG_TUSB_RHPORT1_MODE into CFG_TUSB_RHPORT0_MODE
each port is 1 byte for easy maintenance
2020-05-26 15:21:23 +07:00
hathach 62a746bdc7 wip 2020-05-26 12:18:36 +07:00
hathach ba9c774a2a board test work fine 2020-05-23 13:29:30 +07:00
Ha Thach de88294e05 Merge pull request #416 from hathach/fix-nrf-called-within-critical
fix nrf hanged (blocking wait) when called within critical section
2020-05-21 22:36:24 +07:00
hathach ff9994116e fix nrf hanged (blocking wait) when called within critical section 2020-05-21 21:22:12 +07:00
Ha Thach dc5445e2f4 Merge pull request #414 from hathach/add-queue-is-empty
added tud_task_event_ready()
2020-05-20 15:31:09 +07:00
hathach 8b66098335 fix freeRTOS logic 2020-05-20 15:21:11 +07:00
hathach a0fe3a80e7 remove queue lock/unlock per review 2020-05-20 15:09:46 +07:00
hathach d8a15aca77 remove osal_queue_t const qhdl from osal API
since it doesn't make any differences.
2020-05-20 14:38:34 +07:00
hathach 88a455a9b9 added tud_task_event_ready()
to check if there is pending events in the tud task without executing
it. Useful to check before entering low power mode with WFI/WFE
2020-05-20 14:31:45 +07:00
hathach 4e8d414bc6 added osal_queue_empty() API
ported for osal none/freertos/mynewt
2020-05-20 13:38:41 +07:00
Ha Thach 76bf96bcb0 Merge pull request #411 from hathach/fix-cast-align-warning
enable -Wcast-align
2020-05-18 13:21:37 +07:00
hathach 550746097b fix cast-align warning for nuc505 2020-05-18 13:03:41 +07:00
hathach a7db945cff temporariyly suppress cast-align warning for net_device and net example 2020-05-17 15:34:14 +07:00
hathach 1a8ce043ed enable -Wcast-align
suppress vendor sdk driver at board.mk
2020-05-17 14:24:15 +07:00
Ha Thach 17869f0999 Merge pull request #406 from k0d/stm32f746nucleo
Add support for stm32f746nucleo board
2020-05-15 15:54:12 +07:00
Ha Thach be9f938bd3 Merge pull request #405 from hathach/follow-pr404
Follow pr404
2020-05-14 16:18:20 +07:00
hathach 27299a5c47 add test for fifo size 2020-05-14 15:39:42 +07:00
hathach b0d49e55de refactor copy to and from fifo 2020-05-14 14:24:55 +07:00
hathach f445274634 add unit test for fifo write_n and read_n 2020-05-14 11:59:51 +07:00
Ha Thach 7a5c0ee802 Merge pull request #404 from HiFiPhile/tusb_fifo
Optimize tusb_fifo transfer speed.
2020-05-14 11:58:00 +07:00
Ha Thach 4e6aa0d81d Merge pull request #390 from hathach/detect-nrf-softdevice
detect if SD is actually present on the flash using SD magic
2020-05-12 14:35:45 +07:00
Ha Thach 16a3f0a27a Update bug_report.md 2020-05-09 17:56:12 +07:00
Ha Thach 71e1609ff3 Merge pull request #398 from HiFiPhile/iar
Add IAR EWARM compiler attribute and endian support.
2020-05-08 23:55:43 +07:00
Ha Thach e6d946123c Merge pull request #395 from hathach/define-log-printf
add CFG_TUSB_DEBUG_PRINTF() for log retargeting
2020-05-08 14:48:20 +07:00
hathach eeb076454b add CFG_TUSB_DEBUG_PRINTF() for log retargeting 2020-05-08 12:56:32 +07:00
Ha Thach f9f0873b72 Merge pull request #393 from xobs/fix-debug-warning
device: fix build warning when CFG_TUSB_DEBUG >= 2
2020-05-08 12:38:50 +07:00
Ha Thach 286ff03ffa Merge pull request #391 from kasjer/kasjer/stm32l476disco-clock-configuration
stm32l476disco clock configuration
2020-05-07 16:19:13 +07:00
Ha Thach 04c20ff74c Merge pull request #392 from kasjer/kasjer/change-package-type-to-sdk
Change mynewt package type to sdk
2020-05-07 16:13:00 +07:00