Commit graph

141 commits

Author SHA1 Message Date
sekigon-gonnoc
4e24f8ddcc
Merge pull request #100 from sekigon-gonnoc/swap-dpdm-option-2
Support swapped DP/DM pins
2023-10-04 22:29:10 +09:00
sekigon-gonnoc
4dc0f93b6d Update default config 2023-10-04 21:54:11 +09:00
sekigon-gonnoc
37a50cb27a Merge branch 'main' into swap-dpdm-option-2 2023-10-04 21:52:49 +09:00
sekigon-gonnoc
c7486f9b9f Update pio.h files 2023-10-04 21:52:14 +09:00
sekigon-gonnoc
48f7d9bb47 Use pin_dm explictly for bitmask 2023-10-04 21:47:52 +09:00
sekigon-gonnoc
52ebecb8b4 Naming tx programs based on pinout rather than transfer speed 2023-10-04 21:00:08 +09:00
sekigon-gonnoc
c563c5d734
Merge pull request #98 from devdtc/cpp-compat
Fix initializer syntax to not throw errors in C++.
2023-10-03 23:34:01 +09:00
sekigon-gonnoc
98275fe1dd Add argument pin_dm to receive pio program initialize 2023-10-03 23:13:05 +09:00
sekigon-gonnoc
a561e2bc8a
Merge pull request #92 from SpamixOfficial/main
fixed typo in README.md
2023-09-01 20:23:37 +09:00
Dan
952489b3bd Fix initializer syntax to not throw errors in C++.
C++ requires all fields to be specified for designated initializers, or
for none of them to be.
2023-08-28 22:41:52 -07:00
sekigon-gonnoc
d00a10a8c4
Merge pull request #93 from hathach/add-host-abort-transfer
add pio_usb_host_endpoint_abort_transfer()
2023-07-24 22:26:39 +09:00
hathach
100adcf9c8
add pio_usb_host_endpoint_abort_transfer() 2023-07-24 11:44:25 +07:00
SpamixOfficial
04a4160839
fixed typo in README.md 2023-07-22 17:31:22 +02:00
sekigon-gonnoc
5a7aa8d4e7
Merge pull request #91 from tannewt/circuitpython_usb_host
Remove need for alarm pool
2023-07-08 13:48:50 +09:00
Scott Shawcroft
13499d34b9
Remove need for alarm pool
Instead, expose SOF handler directly so it can be called from a loop
on core 1. Core 0 can do all of the higher level TinyUSB bits.

