cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find the Definition inside stm32-mw-usbpd-core

Brenden_PLUS
Associate III

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?

3 REPLIES 3
FBL
ST Employee

Hi @Brenden_PLUS 

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.


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.  

FBL
ST Employee

Hi @Brenden_PLUS 

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.