pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

Switch from tinyusb to tinyusb-src

Open sqrtroot opened this issue 3 years ago • 2 comments

Since the tiny usb repo also includes lots of sdks for other modules for their examples. If you do a git submodule update --init --recursive you'll get tons of sdk's you don't need. The maker of tinyusb has a seperate repo: tinyusb-src with only the src code of the project.

We should consider switching the submodule to that repository with the correct commit: https://github.com/hathach/tinyusb_src/tree/1f1e9b3412d3f0abfba90376c8166b0c4e138115

sqrtroot avatar Oct 03 '22 14:10 sqrtroot

Since the tiny usb repo also includes lots of sdks for other modules for their examples. If you do a git submodule update --init --recursive you'll get tons of sdk's you don't need.

Yup, and that's why we don't suggest doing a recursive clone in our getting started documentation.

lurch avatar Oct 03 '22 16:10 lurch

agreed; this makes sense

kilograham avatar Oct 03 '22 17:10 kilograham

@liamfraser since you are updating to the correct 0.14.0 commit anyway

kilograham avatar Oct 16 '22 22:10 kilograham

Since the tiny usb repo also includes lots of sdks for other modules for their examples. If you do a git submodule update --init --recursive you'll get tons of sdk's you don't need.

Yup, and that's why we don't suggest doing a recursive clone in our getting started documentation.

The TinyUSB version in the SDK seems old - it seems to be missing Pico-PIO-USB, which is odd for a Pico SDK. I can't work out how to get that without deleting TinyUSB, cloning from github. then doing that fun recursive submodule thing. I don't know git.

Any way to keep the TInyUSB branch up to date in this repo - or via git?

paulhamsh avatar Oct 25 '22 14:10 paulhamsh

Do this as a separate submodule

liamfraser avatar Jan 31 '23 16:01 liamfraser

tinyusb-src does not pull in pio usb, so we would have to pull that in somehow

liamfraser avatar Feb 01 '23 09:02 liamfraser

deferred for now

kilograham avatar Feb 06 '23 22:02 kilograham

yes, we will need to update TinyUSB to allow passing in the location of Pico-pio-usb

kilograham avatar Feb 08 '23 15:02 kilograham

@kilograham, @liamfraser - TinyUSB version 1.6.0 was just released. Would it be possible to update and also fold in the concept in this issue at the same time?

shreeve avatar Nov 28 '23 06:11 shreeve

This issue is outdated now, as tinyusb has removed submodules from the repo in favour of a custom dependency management tool

liamfraser avatar Jul 17 '24 12:07 liamfraser