Mark more data and code as not in flash so core 1 can run from RAM
(and not be blocked by core 0 flash accesses.)
2023-07-07 15:40:35 -07:00
sekigon-gonnoc
58879cfa0e
Merge pull request #88 from hathach/host-sof-count
add pio_usb_host_get_frame_number()
2023-06-29 20:47:35 +09:00
hathach
f11c2d15f8
increased sof_count to 32bit 2023-06-29 10:30:40 +07:00
hathach
62f61d9ade
increase sof_count to 11-bit in SOF packet. add pio_usb_host_get_frame_number() 2023-06-29 09:40:24 +07:00
sekigon-gonnoc
9357706baa
Merge pull request #80 from lyusupov/main
make device_info.ino Arduino sketch applicable for Pico W
2023-04-17 16:51:56 +09:00
Linar Yusupov
d77166a3e2
make device_info.ino Arduino sketch applicable for Pico W 2023-04-17 07:42:59 +03:00
sekigon-gonnoc
9f73822481 Bump to 0.5.2 2023-04-08 13:25:41 +09:00
sekigon-gonnoc
8e88736f1d
Merge pull request #77 from rppicomidi/claim-sm-dma
Claim sm and dma
2023-04-07 22:53:36 +09:00
rppicomidi
95ab6fe024 Claim all DMA channels required 2023-04-07 06:35:29 -07:00
rppicomidi
056f0388bf Claim all PIO state machines required 2023-04-07 06:34:47 -07:00
sekigon-gonnoc
c3715ce94b
Merge pull request #70 from kilograham/fix_compile
Fix compilation on GCC11.3+ which don't typedef uint
2023-03-17 15:24:37 +09:00
graham sanderson
d77e61f0b7 Fix compilation on GCC11.3+ which don't typedef uint 2023-02-08 10:33:26 -06:00
sekigon-gonnoc
9ff3f52fd3
Merge pull request #69 from mikeDonahoe/bugfix/device_host_receive
discard first two bytes in usb_device_packet_handler USB_PID_OUT to o…
2023-02-01 20:07:59 +09:00
Mike Donahoe
b7ce5f9d88 discard first two bytes in usb_device_packet_handler USB_PID_OUT to only return payload 2023-01-30 20:54:18 -06:00
sekigon-gonnoc
83d1290e86
Merge pull request #62 from sekigon-gonnoc/resync-on-edge
Resynchronize clock phase on rising edge of dataline
2023-01-09 14:06:16 +09:00
sekigon-gonnoc
d7c523884d Bump to 0.5.1 2023-01-07 14:39:30 +09:00
sekigon-gonnoc
e5a3e862bd
Merge pull request #58 from hathach/fix-control-data-pid
fix control data & status stage always start with DATA1
2023-01-07 14:30:50 +09:00
sekigon-gonnoc
d540c434fe Fix vscode setting 2022-12-30 18:41:10 +09:00
sekigon-gonnoc
1c36aea288 Resyncronize clock phase on rising edge of dataline 2022-12-30 18:40:52 +09:00
hathach
e9869fcc8a
fix control data & status stage always start with DATA1 2022-12-22 19:09:41 +07:00
sekigon-gonnoc
034397eb0f
Merge pull request #57 from hathach/add-cpp-extern
add cpp extern when being included from a cpp file
2022-12-14 18:20:43 +09:00
hathach
babe70a97f add cpp extern when being included from a cpp file 2022-12-14 15:04:56 +07:00
sekigon-gonnoc
52805e6d92
Merge pull request #54 from hathach/fix-warnings
fix compiler warnings
2022-11-23 19:59:47 +09:00
hathach
005faa17ed
fix following warnings
-Wshadow -Wcast-align -Wredundant-decls -Wunused-function
2022-11-23 12:14:29 +07:00
sekigon-gonnoc
f78dc9b2c7
Update README.md
Fix #51
2022-10-28 20:07:01 +09:00
sekigon-gonnoc
04de247493
Merge pull request #48 from dglaude/patch-1
Broken link in readme
2022-10-28 20:06:00 +09:00
David Glaude
6233992910
Broken link
Could not find the filename with tinyusb, but this seems to be the closest match.
2022-09-24 21:44:24 +02:00
sekigon-gonnoc
22ab3090e3
Merge pull request #28 from Molorius/cmake-library
Created cmake file for this as a proper library.
2022-09-04 14:38:49 +09:00
Blake Felt
71aa21ea77 Merge remote-tracking branch 'upstream/main' into cmake-library.
Fixed merge conflicts.
2022-08-18 11:50:21 -06:00
sekigon-gonnoc
864a25a411
Merge pull request #42 from sekigon-gonnoc/fix/request-length
Fix #41
2022-07-09 17:59:53 +09:00
sekigon-gonnoc
821f57bd3a Fix #41 2022-07-09 17:57:12 +09:00
sekigon-gonnoc
92bd3b4c3a
0.5.0 2022-06-17 21:14:09 +09:00
sekigon-gonnoc
7f7db73cb6
0.5.0 2022-06-17 21:13:29 +09:00
sekigon-gonnoc
b376be5e1d
Merge pull request #35 from hathach/arduino-lib
Make Pico-PIO-USB compatible with Arduino library
2022-06-17 21:10:07 +09:00
hathach
646f2641cd add arduino example and arduino ci 2022-06-17 15:17:49 +07:00
hathach
7b98da86c8 make pico-pio-usb compatible with arduino lib
- rename example folder to examples, update ci accordingly
- added generated usb_rx/tx.pio.h
- added library.properties
2022-06-17 15:17:49 +07:00