cherry-embedded / CherryUSB

CherryUSB is a tiny, beautiful and portable USB host and device stack for embedded system with USB IP
https://cherryusb.readthedocs.io/
Apache License 2.0
1.23k stars 260 forks source link

chipidea_reg is actually hpmicro #254

Closed karlp closed 3 hours ago

karlp commented 3 hours ago

The commit https://github.com/cherry-embedded/CherryUSB/commit/2a563dc41fe5e0f57a2f6cca67fbd0a49b51685d introducing chipidea device controller support adds a file: https://github.com/cherry-embedded/CherryUSB/blob/master/port/chipidea/usb_chipidea_reg.h

That file is not actually chipidea register defines, but a hpmicro file.

sakumisu commented 3 hours ago

Hpmicro use chipidea ip.

karlp commented 3 hours ago

Ok, to clarify, the file "usb_chipidea_reg.h" is for the chipidea HS IP, which is EHCI. The Chipidea FS IP, used on NXP kinetis, MindMotion mm32, Pic32, dsPIC, PIC24, is different, and the one I expected to find under chipidea. I was expecting that the chipidea EHCI code was in the echi tree.