Skip to content
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

Add support for Lilygo TTGO T8 ESP32-S2 #3943

Closed
wants to merge 1 commit into from

Conversation

netroy
Copy link

@netroy netroy commented Jan 6, 2021

@@ -0,0 +1,18 @@
USB_VID = 0x239A
USB_PID = 0x80AC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please ask lilygo for a VID/PID instead of using unexpected makers'

Copy link
Author

@netroy netroy Jan 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x239A seems to be Adafruits's vendor ID.
I used it because many other boards are already using the same vendor ID, despite not being an Adafruit product.
Not sure how they picked their PIDs, as none of them seem registered.
Should I change just the PID to be something unique in the context of this VID? like 0x80AD

I can try asking the folks at LilyGo.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use my FeatherS2 PID, thanks! Making up your own is also no ok. They are Adafruit's PIDs and you don't know who has been assigned which PID from Adafruit.
LilyGO has already been asked to provide VID/PIDs for their boards for CP. If they chose not to, that is up to them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used it because many other boards are already using the same vendor ID, despite not being an Adafruit product.
Not sure how they picked their PIDs, as none of them seem registered.
Should I change just the PID to be something unique in the context of this VID? like 0x80AD

We've allocated Adafruit PIDs for non-Adafruit devices when we're the ones adding support or at the request of a maker in our community.

We not doing this as much now because of the popularity of the S2. Companies should acquire their own VID. Open source hardware makers and open source software folks can get a PID from https://pid.codes (which I help administer.)

So, you should bug LilyGo but you can also request a pid.codes PID because you are unaffiliated with LilyGo.

@ladyada
Copy link
Member

ladyada commented Jan 6, 2021

@LilyGO

@ladyada
Copy link
Member

ladyada commented Jan 7, 2021

@netroy if you have purchased from lilygo, please email them, they have tech support teams, they will reply to customer emails.

@netroy
Copy link
Author

netroy commented Jan 13, 2021

I heard back from them, and this is all they said:

Hello, sorry we don’t have USB ID and device ID yet

Considering that this board itself isn't open-source, I'd prefer not to ask for a PID from https://pid.codes or adafruit.

I'll close this issue for now. If they ever inform me of a valid PID for this board, I'll rebase this branch, and open a new pull-request.

Cheers

@netroy netroy closed this Jan 13, 2021
@ladyada
Copy link
Member

ladyada commented Jan 13, 2021

ok please keep asking them, they are required to have one

kattni pushed a commit to kattni/circuitpython that referenced this pull request Mar 10, 2022
The new ADC methods are: init(), read_uv() and block().

The new ADCBlock class has methods: init() and connect().

See related discussions in adafruit#3943, adafruit#4213.

Signed-off-by: Damien George <damien@micropython.org>
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.

Lilygo T8 ESP32s2 with 4MB Flash, 8MB RAM
4 participants