Skip to main content
Senior
December 10, 2025
Solved

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

  • December 10, 2025
  • 2 replies
  • 300 views

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?

Best answer by FBL

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.

2 replies

Technical Moderator
December 10, 2025

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.Best regards,FBL
Senior
December 10, 2025

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.  

FBLBest answer
Technical Moderator
December 10, 2025

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.Best regards,FBL