Skip to content

Upstream synchronization #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 171 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
2ddd74f
Add MIDI host support to tinyusb
rppicomidi Aug 12, 2022
70eefcb
Add hooks to allow cloning an attached USB device descriptor
rppicomidi Aug 25, 2022
3325e26
Make USB MIDI device code allow a device with no Audio Control interface
rppicomidi Aug 25, 2022
4fbf996
Get rid of implicit uint conversions
atoktoto Sep 8, 2022
19563b4
Simple MIDI rx example
atoktoto Sep 8, 2022
81de7f3
Add Makefile for the midi host example
atoktoto Sep 11, 2022
0763bc5
Fix printf statement
atoktoto Sep 11, 2022
c14e3e2
Fix unused errors when LOG=0
atoktoto Sep 11, 2022
a6d4b64
Removed unused function prototype
atoktoto Oct 2, 2022
21e003a
Added explicit conversions
atoktoto Nov 13, 2022
0a844f2
Fix usb hubs
atoktoto Nov 19, 2022
375e822
Merge branch 'hathach:master' into midihost
atoktoto Nov 19, 2022
34729b1
Fix usb-hub data transfer problems by AndrewCapon
atoktoto Nov 21, 2022
3ba0311
Explicit type conversion
atoktoto Nov 21, 2022
89eac75
Explicit type conversion
atoktoto Nov 21, 2022
b41f5ea
Merge branch 'master' into midihost
atoktoto Nov 21, 2022
15b1623
add hid stylus pen device.
jay94ks Dec 23, 2024
7e59b59
Update hid_device.h
jay94ks Dec 23, 2024
b029c94
Modified example app.
jay94ks Dec 23, 2024
eb1c2b8
trimed trailing whitespaces.
jay94ks Dec 23, 2024
5c4e4b1
modified invalid marked unit exponent.
jay94ks Dec 23, 2024
8022477
dcd_pic: add readme
ReimuNotMoe Dec 26, 2024
99e6b32
dcd_pic: change license header and credit people accordingly
ReimuNotMoe Dec 26, 2024
8907a81
dcd_pic: handle bus resume correctly
ReimuNotMoe Dec 26, 2024
f409472
dcd_pic: handle remote wakeup more correctly
ReimuNotMoe Dec 26, 2024
0192b2a
dcd_pic: implement dcd_deinit()
ReimuNotMoe Dec 26, 2024
6e11406
dcd_pic: handle EP0 timeout/stall correctly
ReimuNotMoe Dec 26, 2024
a416911
dcd_pic: let the user manage shared GPIO/VBUS pin
ReimuNotMoe Dec 26, 2024
655092d
dcd_pic: check USBBUSY bit on PIC32s
ReimuNotMoe Dec 26, 2024
19b6baa
Fix potential out of bounds access in msc_disk.c
PwnVerse Jan 9, 2025
b91d5eb
rp2040 correct dcd_edpt_iso_activate
pschatzmann Jan 4, 2025
c8130af
bump up cmake min to 3.20
hathach Jan 3, 2025
91214b4
zephyr
hathach Jan 16, 2025
6080f89
- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR co…
hathach Jan 22, 2025
586d284
Merge branch 'master' into patch-1
HiFiPhile Jan 22, 2025
bd08753
Fix CI.
HiFiPhile Jan 22, 2025
19d28a9
Fix also cdc_msc example.
HiFiPhile Jan 22, 2025
597446f
Merge pull request #2939 from PwnVerse/patch-1
HiFiPhile Jan 22, 2025
31071cc
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR
hathach Jan 23, 2025
0162d6a
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR
hathach Jan 23, 2025
9f45e25
msc_dual_lun and cdc_msc work with zephyr on pca10056
hathach Jan 23, 2025
5ca3822
stm32: fix conditional compilation error when not using uart
Jan 23, 2025
201b970
try build zephyr with ci
hathach Jan 23, 2025
b53801a
add cmake RTOS=zephyr (default noos) for zephyr build
hathach Jan 24, 2025
13856af
add -DRTOS=zephyr to ci west build
hathach Jan 24, 2025
1003aba
use board alias for pca10056
hathach Jan 25, 2025
dc514c6
use board alias for pca10056
hathach Jan 25, 2025
6b3a595
cmake remove EXAMPLE-tinyusb target as library
hathach Jan 25, 2025
8c7998b
fix ci
hathach Jan 25, 2025
f6f02f1
correct offset check logic
hathach Jan 25, 2025
37e6f49
Merge pull request #2964 from hathach/fix-2939
hathach Jan 25, 2025
7641060
Merge branch 'master' into zephyr-support
hathach Jan 25, 2025
882cb14
update cmake.xml
hathach Jan 25, 2025
0d4f945
Merge pull request #2962 from hathach/zephyr-support
hathach Jan 25, 2025
67f0d61
Merge branch 'master' into master
HiFiPhile Jan 27, 2025
eca025f
Merge pull request #2959 from ho-ho-ho/master
HiFiPhile Jan 27, 2025
f7fa4d0
ch32v3 fs: signal bus speed
JannisKonradBecker Feb 5, 2025
efd2934
fix build for 407blackvet
hathach Feb 6, 2025
99b6e97
Merge pull request #2979 from hathach/fix-407blackvet
hathach Feb 6, 2025
169d2d7
use speed enum
JannisKonradBecker Feb 6, 2025
7282572
skip iar build for forked PR
hathach Feb 6, 2025
9c093a3
Merge pull request #2981 from hathach/skip-iar-forked-pr
hathach Feb 6, 2025
7df510e
Merge branch 'master' into fork/JannisKonradBecker/master
hathach Feb 6, 2025
2a3025e
Merge pull request #2976 from JannisKonradBecker/master
hathach Feb 6, 2025
3ffe8db
fix stringop-overread warning for msc device with memmove
hathach Feb 7, 2025
cd0ca48
Merge branch 'refs/heads/master' into fork/jay94ks/styluspen
hathach Feb 7, 2025
a232644
add full hid usage for Digitizer Page (0x0D), move thing around a bit.
hathach Feb 7, 2025
35e9f03
Merge pull request #2911 from jay94ks/styluspen
hathach Feb 7, 2025
09bce35
Add CMake presets.
HiFiPhile Feb 8, 2025
1208f88
Sort list (bettter for Clion)
HiFiPhile Feb 9, 2025
24b2abb
Merge pull request #2982 from hathach/fix-stringop-overread-warning
hathach Feb 10, 2025
457c2b5
Merge pull request #2914 from ReimuNotMoe/master
hathach Feb 11, 2025
f23bef5
update IAR LMS CLOUD
hathach Feb 11, 2025
bb48e6a
Merge pull request #2988 from hathach/update-iar-cloud-lms
hathach Feb 11, 2025
5a39bcf
remove freeeRTOSConfig in examples
hathach Feb 11, 2025
f1ce491
update make to use FreeRTOSConfig in family instead of examples
hathach Feb 11, 2025
3560ed3
remove board_mcu.h
hathach Feb 11, 2025
5afcfb7
Merge pull request #2989 from hathach/rtos-house-keeping
hathach Feb 11, 2025
14f1fea
Fix path.
HiFiPhile Feb 11, 2025
87adc63
Merge branch 'master' into fork/atoktoto/midihost
hathach Feb 12, 2025
85247e5
clean up
hathach Feb 12, 2025
294fb26
pre-commit fix
hathach Feb 12, 2025
7c40523
fix host midi build
hathach Feb 12, 2025
86d371f
more ci fix
hathach Feb 12, 2025
e0b192b
- use CFG_TUH_MIDI as number of midi host instance
hathach Feb 12, 2025
bad6cbe
update midi host to use endpoint stream API
hathach Feb 13, 2025
ed88fc9
- remove tuh_midi_read_poll(), auto schedule EP in when set_config() …
hathach Feb 14, 2025
31a2696
- change signature of tuh_midi_mount/umount_cb()
hathach Feb 14, 2025
9d2fd6c
Merge pull request #2984 from HiFiPhile/preset
hathach Feb 14, 2025
997771f
- rename tuh_midi_stream_flush() to tuh_midi_write_flush()
hathach Feb 14, 2025
aa86004
Add full/high speed compile flag for Microchip SAME70 examples
dauc Feb 14, 2025
18d566b
improve hub: retry if hub interrupt endpoint failed
hathach Feb 17, 2025
792a446
usbh always retry control transfer (max 3) in case of XFER_RESULT_FAI…
hathach Feb 17, 2025
48a43a6
move status_change to epbuf
hathach Feb 19, 2025
27a4895
complete separate hub epbuf from itf
hathach Feb 19, 2025
70ddb7a
more hub improve, handle more failed transfer with polling interrupt …
hathach Feb 19, 2025
6572c1d
add fruitjam bsp
hathach Feb 20, 2025
cafc788
change pio-usb to wip fork for testing
hathach Feb 20, 2025
61aab7a
pio-usb now only need sysclk to be multiple of 12Mhz
hathach Feb 20, 2025
1cfc88d
Merge pull request #2994 from hathach/enhance-hub
hathach Feb 21, 2025
6ebd362
Merge branch 'master' into fork/atoktoto/midihost
hathach Feb 21, 2025
b12c8a9
remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for appli…
hathach Feb 21, 2025
71e046d
add tuh_midi_descriptor_cb()
hathach Feb 23, 2025
8c70475
change API to take index instead of dev address, this allow to suppor…
hathach Feb 24, 2025
56e84bd
add desc_audio_control to midi descriptor callback
hathach Feb 24, 2025
d132044
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
hathach Feb 24, 2025
720697b
fix(esp): Remove deprecated include
tore-espressif Feb 27, 2025
72b1fc5
Merge pull request #3002 from espressif/fix/remove_deprecated_includes
hathach Feb 27, 2025
c1df796
add missing board.h for BOARD=pico_sdk
hathach Feb 28, 2025
a29e114
Merge pull request #3005 from hathach/fix-rp2-picosdk-board
hathach Feb 28, 2025
93ff3da
fix(hcd_rp2040) assert/panic endpoint already active: when a device r…
hathach Feb 28, 2025
5f447b7
- add tuh_descriptor_get_string_langid() API
hathach Mar 3, 2025
51cfae6
Merge pull request #3007 from hathach/fix-8bitdo-enum
hathach Mar 4, 2025
7dbad0a
add adafruit metro rp2350
hathach Mar 4, 2025
6bba410
Merge pull request #3008 from hathach/add-metro-rp2350
hathach Mar 5, 2025
8c0c211
Merge branch 'master' into fork/atoktoto/midihost
hathach Mar 5, 2025
3ea71b6
Merge branch 'master' into fork/pschatzmann/rp2040-iso
hathach Mar 5, 2025
102c199
rp2040: abort transfer if active in iso_activate()
hathach Mar 5, 2025
39e6375
midi host: skip rx data with all zeroes
hathach Mar 6, 2025
ee234a8
hack: force/overwrite endpoint mps to 64 for device that incorrectly …
hathach Mar 6, 2025
65e44e0
fix(dwc2) host driver conflict with max3421e
hathach Mar 6, 2025
fd3290c
Merge pull request #3011 from hathach/fix-dwc2-host-conflict-max3421e
hathach Mar 7, 2025
334ac80
Merge pull request #2937 from pschatzmann/rp2040-iso
hathach Mar 7, 2025
5342f12
fix: Turn various .rst files from symbolic links to proper files
Dazza0 Mar 7, 2025
8f288e9
refactor: Fix inline literal and code blocks in .rst documents
Dazza0 Mar 7, 2025
29ffd57
Merge pull request #2990 from dauc/master
HiFiPhile Mar 8, 2025
02a630b
Merge pull request #1627 from atoktoto/midihost
hathach Mar 9, 2025
683b1e9
fix(rp2040) set RTOS as cmake cache to fix pico-example build
hathach Mar 10, 2025
dc45903
Merge pull request #3019 from hathach/fix-pico-examples-build
hathach Mar 10, 2025
cf94b3f
fix desc_end in vendord_open()
Cynventria Mar 10, 2025
f01c4be
Merge pull request #3020 from Cynventria/fix-desc_end-calculation-in-…
HiFiPhile Mar 11, 2025
b80800f
Only clear stream_read & stream_write if they are defined
rppicomidi Mar 13, 2025
5333d04
Merge pull request #3029 from rppicomidi/fix_3028
hathach Mar 14, 2025
ca75031
Update gitignore.
HiFiPhile Mar 15, 2025
de45e4b
Add ctrl buffer alignment.
HiFiPhile Mar 15, 2025
585bcbf
Fix 2 IAR warnings.
HiFiPhile Mar 15, 2025
e9a1be7
Merge pull request #3034 from hathach/ctrl_fix
hathach Mar 16, 2025
e0df20f
change pio-usb to upstream
hathach Mar 17, 2025
40ddf06
Merge pull request #3038 from hathach/update-pio-usb
hathach Mar 17, 2025
31b3a2f
Fix 3031: implement tuh_midi_itf_get_info()
rppicomidi Mar 15, 2025
5ecea4e
fix tuh_midi_itf_get_info() desc->iInterface value
rppicomidi Mar 18, 2025
62f00bd
Fix compiler conversion error warning
rppicomidi Mar 18, 2025
05e4f8b
Move iInterface per review comment
rppicomidi Mar 19, 2025
c2924c5
Merge pull request #3032 from rppicomidi/fix_3031
hathach Mar 20, 2025
4b46493
Fix #3033: Increase array bounds and test for overflow
rppicomidi Mar 20, 2025
e547538
enable hil dual for metro m4 with max3421
hathach Mar 20, 2025
b0def52
Move misplaced statement
rppicomidi Mar 21, 2025
3324a32
Fix #3033: address review comment
rppicomidi Mar 21, 2025
cf76af1
Merge pull request #3042 from rppicomidi/fix_3033
hathach Mar 21, 2025
9f541a3
host: add tuh_enum_descriptor_device_cb() and tuh_enum_descriptor_con…
hathach Mar 24, 2025
db53786
device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t
hathach Mar 24, 2025
875e645
update hil test to include dual and host for pico/pico2
hathach Mar 24, 2025
1fd5c12
HIL: add flag CFG_TUH_RPI_PIO_USB to pico/pico2
hathach Mar 25, 2025
b99b811
more hil improvement
hathach Mar 25, 2025
65e01ff
add tuh_edpt_close() API, it will abort any pending transfer
hathach Mar 25, 2025
99673cd
fix wanings
hathach Mar 25, 2025
73e810a
imxrt: disable BOARD_ConfigMPU() since it cause issue with imxrt1060/…
hathach Mar 26, 2025
69dca95
added mimxrt1064_evk to hil test pool
hathach Mar 26, 2025
1615120
added mimxrt1064_evk to hil test pool
hathach Mar 26, 2025
901ce2a
hcd/ehci: hcd_edpt_open() return false if ep is already opened. imple…
hathach Mar 26, 2025
e511d00
added hcd_edpt_close() stub for other ports
hathach Mar 26, 2025
5531de4
add clion debugserver
hathach Mar 26, 2025
8c1802e
Merge pull request #3043 from hathach/hcd-close-ep
hathach Mar 27, 2025
4787cd5
fix(hcd) hcd_edpt_open() return true if endpoint is already opened.
hathach Apr 3, 2025
60e6d53
Merge pull request #3061 from hathach/update-endpoint-open
hathach Apr 3, 2025
255ccf2
dwc2/host: clear SOF flag in handle_sof_irq()
maximevince Apr 4, 2025
42213ef
Merge pull request #3063 from maximevince/dwc2-host-fix-sof-flag
HiFiPhile Apr 6, 2025
b4252c4
Merge pull request #3015 from Dazza0/docs/fix_formatting
HiFiPhile Apr 6, 2025
1f2f92d
Allow different port and mode for LED on ch32v boards
deshipu Mar 7, 2025
865e348
Merge pull request #3014 from deshipu/master
HiFiPhile Apr 6, 2025
a163c17
Merge branch 'master' into sync/upstream
roma-jam Apr 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
HIL: add flag CFG_TUH_RPI_PIO_USB to pico/pico2
  • Loading branch information
