Commit Graph
100 Commits
Author SHA1 Message Date
hathach 785cdf67f0 default PYTHON to python3 on linux, and python on windows 2021-09-07 17:43:45 +07:00
hathach f47e5402fa add msc workaround for cxd56 2021-09-07 13:30:51 +07:00
hathach fa030075c2 Revert "Fix for MSC during stage STATUS"
This reverts commit 2e23f3dd72.
2021-09-06 19:26:28 +07:00
Ha Thach cbb6dfd6a5 Merge pull request #1070 from kamtom480/msc_stage_status_fix
Fix for MSC during stage STATUS
2021-09-06 13:08:29 +07:00
Ha Thach 831a45f14b Merge pull request #1065 from hathach/rp2040-compliance
Rp2040 compliance test
2021-09-01 20:18:01 +07:00
hathach d4c56c70a8 minor clean up 2021-09-01 20:01:40 +07:00
hathach d6e9fe38be rp2040 implement dcd_edpt_close_all()
aslo rename reset_ep0_pid() and clean up. We only need to reset pid when
setup packet received
2021-09-01 19:44:12 +07:00
hathach 1398226bb5 only attempt to clear if stalled, and stall if cleared 2021-09-01 16:54:03 +07:00
hathach 15fa2f447b add back edpt check before cbw, since bot reset can occurred any time 2021-09-01 16:53:12 +07:00
hathach fc889ece74 rp2040 correct ep set/clear stall
- stall will remove pending (not complete) transfer. Correct reset data
toggle when clear stall.
- remove buf ctrl debug code
2021-09-01 16:52:27 +07:00
hathach 90dc9bc289 revert previous changes, edpt stall also clear any pending (not complete) transfer 2021-09-01 12:42:45 +07:00
hathach ab0c3e8dd0 fix rp2040 chapter 9 TD 9.6 test 2021-08-31 17:41:08 +07:00
hathach d047b28aa2 remove set/clear busy flag in set/clear stall since they are different status
note: dcd should resume to prio-stalled queued transfer when unstall
2021-08-31 17:39:54 +07:00
Ha Thach e2175f6ed1 Merge pull request #1061 from hathach/samd-compliance
Update SAMD to pass USBCV
2021-08-31 17:00:42 +07:00
hathach 76345ea3a1 clear stall and reset data toggle when open edpt
required to pass one of msc test.
2021-08-31 16:41:45 +07:00
Ha Thach 1a1bcd816c Merge pull request #1060 from HiFiPhile/cv_hid
USBCV: fix HID_LOGICAL_MAX overflow.
2021-08-31 16:41:30 +07:00
Ha Thach 38f5aee9c3 Merge pull request #1058 from hathach/usbcv-compliant-test
nrf5x USB Compliance Verification Test suite
2021-08-30 17:31:50 +07:00
hathach 36dc25a22d changelog 2021-08-30 15:01:12 +07:00
Ha Thach e72d48ee29 Update changelog.rst 2021-08-30 13:40:01 +07:00
Ha Thach 8029fb16cd Merge pull request #1056 from hathach/release-0.11.0
increase version and update changelog
2021-08-30 13:37:50 +07:00
Ha Thach 4874afb272 Merge pull request #1049 from mws-rmain/master
Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
2021-08-30 12:45:02 +07:00
hathach 6fadf530e0 increase version and update changelog 2021-08-30 12:44:38 +07:00
hathach a05ea0d83b add CFG_EXAMPLE_MSC_READONLY for curiosity
allow family/board to exclude specific example. exclude
net_lwip_webserver from curiosity.
2021-08-29 22:53:16 +07:00
Ha Thach bc4145fcb4 Merge pull request #1033 from hathach/merge-waveshare-h7
merge waveshare to h7 family
2021-08-29 22:14:46 +07:00
Ha Thach 4492a7021c Merge branch 'master' into merge-waveshare-h7 2021-08-29 21:49:10 +07:00
hathach 6159252692 disable systick when running freertos on other stm families 2021-08-29 21:34:10 +07:00
hathach 00e66cf2e0 remove old openh743i, explicitly disable systick when using freertos for H7 2021-08-29 21:26:47 +07:00
Ha Thach 3195929596 Merge pull request #1055 from xcguang/bugfix/bth_stridx_error
fix: bth stridx error
2021-08-29 20:48:42 +07:00
Ha Thach d1ccb9b86b Merge pull request #1054 from a-h/master
Minor grammar updates
2021-08-29 16:07:28 +07:00
hathach fdf1ff545f responding with status per-spec in test case 4 2021-08-29 15:44:27 +07:00
hathach 4e3ed8159e passed all USBCV bot complaince test 2021-08-29 13:34:47 +07:00
hathach ee18cc42f2 msc handle more test, passed Command Self Test compliant 2021-08-29 12:06:10 +07:00
hathach ad21b69277 fix nrf clear data toggle sequence when clearing stall 2021-08-29 12:05:34 +07:00
hathach 66c292e2ec fix a couple of nrf dcd issue
- limit out xact dma to prevent usbd overflow in certain situation after
stalled
- drained already acked data when stalling an OUT endpoint
2021-08-29 00:34:21 +07:00
hathach be98cd56c7 update msc to be more robuse
add more log, pass more complaint test
2021-08-29 00:29:29 +07:00
hathach 54013737d5 fix msc example with out of bound lba (due to compliant test) 2021-08-28 20:26:56 +07:00
hathach a53839ef44 correct msc example return type of tud_msc_scsi_cb() 2021-08-28 01:23:20 +07:00
hathach 53ea1e1324 fix msc test case 8 and 10 2021-08-27 23:52:59 +07:00
hathach c6b9f8a530 fix msc case 3 complaint test 2021-08-27 23:33:11 +07:00
hathach 8bad0af849 explicitly clear stall and data toggle for edpoint upon open() 2021-08-27 22:31:08 +07:00
hathach 81c73c235f implement dcd_edpt_close_all() for nrf52840 2021-08-27 22:30:30 +07:00
hathach e01239ccc9 more msc refactoring 2021-08-27 20:05:56 +07:00
hathach 2667ce6981 fix BOT case 2 test compliant 2021-08-27 17:50:02 +07:00
hathach 893dceb198 refactor msc device 2021-08-27 17:30:02 +07:00
hathach 032770682e minor clean up 2021-08-27 13:18:51 +07:00
hathach 9394de6ae7 update msc driver to pass MSC BOT error recovery compliant test 2021-08-27 12:38:41 +07:00
hathach 629da937f8 slightly change the keyboard descriptor template to pass usb compliant test 2021-08-26 17:55:31 +07:00
hathach ed4602158b TD 9.12 remote wakeup test
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid
examples
2021-08-26 17:08:22 +07:00
hathach 71e77e47fa add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
2021-08-26 17:07:03 +07:00
hathach 07adc26ce3 fix usbcv TD 9.4 Interface Descriptor test 2021-08-26 13:07:10 +07:00
Ha Thach 8d97f0e81f Merge pull request #1041 from HiFiPhile/vdc
Fix vendor fifo deadlock, add tud_vendor_n_read_flush
2021-08-25 23:22:15 +07:00
Ha Thach 155c186b17 Merge pull request #1047 from hathach/host-hid-controller
Add host hid controller example
2021-08-25 12:39:51 +07:00
hathach 3debeb637a test hid controller with rp2040 2021-08-24 21:34:51 +07:00
hathach 3c0c051df1 add tuh_vid_pid_get()
complete Sony PS4 dualshock controller example
2021-08-24 19:10:23 +07:00
hathach 88bb8fac3d rename host API to be consistent with naming on device stack
- tuh_device_get_speed() to tuh_speed_get()
- tuh_device_configured() to tuh_mounted()
- tuh_device_ready() to tuh_ready()
2021-08-24 12:37:04 +07:00
Ha Thach 9c3fdb8135 Merge pull request #1043 from hathach/more-host-improvement
More host improvement
2021-08-24 12:28:41 +07:00
Ha Thach fc2ffed5c6 Merge pull request #1044 from nxf58843/feature-k32l2b
Feature k32l2b
2021-08-24 12:20:07 +07:00
hathach 5d152503ee fix dev0 out of bound array due to leftover 2021-08-24 12:16:23 +07:00
hathach 8dc16dd3a7 fix rp2040 build 2021-08-24 01:19:06 +07:00
hathach 353c070d00 exclude dev0 from usbh devices pool 2021-08-24 01:06:05 +07:00
hathach 3309425211 sepearate CFG_TUH_DEVICE_MAX and CFG_TUH_HUB
separate dev0 from _usbh_devices pool to save sram
2021-08-23 19:56:53 +07:00
hathach 75cd593b60 add hcd_devtree_get_info()
remove usbh_hcd.h
2021-08-23 17:00:41 +07:00
hathach a490a3fe61 add hcd attr, add note for ehci framelist on NXP derivative 2021-08-23 15:40:57 +07:00
hathach 4ca176c291 refactor ehci init api 2021-08-23 12:37:54 +07:00
hathach 6a16f6ccdd rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAX 2021-08-23 11:01:40 +07:00
hathach 800f85329e add tuh_hid_receive_report() for applicaiton to explicitly request report 2021-08-23 11:00:21 +07:00
Ha Thach ea902493db Merge pull request #1038 from HiFiPhile/nuc
nuc126: fix set_address & disable sof
2021-08-23 10:57:59 +07:00
Ha Thach 58477b71f2 Merge pull request #1035 from hathach/improve-host-stack
Improve host stack
2021-08-20 22:21:30 +07:00
hathach beb1a5c678 minor clean up 2021-08-20 19:39:33 +07:00
hathach 22a5b1608c change host driver open return type to bool
the descriptor len used by driver will be calculated by usbh
2021-08-20 19:31:38 +07:00
hathach 97703587d9 improve host configuration parsing
- remove driver class code binding
- fully support IAD
- auto calculate total length for interface descriptor for driver
2021-08-20 19:08:38 +07:00
hathach 62f2efbe8c hid host skip get report descriptor if too large instead of assert 2021-08-20 18:26:56 +07:00
hathach 1cef2b6a42 extra common edpt helper for device and host stack
tu_edpt_validate() and tu_edpt_bind_driver()
2021-08-20 18:01:10 +07:00
Ha Thach aab133ac69 Merge pull request #1027 from kkitayam/remove_redundant_from_renesas
Remove redundant SOF processing from the Renesas RX family.
2021-08-20 01:07:57 +07:00
Ha Thach 219d186c4d Merge pull request #1034 from hathach/group-f1
Group f1
2021-08-19 19:44:01 +07:00
hathach eda5b92e92 whitespace 2021-08-19 19:13:47 +07:00
hathach 4b72ad9b9f add f1 to ci build 2021-08-19 18:54:53 +07:00
hathach 175a6fbc5f rename to stm32f103_bluepill 2021-08-19 18:53:55 +07:00
hathach ebfd65a9ca add stm32f103 mini v2.0 board 2021-08-19 18:51:51 +07:00
hathach 1992f49343 group stm32f1 board 2021-08-19 18:02:16 +07:00
hathach a9279ece33 merge waveshare to h7 family 2021-08-19 17:27:53 +07:00
Ha Thach c4a9a04d67 Merge pull request #1025 from hathach/add-hid-boot-example
add hid_boot_interface example
2021-08-19 11:24:10 +07:00
Ha Thach 3a248951e2 Merge pull request #1024 from HiFiPhile/nuc
Fix nuc126 buffer copy with IAR
2021-08-18 19:14:03 +07:00
Ha Thach 830757d9ce Merge pull request #1020 from hathach/rp2040-disconnect-suspend
Add Rp2040 suspend & resume support
2021-08-18 16:45:35 +07:00
hathach 3e8276846e correct usb memcpy for nuc120 as well 2021-08-18 16:38:13 +07:00
Ha Thach 0411810bc0 Merge pull request #1026 from hathach/suspend-resume-followup
skipped suspend/resume if not connected
2021-08-17 17:29:13 +07:00
hathach 9b869463dd skipped suspend/resume if not connected 2021-08-17 17:00:53 +07:00
hathach c050612142 fix ci build 2021-08-17 13:33:15 +07:00
hathach a6d18c400d fix keyboard report reserved is always 0 2021-08-17 13:29:26 +07:00
hathach 5f6418ccd7 add hid_boot_interface example 2021-08-17 13:21:24 +07:00
Ha Thach 7cbb11a86c Merge pull request #992 from majbthrd/net_example_pbuf
net_lwip_webserver: utilize pbuf_copy_partial()
2021-08-17 11:56:54 +07:00
Ha Thach 02277133ae Merge pull request #1023 from hathach/nrf-suspend-resume
nRF52 Implement suspend, resume, remote wakeup
2021-08-16 20:40:56 +07:00
hathach 26d347be17 add note for renesas rx remote wakeup 2021-08-16 20:24:07 +07:00
hathach ab2eec77d4 complete suspend, resume, remote wakeup for nrf52 2021-08-16 20:22:14 +07:00
Ha Thach 2bb63406e9 Merge pull request #959 from KarlK90/gd32vf103-support-tiny-usb
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support
2021-08-15 18:50:00 +07:00
hathach c4a6a5ccb7 skip freertos example for gd32vf103 2021-08-15 17:56:04 +07:00
hathach 73f8fae036 change toolchain to riscv-none-embed-gcc-xpack for ci 2021-08-15 17:28:14 +07:00
hathach 37d9f940ee add gd32vf103 to riscv ci 2021-08-15 17:21:31 +07:00
hathach 09e4348adc move gd32vf103 to its own family 2021-08-15 17:19:25 +07:00
Ha Thach 48f17efa77 Merge pull request #1021 from tringis/fix-synopsys-change-addr
Fix dcd_set_address bug when called more than once
2021-08-14 01:59:38 +07:00