graham sanderson
26c4d4b328
Minor cleanup of RP2040 code post addition of Pico-PIO_USB
...
* Removed some compiler warnings, and cleaned out unnecessary warning suppression from CMake suppress_tinyusb_warnings()
* Made explicit family_configure_dual_usb_example() for DUAL mode examples as family_configure_target() may not generally be called multiple times for the same target
* Renamed library pico_pio_usb to tinyusb_picio_pio_usb to be clearer and avoid conflict if someone already has a pico_pio_usb in their project
* Added family_add_pico_pio_usb() method for adding Pico-PIO_SUB support to an existing example
* Allowed tinyusb_pico_pio_usb to be added to regular apps using the Pico SDK
2022-05-20 17:25:30 -05: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
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
caleb crome
f19d913b5d
set irq priority for freertos
2022-05-05 22:29:12 -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
Grant Slater
35d1a71ed7
GH Update to actions/checkout@v3
2022-04-24 16:49:29 +01:00
Grant Slater
3a1c7339cd
Replace actions/setup-ruby with replacement ruby/setup-ruby
2022-04-24 16:48:49 +01: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