2025-12-10 5:08 AM
In your middle-ware for the usbpd i can't find any of the definition for the functions in usbpd_core.h.
https://github.com/STMicroelectronics/stm32-mw-usbpd-core
Example
* USBPD_PE_SVDM_RequestMode
* USBPD_PE_SVDM_RequestModeEnter
* USBPD_PE_SVDM_RequestModeExit
Can't be found anywhere in the repo. It looks like you compiled them all down to assembly files. Is there a reason for this or am i missing something?
2025-12-10 7:10 AM
You can find the related documentation required in precompiled html user manual here.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-10 7:42 AM
That's fine i was looking for the source to usbpd_core.h.
Trying to figure out how the system works and there doesn't seem to be a usbpd_core.c or any place were the functions that live in usbpd_core.h are actually defined.
2025-12-10 7:58 AM
Not sure why do you need the source for the library. This is integrated in lib .a and the source files cannot be shared. For that reason the user manual attached explain the main reason behind the functions in source files.
I hope it's clear.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.