Skip to content

Rp2040 - ISO API to make Audio work#2843

Closed
pschatzmann wants to merge 76 commits into
hathach:testingfrom
pschatzmann:rp2040
Closed

Rp2040 - ISO API to make Audio work#2843
pschatzmann wants to merge 76 commits into
hathach:testingfrom
pschatzmann:rp2040

Conversation

@pschatzmann
Copy link
Copy Markdown
Contributor

@pschatzmann pschatzmann commented Oct 15, 2024

Following the discussion that the RP2040 is missing the new ISO API, here is my take on it.
I added the 2 following methods

  • bool dcd_edpt_iso_alloc(uint8_t rhport, uint8_t ep_addr, uint16_t largest_packet_size)
  • bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc)

I was keeping the existing logic and I just needed to split up some functions to fit the new logic.

This is addressing this issue.
See #1802 (comment)

I am not sure why this pull request is generating so many changes:
I only changed the following files

  • tusb_mcu.h (to activate the ISO API)
  • dcd_rp2040.c (see above)
  • video_device.c (to correct a data cast error because ep_addr was defined as uint16_t instead of uint8_t)

YixingShen and others added 30 commits July 18, 2024 00:46
Allow vendor class to be used without FIFO.
[circleci] fix build with rx by get-deps before install toolchain
add pico2 to hil ci
add pico2 rp2350 (arm) board
Add STM32 B_5585I-IOT2A board
…d explanation for EPInfo address and GDFIFO.

some function rename
update h743 linker to use SRAM1 since USB DMA cannot access DTCM ram
update xmc4500 to use uuid for testing
* migrate hil to new x64 VM instead of rpi
* re-enable hil for s3
hathach and others added 28 commits October 4, 2024 16:33
make all python files executable and standardize interpreter
fixed video_device.c _find_desc_format
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
…yusb_init

add new tusb_int_handler(rhport, in_isr) and update tusb_init(rhport, role)
change tusb_init() to use init struct
@pschatzmann
Copy link
Copy Markdown
Contributor Author

I will resubmit this based on the dev branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants