Commit Graph
100 Commits
Author SHA1 Message Date
hathach 06392247eb add TU_ATTR_FAST_FUNC for audio sof isr call chain 2022-06-07 11:50:50 +07:00
Ha Thach a03a03d74e Merge pull request #1495 from hathach/enhance-tusb-config
Better support multiple controllers configuration
2022-06-07 01:13:08 +07:00
hathach 7c8278303b update all host examples 2022-06-06 23:16:49 +07:00
hathach 9794a2b865 more example update 2022-06-06 22:41:04 +07:00
hathach f4c80dd218 clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE 2022-06-06 17:35:17 +07:00
Ha Thach afd9b1883d Merge pull request #1481 from cr1901/msp430-misopt-fix
msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.
2022-06-06 15:37:45 +07:00
hathach 1b08672945 more ci fix 2022-06-06 13:25:48 +07:00
hathach 7187cd9a85 fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsp 2022-06-06 12:51:10 +07:00
hathach f626916a57 update all dwc2 ports to support new dynamic controller support 2022-06-04 23:52:12 +07:00
hathach 31134f41a1 make dwc2 stm32 rhport support dynamic 2022-06-03 17:24:28 +07:00
hathach 2571211957 remove static port defined for device/host 2022-06-03 11:32:09 +07:00
hathach 8b9cf152a0 rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
hathach 99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
Ha Thach b6a8d0dd71 Merge pull request #1485 from tfx2001/patch-1
Fix compile error
2022-06-01 23:26:57 +07:00
Ha Thach d1d6bd2831 Merge pull request #1483 from hathach/clean-rp2040-net-example
remove cmake compile macro for net example (use lwipopts.h instead)
2022-06-01 16:17:46 +07:00
hathach ea8a9e0249 remove cmake compile macro for net example (use lwipopts.h instead) 2022-06-01 15:10:05 +07:00
Ha Thach fd8afc7e3b Merge pull request #1454 from Iktek/bugfix_1453
overwrite grstctl on edpt_disable
2022-06-01 14:36:36 +07:00
hathach 6e7cd220dc grstctl set fifo + flush in one assign 2022-06-01 13:18:24 +07:00
Ha Thach 9352f75220 Merge pull request #1438 from Nikitarc/master
Update dwc2_stm32.h
2022-06-01 12:23:32 +07:00
Ha Thach fdeac8508b Merge pull request #1381 from hathach/add-sof-isr
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
Ha Thach ab7c23a787 Merge pull request #1479 from M3gaFr3ak/master
Fix printf long int compiler error
2022-05-31 21:53:29 +07:00
hathach e384d16d57 clean up tud_audio_set_itf_cb() invocation 2022-05-31 21:52:54 +07:00
Ha Thach 223aaeaecd Merge pull request #1463 from hathach/sof-isr-update
changes proposal to audio feedback computation
2022-05-31 20:57:07 +07:00
hathach f2926670cc comment out fifo count method for now 2022-05-31 20:26:37 +07:00
Ha Thach f4efb51fe2 Merge pull request #1477 from cr1901/fix-subm
Remove lib/Pico-PIO-USB, which has moved to hw/mcu/raspberry_pi/Pico-PIO-USB. Fixes #1475.
2022-05-28 00:11:43 +07:00
hathach dce2ad4ffb adding feedback fifo count (WIP) 2022-05-27 23:11:25 +07:00
hathach 15aa593790 wrap feedback and compute to its own struct/union 2022-05-27 12:27:31 +07:00
Ha Thach 7b1344fe69 Merge pull request #1467 from kilograham/rp2040_cleanup
Minor cleanup of RP2040 code post addition of Pico-PIO-USB
2022-05-26 23:54:20 +07:00
Ha Thach c1ae13b997 Merge pull request #1473 from sknebel/patch-1
fix links in docs
2022-05-25 22:55:33 +07:00
Ha Thach 0a4a28a90c Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixes
pic32 sanity fixes
2022-05-24 20:42:06 +07:00
hathach e5113a1cfc prototype for feedback method 2022-05-19 16:05:55 +07:00
hathach 5766c9ac4e rename tud_audio_sof_isr() to tud_audio_feedback_interval_isr()
- also add interval_log2 to isr callback
- also rename other variables
2022-05-19 13:44:10 +07:00
Ha Thach c2bcda86e2 Merge pull request #1412 from hathach/pio-host
PIO USB support
2022-05-16 16:29:20 +07:00
hathach e0e9426c2a print addres of mouse input 2022-05-16 16:00:15 +07:00
hathach 4586d8f119 add upstream Pico-PIO-USB 2022-05-16 13:44:06 +07:00
hathach be2a51316c remove pico-usb fork 2022-05-16 13:29:12 +07:00
hathach 20b810d25b fix ci build 2022-05-13 23:01:06 +07:00
hathach c5ba1ea8c1 changes proposal to audio feedback computation 2022-05-13 22:54:47 +07:00
hathach f09df55ab9 clean up example 2022-05-11 15:40:02 +07:00
hathach 8bd923f5f1 sync with pio usb 2022-05-11 00:37:45 +07:00
hathach 8473ca16fb clean up 2022-05-10 22:56:06 +07:00
hathach 35b77a4a81 cmake lib rename 2022-05-10 22:14:00 +07:00
hathach 717a474125 move pio-usb init to family_configure_pio_usb_example() to stay compatible 2022-05-10 21:56:47 +07:00
hathach 993f7b6a2c include dual examples to ci 2022-05-10 13:15:07 +07:00
hathach e3b57cea05 rename host/hid_to_cdc to dual/host_hid_to_device_cdc 2022-05-10 13:01:28 +07:00
hathach 26ee622222 move pio usb files to src 2022-05-10 12:51:48 +07:00
hathach 79b5ab822e fix incorrect total number of interface 2022-05-06 17:22:52 +07:00
Ha Thach d23c9b7cd6 Merge pull request #1460 from ccrome/chc-fix-freertos-irq-imx
set irq priority for freertos
2022-05-06 13:04:41 +07:00
hathach c289438b75 fix ci build 2022-04-29 23:03:52 +07:00
hathach 0b30a10ab3 configure hid_to_cdc example to build with rp2040 with pio usb as host 2022-04-29 22:24:36 +07:00
hathach 608577e05c update pio 2022-04-29 18:05:50 +07:00
hathach 85dcb73774 more clean up 2022-04-28 18:00:30 +07:00
hathach a72d4e2462 make hcd_event_handler() fastfunc, and force inline other helper 2022-04-27 20:54:21 +07:00
hathach ae5490e5a5 clean up 2022-04-27 20:52:56 +07:00
hathach 4a661dead0 add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section 2022-04-27 17:57:52 +07:00
hathach fd827a80a9 everything work great 2022-04-27 01:09:30 +07:00
hathach 455bddddcd minor clean up 2022-04-26 18:47:09 +07:00
hathach 4d11c658ff improve pio usb endpoint handler 2022-04-26 13:08:03 +07:00
Ha Thach 6ec5174d8b Merge pull request #1444 from Firefishy/gh-action-use-replacement-ruby
Gh action use replacement ruby
2022-04-26 01:05:33 +07:00
hathach 26a25279bc follow pio usb changes 2022-04-26 00:35:16 +07:00
hathach 2f9b9a31be more with pio usb 2022-04-22 18:26:58 +07:00
hathach 12debd7763 keep up with pio usb 2022-04-22 01:06:17 +07:00
hathach 98bbb0d402 Merge branch 'master' into pio-host 2022-04-21 12:05:22 +07:00
hathach 328039058e update lib pio 2022-04-21 01:45:03 +07:00
Ha Thach 55a5fd59d7 Merge pull request #1440 from hathach/osal-queue-timeout
Osal queue timeout
2022-04-20 23:32:50 +07:00
hathach 87572871d5 update example for better cdc echo 2022-04-20 18:52:15 +07:00
hathach 6a022c73db add note for tud_task() behavior in freertos example 2022-04-20 18:35:38 +07:00
hathach b034c18077 add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00
hathach ccafb42c82 disable blank issues, add online docs link 2022-04-20 14:40:55 +07:00
hathach 669e36d674 fix freertos issue when 1 tick > 1 ms 2022-04-20 14:37:42 +07:00
hathach a90839688c add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both pending for event queue with timeout of 1 ms 2022-04-20 13:25:38 +07:00
hathach a32cb1bb93 clean up pio driver 2022-04-18 17:49:21 +07:00
hathach b5a9537eea support pio dcd endpiont stall 2022-04-16 01:19:51 +07:00
hathach 00a0e3f21b update lib pio 2022-04-15 20:14:47 +07:00
hathach 05bfc1a9eb pio device works well 2022-04-15 01:04:12 +07:00
hathach cc5a4720e5 catch up with pio lib 2022-04-14 22:00:47 +07:00
hathach d5d4909c20 proof of concpet that device pio-usb work with host pio-usb 2022-04-08 13:36:05 +07:00
hathach d97c154695 add need_pre for pio usb, but not work out well 2022-04-05 00:04:47 +07:00
hathach d7d7e61f34 correct pio usb speed, and close device 2022-04-03 22:48:08 +07:00
hathach 7ea75d3c09 use pio usb host init 2022-04-03 20:44:16 +07:00
hathach f6851cf187 clean up hcd pio 2022-04-03 00:17:58 +07:00
hathach f881e77e66 extracting hw root port 2022-04-02 19:19:00 +07:00
hathach c25f835aea update to use pio hw endpoint 2022-04-01 23:31:43 +07:00
hathach db6cba6a7b rename pio to pio_usb 2022-04-01 16:38:41 +07:00
hathach e6e3dfedc8 hid example work well 2022-04-01 16:34:36 +07:00
hathach 75bca96bc6 pio usb control work well including stall response 2022-04-01 16:01:24 +07:00
hathach e94d11a5b3 implement pio_usb_irq_handler 2022-03-31 12:56:53 +07:00
Ha Thach 9c8c5c1c53 Merge pull request #1413 from perigoso/perigoso-patch-1
Fix docs
2022-03-30 22:38:30 +07:00
hathach e2f0aef93b make use pio_usb_port_reset_start/end 2022-03-30 16:41:55 +07:00
hathach 65b6b79e99 clean up and comment out tud_sof_isr_set 2022-03-29 16:53:45 +07:00
Ha Thach edd8eb3279 Merge pull request #1409 from hathach/remove-pycache
remove cxd56 __pycache__ folder
2022-03-28 14:47:41 +07:00
hathach 735300b53c remove cxd56 __pycache-_ folder 2022-03-28 12:47:32 +07:00
hathach 45052c625e Merge branch 'master' into pio-host 2022-03-20 00:51:00 +07:00
Ha Thach ae531a79f6 Merge pull request #1403 from hathach/host-edpt-xfer
Host edpt xfer
2022-03-20 00:17:39 +07:00
hathach a270d8d623 move code around 2022-03-19 15:06:12 +07:00
hathach 821be65b03 rename usbh_edpt_open() to tuh_edpt_open() 2022-03-19 14:59:31 +07:00
hathach a4b976f095 get bare example working with hid device 2022-03-19 14:57:43 +07:00
hathach 4795cca04a add parse config descriptor to example
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-19 00:43:31 +07:00
hathach ba1185bf28 implement tuh_edpt_xfer() for non-control 2022-03-18 22:22:21 +07:00
hathach 9ae0304b1e move code around 2022-03-18 18:04:25 +07:00