hathach committed Mar 25, 2025
commit 1fd5c123162519a21a09c0f8030e9fbbad63cd3b
5 changes: 2 additions & 3 deletions test/hil/hil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,6 @@ def test_dual_host_info_to_device_cdc(board):
assert False, 'No data from device'
lines = data.decode('utf-8').splitlines()

if verbose:
print('\n'.join(lines))

enum_dev_sn = []
for l in lines:
vid_pid_sn = re.search(r'ID ([0-9a-fA-F]+):([0-9a-fA-F]+) SN (\w+)', l)
Expand All @@ -323,6 +320,7 @@ def test_dual_host_info_to_device_cdc(board):

if set(declared_devs) != set(enum_dev_sn):
failed_msg = f'Expected {declared_devs}, Enumerated {enum_dev_sn}'
print('\n'.join(lines))
assert False, failed_msg
return 0

Expand Down Expand Up @@ -356,6 +354,7 @@ def test_host_device_info(board):

if set(declared_devs) != set(enum_dev_sn):
failed_msg = f'Expected {declared_devs}, Enumerated {enum_dev_sn}'
print('\n'.join(lines))
assert False, failed_msg

return 0
Expand Down
6 changes: 6 additions & 0 deletions test/hil/tinyusb.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
{
"name": "raspberry_pi_pico",
"uid": "E6614C311B764A37",
"build" : {
"flags_on": ["CFG_TUH_RPI_PIO_USB"]
},
"tests": {
"device": true, "host": true, "dual": true,
"dev_attached": [{"vid_pid": "1a86_55d4", "serial": "52D2002470"}]
Expand All @@ -111,6 +114,9 @@
{
"name": "raspberry_pi_pico2",
"uid": "560AE75E1C7152C9",
"build" : {
"flags_on": ["CFG_TUH_RPI_PIO_USB"]
},
"tests": {
"device": true, "host": true, "dual": true,
"dev_attached": [{"vid_pid": "1a86_55d4", "serial": "533D004242"}]
Expand Down